Class Hib3ExternalSubjectDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3ExternalSubjectDAO
- All Implemented Interfaces:
ExternalSubjectDAO
,GrouperDAO
Basic Hibernate
Group
DAO interface.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(ExternalSubject externalSubject) delete an external subject and all its attributesfindAll()
find all external subjectsfind all external subjects which have a disabled date which are not disabledfindByIdentifier
(String identifier, boolean exceptionIfNotFound, QueryOptions queryOptions) find an external subject by identifierstatic void
reset
(HibernateSession hibernateSession) void
saveOrUpdate
(ExternalSubject externalSubject) insert or update an external subject to the DBMethods inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
evict, evictEntity, evictQueries, getConfiguration, getConfiguration, getSessionFactory, getSessionFactory, hibernateInitted, initHibernateIfNotInitted, initHibernateIfNotInitted, resourceNameFromClassName, session, session
-
Constructor Details
-
Hib3ExternalSubjectDAO
public Hib3ExternalSubjectDAO()
-
-
Method Details
-
findAllDisabledMismatch
Description copied from interface:ExternalSubjectDAO
find all external subjects which have a disabled date which are not disabled- Specified by:
findAllDisabledMismatch
in interfaceExternalSubjectDAO
- Returns:
- the set of subjects
- See Also:
-
reset
- Parameters:
hibernateSession
-
-
delete
Description copied from interface:ExternalSubjectDAO
delete an external subject and all its attributes- Specified by:
delete
in interfaceExternalSubjectDAO
- See Also:
-
saveOrUpdate
Description copied from interface:ExternalSubjectDAO
insert or update an external subject to the DB- Specified by:
saveOrUpdate
in interfaceExternalSubjectDAO
- See Also:
-
findByIdentifier
public ExternalSubject findByIdentifier(String identifier, boolean exceptionIfNotFound, QueryOptions queryOptions) Description copied from interface:ExternalSubjectDAO
find an external subject by identifier- Specified by:
findByIdentifier
in interfaceExternalSubjectDAO
- Returns:
- the external subject or null or exception
- See Also:
-
findAll
Description copied from interface:ExternalSubjectDAO
find all external subjects- Specified by:
findAll
in interfaceExternalSubjectDAO
- Returns:
- the set of subjects
- See Also:
-