public class ExternalSubjectDbStorage extends Object implements ExternalSubjectStorable
Constructor and Description |
---|
ExternalSubjectDbStorage() |
Modifier and Type | Method and Description |
---|---|
void |
delete(ExternalSubject externalSubject)
delete an external subject and all its attributes
|
Set<ExternalSubject> |
findAll()
find all external subjects
|
Set<ExternalSubject> |
findAllDisabledMismatch()
find all external subjects which have a disabled date which are not disabled
|
ExternalSubject |
findByIdentifier(String identifier,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find an external subject by identifier
|
void |
saveOrUpdate(ExternalSubject externalSubject)
insert or update an external subject to the DB
|
public void delete(ExternalSubject externalSubject)
ExternalSubjectStorable
delete
in interface ExternalSubjectStorable
ExternalSubjectStorable.delete(edu.internet2.middleware.grouper.externalSubjects.ExternalSubject)
public Set<ExternalSubject> findAll()
ExternalSubjectStorable
findAll
in interface ExternalSubjectStorable
ExternalSubjectStorable.findAll()
public Set<ExternalSubject> findAllDisabledMismatch()
ExternalSubjectStorable
findAllDisabledMismatch
in interface ExternalSubjectStorable
ExternalSubjectStorable.findAllDisabledMismatch()
public ExternalSubject findByIdentifier(String identifier, boolean exceptionIfNotFound, QueryOptions queryOptions)
ExternalSubjectStorable
findByIdentifier
in interface ExternalSubjectStorable
ExternalSubjectStorable.findByIdentifier(java.lang.String, boolean, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public void saveOrUpdate(ExternalSubject externalSubject)
ExternalSubjectStorable
saveOrUpdate
in interface ExternalSubjectStorable
ExternalSubjectStorable.saveOrUpdate(edu.internet2.middleware.grouper.externalSubjects.ExternalSubject)
Copyright © 2016 Internet2. All rights reserved.