Class ExternalSubjectAttributeDbStorage
java.lang.Object
edu.internet2.middleware.grouper.externalSubjects.ExternalSubjectAttributeDbStorage
- All Implemented Interfaces:
ExternalSubjectAttributeStorable
public class ExternalSubjectAttributeDbStorage
extends Object
implements ExternalSubjectAttributeStorable
Grouper built in storage for external subject attributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(ExternalSubjectAttribute externalSubjectAttribute) delete an external subject and all its attributesfindBySubject
(String subjectUuid, QueryOptions queryOptions) find attributes by subject, order by system namefindByUuid
(String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions) find an external subject attribute by identifiervoid
saveOrUpdate
(ExternalSubjectAttribute externalSubjectAttribute) insert or update an external subject attribute to the DB
-
Constructor Details
-
ExternalSubjectAttributeDbStorage
public ExternalSubjectAttributeDbStorage()
-
-
Method Details
-
delete
Description copied from interface:ExternalSubjectAttributeStorable
delete an external subject and all its attributes- Specified by:
delete
in interfaceExternalSubjectAttributeStorable
- See Also:
-
findBySubject
Description copied from interface:ExternalSubjectAttributeStorable
find attributes by subject, order by system name- Specified by:
findBySubject
in interfaceExternalSubjectAttributeStorable
- Returns:
- the external subject or null or exception
- See Also:
-
findByUuid
public ExternalSubjectAttribute findByUuid(String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions) Description copied from interface:ExternalSubjectAttributeStorable
find an external subject attribute by identifier- Specified by:
findByUuid
in interfaceExternalSubjectAttributeStorable
- Returns:
- the external subject or null or exception
- See Also:
-
saveOrUpdate
Description copied from interface:ExternalSubjectAttributeStorable
insert or update an external subject attribute to the DB
-