public class XmlWorkflowItemDAOImpl extends AbstractHibernateDAO<XmlWorkflowItem> implements XmlWorkflowItemDAO
| Modifier | Constructor and Description |
|---|---|
protected |
XmlWorkflowItemDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
countAll(Context context) |
int |
countAllInCollection(Context context,
Collection collection) |
int |
countBySubmitter(Context context,
EPerson ep)
Count the number of workflow items from a specific submitter
|
List<XmlWorkflowItem> |
findAllInCollection(Context context,
Integer offset,
Integer limit,
Collection collection)
Find all the workflow items in a specific collection using the pagination parameters (offset, limit)
|
List<XmlWorkflowItem> |
findByCollection(Context context,
Collection collection) |
XmlWorkflowItem |
findByItem(Context context,
Item item) |
List<XmlWorkflowItem> |
findBySubmitter(Context context,
EPerson ep) |
List<XmlWorkflowItem> |
findBySubmitter(Context context,
EPerson ep,
Integer offset,
Integer limit)
Return all the workflow items from a specific submitter respecting the pagination parameters
|
count, count, countLong, create, createQuery, delete, executeCriteriaQuery, findAll, findByID, findByID, findByX, findMany, findMany, findUnique, getCriteriaBuilder, getCriteriaQuery, getHibernateSession, iterate, list, list, list, save, singleResult, singleResult, uniqueResult, uniqueResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, delete, findAll, findByID, findByID, findMany, findUnique, savepublic List<XmlWorkflowItem> findAllInCollection(Context context, Integer offset, Integer limit, Collection collection) throws SQLException
XmlWorkflowItemDAOfindAllInCollection in interface XmlWorkflowItemDAOcontext - dspace contextoffset - the first record to returnlimit - the max number of records to returncollection - the collection where the workflowitem has been submittedSQLExceptionpublic int countAll(Context context) throws SQLException
countAll in interface XmlWorkflowItemDAOSQLExceptionpublic int countAllInCollection(Context context, Collection collection) throws SQLException
countAllInCollection in interface XmlWorkflowItemDAOSQLExceptionpublic List<XmlWorkflowItem> findBySubmitter(Context context, EPerson ep) throws SQLException
findBySubmitter in interface XmlWorkflowItemDAOSQLExceptionpublic List<XmlWorkflowItem> findBySubmitter(Context context, EPerson ep, Integer offset, Integer limit) throws SQLException
XmlWorkflowItemDAOfindBySubmitter in interface XmlWorkflowItemDAOcontext - The relevant DSpace Context.ep - the eperson that has submitted the itemoffset - the first record to returnlimit - the max number of records to returnSQLExceptionpublic int countBySubmitter(Context context, EPerson ep) throws SQLException
XmlWorkflowItemDAOcountBySubmitter in interface XmlWorkflowItemDAOcontext - The relevant DSpace Context.ep - the eperson that has submitted the itemSQLExceptionpublic List<XmlWorkflowItem> findByCollection(Context context, Collection collection) throws SQLException
findByCollection in interface XmlWorkflowItemDAOSQLExceptionpublic XmlWorkflowItem findByItem(Context context, Item item) throws SQLException
findByItem in interface XmlWorkflowItemDAOSQLExceptionCopyright © 2019 DuraSpace. All rights reserved.