edu.internet2.middleware.grouper.internal.dao.hib3
Class Hib3ExternalSubjectAttributeDAO

java.lang.Object
  extended by edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
      extended by edu.internet2.middleware.grouper.internal.dao.hib3.Hib3ExternalSubjectAttributeDAO
All Implemented Interfaces:
ExternalSubjectAttributeDAO, GrouperDAO

public class Hib3ExternalSubjectAttributeDAO
extends Hib3DAO
implements ExternalSubjectAttributeDAO

Basic Hibernate Group DAO interface.


Field Summary
 
Fields inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
hibernateInitted
 
Constructor Summary
Hib3ExternalSubjectAttributeDAO()
           
 
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
static void reset(HibernateSession hibernateSession)
           
 void saveOrUpdate(ExternalSubjectAttribute externalSubjectAttribute)
          insert or update an external subject attribute to the DB
 
Methods inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
evict, evictEntity, evictQueries, getConfiguration, getSessionFactory, initHibernateIfNotInitted, resourceNameFromClassName, session
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hib3ExternalSubjectAttributeDAO

public Hib3ExternalSubjectAttributeDAO()
Method Detail

delete

public void delete(ExternalSubjectAttribute externalSubjectAttribute)
Description copied from interface: ExternalSubjectAttributeDAO
delete an external subject and all its attributes

Specified by:
delete in interface ExternalSubjectAttributeDAO
See Also:
ExternalSubjectAttributeDAO.delete(ExternalSubjectAttribute)

reset

public static void reset(HibernateSession hibernateSession)
Parameters:
hibernateSession -

saveOrUpdate

public void saveOrUpdate(ExternalSubjectAttribute externalSubjectAttribute)
Description copied from interface: ExternalSubjectAttributeDAO
insert or update an external subject attribute to the DB

Specified by:
saveOrUpdate in interface ExternalSubjectAttributeDAO
See Also:
save or update this to the DB.

findByUuid

public ExternalSubjectAttribute findByUuid(String uuid,
                                           boolean exceptionIfNotFound,
                                           QueryOptions queryOptions)
Description copied from interface: ExternalSubjectAttributeDAO
find an external subject attribute by identifier

Specified by:
findByUuid in interface ExternalSubjectAttributeDAO
Returns:
the external subject or null or exception
See Also:
ExternalSubjectAttributeDAO.findByUuid(String, boolean, QueryOptions)

findBySubject

public Set<ExternalSubjectAttribute> findBySubject(String subjectUuid,
                                                   QueryOptions queryOptions)
Description copied from interface: ExternalSubjectAttributeDAO
find attributes by subject, order by system name

Specified by:
findBySubject in interface ExternalSubjectAttributeDAO
Returns:
the external subject or null or exception
See Also:
ExternalSubjectAttributeDAO.findBySubject(String, QueryOptions)