Package org.dspace.eperson.dao.impl
Class Group2GroupCacheDAOImpl
java.lang.Object
org.dspace.core.AbstractHibernateDAO<Group2GroupCache>
org.dspace.eperson.dao.impl.Group2GroupCacheDAOImpl
- All Implemented Interfaces:
GenericDAO<Group2GroupCache>,Group2GroupCacheDAO
public class Group2GroupCacheDAOImpl
extends AbstractHibernateDAO<Group2GroupCache>
implements Group2GroupCacheDAO
Hibernate implementation of the Database Access Object interface class for the Group2GroupCache object.
This class is responsible for all database calls for the Group2GroupCache object and is autowired by Spring.
This class should never be accessed directly.
- Author:
- kevinvandevelde at atmire.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfindByChildren(Context context, Iterable<Group> groups) findByParent(Context context, Group group) findByParentAndChild(Context context, Group parent, Group child) Methods inherited from class org.dspace.core.AbstractHibernateDAO
count, count, countLong, create, createQuery, createQuery, delete, executeCriteriaQuery, findAll, findAll, findByID, findByID, findByID, findByX, findMany, findMany, findUnique, getCriteriaBuilder, getCriteriaQuery, getHibernateSession, iterate, list, list, list, list, save, singleResult, singleResult, uniqueResult, uniqueResult
-
Constructor Details
-
Group2GroupCacheDAOImpl
protected Group2GroupCacheDAOImpl()
-
-
Method Details
-
findByParent
- Specified by:
findByParentin interfaceGroup2GroupCacheDAO- Throws:
SQLException
-
findByChildren
public List<Group2GroupCache> findByChildren(Context context, Iterable<Group> groups) throws SQLException - Specified by:
findByChildrenin interfaceGroup2GroupCacheDAO- Throws:
SQLException
-
findByParentAndChild
public Group2GroupCache findByParentAndChild(Context context, Group parent, Group child) throws SQLException - Specified by:
findByParentAndChildin interfaceGroup2GroupCacheDAO- Throws:
SQLException
-
find
- Specified by:
findin interfaceGroup2GroupCacheDAO- Throws:
SQLException
-
deleteAll
- Specified by:
deleteAllin interfaceGroup2GroupCacheDAO- Throws:
SQLException
-