Interface ExternalSubjectStorable
- All Known Implementing Classes:
ExternalSubjectDbStorage
public interface ExternalSubjectStorable
implement this to change how external subjects are stored
-
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
-
Method Details
-
findAllDisabledMismatch
Set<ExternalSubject> findAllDisabledMismatch()find all external subjects which have a disabled date which are not disabled- Returns:
- the set of subjects
-
findAll
Set<ExternalSubject> findAll()find all external subjects- Returns:
- the set of subjects
-
findByIdentifier
ExternalSubject findByIdentifier(String identifier, boolean exceptionIfNotFound, QueryOptions queryOptions) find an external subject by identifier- Parameters:
identifier
-exceptionIfNotFound
-queryOptions
-- Returns:
- the external subject or null or exception
-
delete
delete an external subject and all its attributes- Parameters:
externalSubject
-
-
saveOrUpdate
insert or update an external subject to the DB- Parameters:
externalSubject
-
-