Interface ExternalSubjectAttributeStorable
- All Known Implementing Classes:
ExternalSubjectAttributeDbStorage
public interface ExternalSubjectAttributeStorable
interface to implement to keep external subjects somewhere besides in the Grouper DB
-
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
-
Method Details
-
delete
delete an external subject and all its attributes- Parameters:
externalSubjectAttribute
-
-
saveOrUpdate
insert or update an external subject attribute to the DB- Parameters:
externalSubjectAttribute
-
-
findByUuid
ExternalSubjectAttribute findByUuid(String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions) find an external subject attribute by identifier- Parameters:
uuid
-exceptionIfNotFound
-queryOptions
-- Returns:
- the external subject or null or exception
-
findBySubject
find attributes by subject, order by system name- Parameters:
subjectUuid
-queryOptions
-- Returns:
- the external subject or null or exception
-