Package org.dspace.content.dao
Interface CommunityDAO
- All Superinterfaces:
DSpaceObjectDAO<Community>,DSpaceObjectLegacySupportDAO<Community>,GenericDAO<Community>
- All Known Implementing Classes:
CommunityDAOImpl
Database Access Object interface class for the Community object.
The implementation of this class is responsible for all database calls for the Community 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
Modifier and TypeMethodDescriptionintfindAll(Context context, MetadataField sortField) findAll(Context context, MetadataField sortField, Integer limit, Integer offset) findAllNoParent(Context context, MetadataField sortField) findAuthorized(Context context, EPerson ePerson, List<Integer> actions) findAuthorizedByGroup(Context context, EPerson currentUser, List<Integer> actions) findByAdminGroup(Context context, Group group) Methods inherited from interface org.dspace.content.dao.DSpaceObjectLegacySupportDAO
findByLegacyId
-
Method Details
-
findAll
- Throws:
SQLException
-
findAll
List<Community> findAll(Context context, MetadataField sortField, Integer limit, Integer offset) throws SQLException - Throws:
SQLException
-
findByAdminGroup
- Throws:
SQLException
-
findAllNoParent
- Throws:
SQLException
-
findAuthorized
List<Community> findAuthorized(Context context, EPerson ePerson, List<Integer> actions) throws SQLException - Throws:
SQLException
-
findAuthorizedByGroup
List<Community> findAuthorizedByGroup(Context context, EPerson currentUser, List<Integer> actions) throws SQLException - Throws:
SQLException
-
countRows
- Throws:
SQLException
-