public interface AbstractRestProcessingStep extends ListenerProcessingStep
| Modifier and Type | Field and Description |
|---|---|
static String |
COLLECTION_STEP_OPERATION_ENTRY |
static String |
DESCRIBE_STEP_METADATA_OPERATION_ENTRY |
static String |
LICENSE_STEP_OPERATION_ENTRY |
static String |
UPLOAD_STEP_ACCESSCONDITIONS_OPERATION_ENTRY |
static String |
UPLOAD_STEP_METADATA_OPERATION_ENTRY |
static String |
UPLOAD_STEP_METADATA_PATH |
static String |
UPLOAD_STEP_MOVE_OPERATION_ENTRY |
static String |
UPLOAD_STEP_REMOVE_OPERATION_ENTRY |
| Modifier and Type | Method and Description |
|---|---|
void |
doPatchProcessing(Context context,
Request currentRequest,
InProgressSubmission source,
Operation op)
Method to react to a patch request against the step managed section data
|
<T extends Serializable> |
getData(SubmissionService submissionService,
InProgressSubmission obj,
SubmissionStepConfig config)
Method to expose data in the a dedicated section of the in progress submission.
|
default List<ErrorRest> |
validate(SubmissionService submissionService,
InProgressSubmission obj,
SubmissionStepConfig config)
The method will expose the list of validation errors identified by the step.
|
doPostProcessing, doPreProcessingstatic final String DESCRIBE_STEP_METADATA_OPERATION_ENTRY
static final String COLLECTION_STEP_OPERATION_ENTRY
static final String UPLOAD_STEP_METADATA_OPERATION_ENTRY
static final String UPLOAD_STEP_REMOVE_OPERATION_ENTRY
static final String UPLOAD_STEP_MOVE_OPERATION_ENTRY
static final String UPLOAD_STEP_ACCESSCONDITIONS_OPERATION_ENTRY
static final String LICENSE_STEP_OPERATION_ENTRY
static final String UPLOAD_STEP_METADATA_PATH
<T extends Serializable> T getData(SubmissionService submissionService, InProgressSubmission obj, SubmissionStepConfig config) throws Exception
submissionService - the submission serviceobj - the in progress submissionconfig - the submission step configurationExceptiondefault List<ErrorRest> validate(SubmissionService submissionService, InProgressSubmission obj, SubmissionStepConfig config) throws Exception
Validation spring bean in the context with the same name that the step idsubmissionService - obj - config - Exceptionvoid doPatchProcessing(Context context, Request currentRequest, InProgressSubmission source, Operation op) throws Exception
context - the DSpace contextcurrentRequest - the http requestsource - the in progress submissionop - the json patch operationExceptionCopyright © 2019 DuraSpace. All rights reserved.