public class CommunityDAOImpl extends AbstractHibernateDSODAO<Community> implements CommunityDAO
| Modifier | Constructor and Description |
|---|---|
protected |
CommunityDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
countRows(Context context) |
List<Community> |
findAll(Context context,
MetadataField sortField)
Get a list of all communities in the system.
|
List<Community> |
findAll(Context context,
MetadataField sortField,
Integer limit,
Integer offset) |
List<Community> |
findAllNoParent(Context context,
MetadataField sortField) |
List<Community> |
findAuthorized(Context context,
EPerson ePerson,
List<Integer> actions) |
List<Community> |
findAuthorizedByGroup(Context context,
EPerson ePerson,
List<Integer> actions) |
Community |
findByAdminGroup(Context context,
Group group) |
addMetadataLeftJoin, addMetadataSortQuery, addMetadataValueWhereQuery, findByLegacyIdcount, count, countLong, create, createCriteria, createCriteria, createQuery, delete, findAll, findByID, findByID, findMany, findMany, findUnique, getHibernateSession, iterate, list, list, save, singleResult, singleResult, uniqueResult, uniqueResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindByLegacyIdcreate, delete, findAll, findByID, findByID, findMany, findUnique, savepublic List<Community> findAll(Context context, MetadataField sortField) throws SQLException
findAll in interface CommunityDAOcontext - DSpace context objectsortField - sort fieldSQLException - if database errorpublic List<Community> findAll(Context context, MetadataField sortField, Integer limit, Integer offset) throws SQLException
findAll in interface CommunityDAOSQLExceptionpublic Community findByAdminGroup(Context context, Group group) throws SQLException
findByAdminGroup in interface CommunityDAOSQLExceptionpublic List<Community> findAllNoParent(Context context, MetadataField sortField) throws SQLException
findAllNoParent in interface CommunityDAOSQLExceptionpublic List<Community> findAuthorized(Context context, EPerson ePerson, List<Integer> actions) throws SQLException
findAuthorized in interface CommunityDAOSQLExceptionpublic List<Community> findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions) throws SQLException
findAuthorizedByGroup in interface CommunityDAOSQLExceptionpublic int countRows(Context context) throws SQLException
countRows in interface CommunityDAOSQLExceptionCopyright © 2016 DuraSpace. All rights reserved.