public interface WorkflowItemService<T extends WorkflowItem> extends InProgressSubmissionService<T>
| Modifier and Type | Method and Description |
|---|---|
T |
create(Context context,
Item item,
Collection collection) |
void |
delete(Context context,
T workflowItem) |
void |
deleteByCollection(Context context,
Collection collection) |
T |
find(Context context,
int id)
Get a workflow item from the database.
|
List<T> |
findAll(Context context)
return all workflowitems
|
List<T> |
findByCollection(Context context,
Collection collection)
Get all workflow items for a particular collection.
|
T |
findByItem(Context context,
Item item)
Check to see if a particular item is currently under Workflow.
|
List<T> |
findBySubmitter(Context context,
EPerson ep)
Get all workflow items that were original submissions by a particular
e-person.
|
deleteWrapper, updateT create(Context context, Item item, Collection collection) throws SQLException, AuthorizeException
SQLExceptionAuthorizeExceptionT find(Context context, int id) throws SQLException
context - DSpace context objectid - ID of the workflow itemSQLExceptionList<T> findAll(Context context) throws SQLException
context - active contextSQLExceptionList<T> findByCollection(Context context, Collection collection) throws SQLException
context - the context objectcollection - the collectionSQLExceptionT findByItem(Context context, Item item) throws SQLException
context - the context objectitem - the itemSQLExceptionList<T> findBySubmitter(Context context, EPerson ep) throws SQLException
context - the context objectep - the epersonSQLExceptionvoid deleteByCollection(Context context, Collection collection) throws SQLException, IOException, AuthorizeException
void delete(Context context, T workflowItem) throws SQLException, AuthorizeException, IOException
Copyright © 2017 DuraSpace. All rights reserved.