edu.internet2.middleware.grouper.internal.dao
Interface ExternalSubjectAttributeDAO

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3ExternalSubjectAttributeDAO

public interface ExternalSubjectAttributeDAO
extends GrouperDAO

Basic ExternalSubjectAttribute DAO interface.


Method Summary
 void delete(ExternalSubjectAttribute externalSubjectAttribute)
          delete an external subject and all its attributes
 Set<ExternalSubjectAttribute> findBySubject(String subjectUuid, QueryOptions queryOptions)
          find attributes by subject, order by system name
 ExternalSubjectAttribute findByUuid(String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions)
          find an external subject attribute by identifier
 void saveOrUpdate(ExternalSubjectAttribute externalSubjectAttribute)
          insert or update an external subject attribute to the DB
 

Method Detail

delete

void delete(ExternalSubjectAttribute externalSubjectAttribute)
delete an external subject and all its attributes

Parameters:
externalSubjectAttribute -

saveOrUpdate

void saveOrUpdate(ExternalSubjectAttribute externalSubjectAttribute)
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

Set<ExternalSubjectAttribute> findBySubject(String subjectUuid,
                                            QueryOptions queryOptions)
find attributes by subject, order by system name

Parameters:
subjectUuid -
queryOptions -
Returns:
the external subject or null or exception