@Component public class SubmissionService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CollectionService |
collectionService |
protected ConfigurationService |
configurationService |
protected ItemService |
itemService |
protected WorkflowItemService<XmlWorkflowItem> |
workflowItemService |
protected WorkflowService<XmlWorkflowItem> |
workflowService |
protected WorkspaceItemService |
workspaceItemService |
| Constructor and Description |
|---|
SubmissionService() |
| Modifier and Type | Method and Description |
|---|---|
UploadBitstreamRest |
buildUploadBitstream(ConfigurationService configurationService,
Bitstream source) |
XmlWorkflowItem |
createWorkflowItem(Context context,
String requestUriListString)
Create a workflowitem using the information in the reqest
|
WorkspaceItem |
createWorkspaceItem(Context context,
Request request)
Create a workspaceitem using the information in the reqest
|
void |
saveWorkflowItem(Context context,
XmlWorkflowItem source) |
void |
saveWorkspaceItem(Context context,
WorkspaceItem wsi) |
@Autowired protected ConfigurationService configurationService
@Autowired protected CollectionService collectionService
@Autowired protected ItemService itemService
@Autowired protected WorkspaceItemService workspaceItemService
@Autowired protected WorkflowItemService<XmlWorkflowItem> workflowItemService
@Autowired protected WorkflowService<XmlWorkflowItem> workflowService
public WorkspaceItem createWorkspaceItem(Context context, Request request) throws SQLException, AuthorizeException
context - the dspace contextrequest - the request containing the details about the workspace to createSQLExceptionAuthorizeExceptionpublic void saveWorkspaceItem(Context context, WorkspaceItem wsi)
public UploadBitstreamRest buildUploadBitstream(ConfigurationService configurationService, Bitstream source) throws SQLException
SQLExceptionpublic XmlWorkflowItem createWorkflowItem(Context context, String requestUriListString) throws SQLException, AuthorizeException, WorkflowException
context - the dspace contextrequestUriListString - the id of the workspaceItemSQLExceptionAuthorizeExceptionWorkflowExceptionpublic void saveWorkflowItem(Context context, XmlWorkflowItem source) throws SQLException, AuthorizeException
SQLExceptionAuthorizeExceptionCopyright © 2019 DuraSpace. All rights reserved.