public class CollectionDAOImpl extends AbstractHibernateDSODAO<Collection> implements CollectionDAO
| Modifier | Constructor and Description |
|---|---|
protected |
CollectionDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
countRows(Context context) |
List<Collection> |
findAll(Context context,
MetadataField order)
Get all collections in the system.
|
List<Collection> |
findAll(Context context,
MetadataField order,
Integer limit,
Integer offset) |
List<Collection> |
findAuthorized(Context context,
EPerson ePerson,
List<Integer> actions) |
List<Collection> |
findAuthorizedByGroup(Context context,
EPerson ePerson,
List<Integer> actions) |
Collection |
findByGroup(Context context,
Group group) |
Collection |
findByTemplateItem(Context context,
Item item) |
List<Collection> |
findCollectionsWithSubscribers(Context context) |
List<Map.Entry<Collection,Long>> |
getCollectionsWithBitstreamSizesTotal(Context context) |
addMetadataLeftJoin, addMetadataSortQuery, addMetadataValueWhereQuery, findByLegacyIdcount, count, countLong, create, createCriteria, createCriteria, createQuery, delete, findAll, findByID, findByID, findMany, findMany, findUnique, getHibernateSession, iterate, list, list, save, singleResult, uniqueResult, uniqueResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindByLegacyIdcreate, delete, findAll, findByID, findByID, findMany, findUnique, savepublic List<Collection> findAll(Context context, MetadataField order) throws SQLException
findAll in interface CollectionDAOcontext - DSpace context objectSQLExceptionpublic List<Collection> findAll(Context context, MetadataField order, Integer limit, Integer offset) throws SQLException
findAll in interface CollectionDAOSQLExceptionpublic Collection findByTemplateItem(Context context, Item item) throws SQLException
findByTemplateItem in interface CollectionDAOSQLExceptionpublic Collection findByGroup(Context context, Group group) throws SQLException
findByGroup in interface CollectionDAOSQLExceptionpublic List<Collection> findAuthorized(Context context, EPerson ePerson, List<Integer> actions) throws SQLException
findAuthorized in interface CollectionDAOSQLExceptionpublic List<Collection> findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions) throws SQLException
findAuthorizedByGroup in interface CollectionDAOSQLExceptionpublic List<Collection> findCollectionsWithSubscribers(Context context) throws SQLException
findCollectionsWithSubscribers in interface CollectionDAOSQLExceptionpublic int countRows(Context context) throws SQLException
countRows in interface CollectionDAOSQLExceptionpublic List<Map.Entry<Collection,Long>> getCollectionsWithBitstreamSizesTotal(Context context) throws SQLException
getCollectionsWithBitstreamSizesTotal in interface CollectionDAOSQLExceptionCopyright © 2016 DuraSpace. All Rights Reserved.