Class Hib3AttributeDefScopeDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefScopeDAO
- All Implemented Interfaces:
AttributeDefScopeDAO
,GrouperDAO
Data Access Object for attribute def scope
- Version:
- $Id: Hib3AttributeDefScopeDAO.java,v 1.1 2009-06-29 15:58:24 mchyzer Exp $
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(AttributeDefScope attributeDefScope) delete an attribute def scope objectfindByAttributeDefId
(String attributeDefId, QueryOptions queryOptions) find all the scopes for a defretrieve by idfindByUuidOrKey
(Collection<String> idsToIgnore, String id, String attributeDefId, String attributeDefScopeType, boolean exceptionIfNull, String scopeString) void
saveOrUpdate
(AttributeDefScope attributeDefScope) save or updatevoid
saveUpdateProperties
(AttributeDefScope attributeDefScope) save the update properties which are auto saved when business method is calledMethods inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
evict, evictEntity, evictQueries, getConfiguration, getConfiguration, getSessionFactory, getSessionFactory, hibernateInitted, initHibernateIfNotInitted, initHibernateIfNotInitted, resourceNameFromClassName, session, session
-
Constructor Details
-
Hib3AttributeDefScopeDAO
public Hib3AttributeDefScopeDAO()
-
-
Method Details
-
findById
retrieve by id- Specified by:
findById
in interfaceAttributeDefScopeDAO
- Parameters:
id
-exceptionIfNotFound
-- Returns:
- attribute def scope
-
saveOrUpdate
save or update- Specified by:
saveOrUpdate
in interfaceAttributeDefScopeDAO
- Parameters:
attributeDefScope
-
-
findByUuidOrKey
public AttributeDefScope findByUuidOrKey(Collection<String> idsToIgnore, String id, String attributeDefId, String attributeDefScopeType, boolean exceptionIfNull, String scopeString) throws GrouperDAOException - Specified by:
findByUuidOrKey
in interfaceAttributeDefScopeDAO
scopeString
- is for matching (if id doesnt match)- Returns:
- the attribute def scope or null
- Throws:
GrouperDAOException
- See Also:
-
saveUpdateProperties
Description copied from interface:AttributeDefScopeDAO
save the update properties which are auto saved when business method is called- Specified by:
saveUpdateProperties
in interfaceAttributeDefScopeDAO
- See Also:
-
findByAttributeDefId
public Set<AttributeDefScope> findByAttributeDefId(String attributeDefId, QueryOptions queryOptions) Description copied from interface:AttributeDefScopeDAO
find all the scopes for a def- Specified by:
findByAttributeDefId
in interfaceAttributeDefScopeDAO
- Returns:
- the attribute def scopes
- See Also:
-
delete
Description copied from interface:AttributeDefScopeDAO
delete an attribute def scope object- Specified by:
delete
in interfaceAttributeDefScopeDAO
- See Also:
-