Package org.dspace.eperson.dao
Interface Group2GroupCacheDAO
-
- All Superinterfaces:
GenericDAO<Group2GroupCache>
- All Known Implementing Classes:
Group2GroupCacheDAOImpl
public interface Group2GroupCacheDAO extends GenericDAO<Group2GroupCache>
Database Access Object interface class for the Group2GroupCache object. The implementation of this class is responsible for all database calls for the Group2GroupCache object and is autowired by spring This class should only be accessed from a single service and should never be exposed outside of the API- Author:
- kevinvandevelde at atmire.com
-
-
Method Summary
All Methods Instance Methods Abstract 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 interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByParent
List<Group2GroupCache> findByParent(Context context, Group group) throws SQLException
- Throws:
SQLException
-
findByChildren
List<Group2GroupCache> findByChildren(Context context, Iterable<Group> groups) throws SQLException
- Throws:
SQLException
-
findByParentAndChild
Group2GroupCache findByParentAndChild(Context context, Group parent, Group child) throws SQLException
- Throws:
SQLException
-
find
Group2GroupCache find(Context context, Group parent, Group child) throws SQLException
- Throws:
SQLException
-
deleteAll
void deleteAll(Context context) throws SQLException
- Throws:
SQLException
-
-