Package org.dspace.app.rest.submit.step
Class NotifyStep
java.lang.Object
org.dspace.app.rest.submit.AbstractProcessingStep
org.dspace.app.rest.submit.step.NotifyStep
- All Implemented Interfaces:
DataProcessingStep,RestProcessingStep
COARNotify Step for DSpace Spring Rest. Expose information about
the COAR Notify services for the in progress submission.
- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Field Summary
Fields inherited from class org.dspace.app.rest.submit.AbstractProcessingStep
authorizeService, bitstreamFormatService, bitstreamService, bundleService, coarNotifySubmissionService, collectionService, configurationService, itemService, metadataFieldService, workspaceItemServiceFields inherited from interface org.dspace.app.rest.submit.DataProcessingStep
ACCESS_CONDITION_POLICY_STEP_OPERATION_ENTRY, ACCESS_CONDITION_STEP_OPERATION_ENTRY, CCLICENSE_STEP_OPERATION_ENTRY, COARNOTIFY_STEP_PATH, COLLECTION_STEP_OPERATION_ENTRY, DESCRIBE_STEP_METADATA_OPERATION_ENTRY, LICENSE_STEP_OPERATION_ENTRY, PRIMARY_FLAG_ENTRY, SHOW_IDENTIFIERS_ENTRY, UPLOAD_STEP_ACCESSCONDITIONS_OPERATION_ENTRY, UPLOAD_STEP_METADATA_OPERATION_ENTRY, UPLOAD_STEP_METADATA_PATH, UPLOAD_STEP_MOVE_OPERATION_ENTRY, UPLOAD_STEP_REMOVE_OPERATION_ENTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoPatchProcessing(Context context, jakarta.servlet.http.HttpServletRequest currentRequest, InProgressSubmission source, Operation op, SubmissionStepConfig stepConf) Processes a patch for the COAR Notify datagetData(SubmissionService submissionService, InProgressSubmission obj, SubmissionStepConfig config) Retrieves the COAR Notify services data of the in progress submissionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.submit.DataProcessingStep
validate
-
Constructor Details
-
NotifyStep
public NotifyStep()
-
-
Method Details
-
getData
public DataNotify getData(SubmissionService submissionService, InProgressSubmission obj, SubmissionStepConfig config) throws Exception Retrieves the COAR Notify services data of the in progress submission- Parameters:
submissionService- the submission serviceobj- the in progress submissionconfig- the submission step configuration- Returns:
- the COAR Notify data of the in progress submission
- Throws:
Exception
-
doPatchProcessing
public void doPatchProcessing(Context context, jakarta.servlet.http.HttpServletRequest currentRequest, InProgressSubmission source, Operation op, SubmissionStepConfig stepConf) throws Exception Processes a patch for the COAR Notify data- Parameters:
context- the DSpace contextcurrentRequest- the http requestsource- the in progress submissionop- the json patch operation- Throws:
Exception
-