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 Modifier Constructor Description protectedGroup2GroupCacheDAOImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteAll(Context context)Group2GroupCachefind(Context context, Group parent, Group child)List<Group2GroupCache>findByChildren(Context context, Iterable<Group> groups)List<Group2GroupCache>findByParent(Context context, Group group)Group2GroupCachefindByParentAndChild(Context context, Group parent, Group child)-
Methods inherited from class org.dspace.core.AbstractHibernateDAO
count, count, countLong, create, createQuery, delete, executeCriteriaQuery, findAll, findAll, findByID, findByID, findByX, findMany, findMany, findUnique, getCriteriaBuilder, getCriteriaQuery, getHibernateSession, iterate, list, list, list, save, singleResult, singleResult, uniqueResult, uniqueResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByParent
public List<Group2GroupCache> findByParent(Context context, Group group) throws SQLException
- 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
public Group2GroupCache find(Context context, Group parent, Group child) throws SQLException
- Specified by:
findin interfaceGroup2GroupCacheDAO- Throws:
SQLException
-
deleteAll
public void deleteAll(Context context) throws SQLException
- Specified by:
deleteAllin interfaceGroup2GroupCacheDAO- Throws:
SQLException
-
-