Class ExternalSubjectDbStorage
java.lang.Object
edu.internet2.middleware.grouper.externalSubjects.ExternalSubjectDbStorage
- All Implemented Interfaces:
ExternalSubjectStorable
-
Constructor Summary
Constructors -
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 identifiervoid
saveOrUpdate
(ExternalSubject externalSubject) insert or update an external subject to the DB
-
Constructor Details
-
ExternalSubjectDbStorage
public ExternalSubjectDbStorage()
-
-
Method Details
-
delete
Description copied from interface:ExternalSubjectStorable
delete an external subject and all its attributes- Specified by:
delete
in interfaceExternalSubjectStorable
- See Also:
-
findAll
Description copied from interface:ExternalSubjectStorable
find all external subjects- Specified by:
findAll
in interfaceExternalSubjectStorable
- Returns:
- the set of subjects
- See Also:
-
findAllDisabledMismatch
Description copied from interface:ExternalSubjectStorable
find all external subjects which have a disabled date which are not disabled- Specified by:
findAllDisabledMismatch
in interfaceExternalSubjectStorable
- Returns:
- the set of subjects
- See Also:
-
findByIdentifier
public ExternalSubject findByIdentifier(String identifier, boolean exceptionIfNotFound, QueryOptions queryOptions) Description copied from interface:ExternalSubjectStorable
find an external subject by identifier- Specified by:
findByIdentifier
in interfaceExternalSubjectStorable
- Returns:
- the external subject or null or exception
- See Also:
-
saveOrUpdate
Description copied from interface:ExternalSubjectStorable
insert or update an external subject to the DB- Specified by:
saveOrUpdate
in interfaceExternalSubjectStorable
- See Also:
-