public interface WorkflowItemService<T extends WorkflowItem> extends InProgressSubmissionService<T,Integer>
| Modifier and Type | Method and Description |
|---|---|
T |
create(Context context,
Item item,
Collection collection) |
void |
delete(Context context,
T workflowItem)
Delete the specified workflow item.
|
void |
deleteByCollection(Context context,
Collection collection)
Delete all workflow items present in the specified 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, move, updatefindIndexableObject, getSupportsIndexableObjectTypeConstantT create(Context context, Item item, Collection collection) throws SQLException, AuthorizeException
SQLExceptionAuthorizeExceptionT find(Context context, int id) throws SQLException
context - The relevant DSpace Context.id - ID of the workflow itemSQLException - An exception that provides information on a database access error or other errors.List<T> findAll(Context context) throws SQLException
context - The relevant DSpace Context.SQLException - An exception that provides information on a database access error or other errors.List<T> findByCollection(Context context, Collection collection) throws SQLException
context - The relevant DSpace Context.collection - the collectionSQLException - An exception that provides information on a database access error or other errors.T findByItem(Context context, Item item) throws SQLException
context - The relevant DSpace Context.item - the itemSQLException - An exception that provides information on a database access error or other errors.List<T> findBySubmitter(Context context, EPerson ep) throws SQLException
context - The relevant DSpace Context.ep - the epersonSQLException - An exception that provides information on a database access error or other errors.void deleteByCollection(Context context, Collection collection) throws SQLException, IOException, AuthorizeException
context - The relevant DSpace Context.collection - the containing collectionIOException - A general class of exceptions produced by failed or interrupted I/O operations.SQLException - An exception that provides information on a database access error or other errors.AuthorizeException - Exception indicating the current user of the context does not have permission
to perform a particular action.void delete(Context context, T workflowItem) throws SQLException, AuthorizeException, IOException
context - The relevant DSpace Context.workflowItem - which workflow item to deleteIOException - A general class of exceptions produced by failed or interrupted I/O operations.SQLException - An exception that provides information on a database access error or other errors.AuthorizeException - Exception indicating the current user of the context does not have permission
to perform a particular action.Copyright © 2019 DuraSpace. All rights reserved.