Package org.dspace.app.rest.submit.step
Class CCLicenseStep
- java.lang.Object
-
- org.dspace.app.rest.submit.AbstractProcessingStep
-
- org.dspace.app.rest.submit.step.CCLicenseStep
-
- All Implemented Interfaces:
DataProcessingStep,RestProcessingStep
public class CCLicenseStep extends AbstractProcessingStep
CC License step for DSpace Spring Rest. Expose the creative commons license information about the in progress submission.
-
-
Field Summary
-
Fields inherited from class org.dspace.app.rest.submit.AbstractProcessingStep
authorizeService, bitstreamFormatService, bitstreamService, bundleService, collectionService, configurationService, itemService, metadataFieldService, workspaceItemService
-
Fields inherited from interface org.dspace.app.rest.submit.DataProcessingStep
CCLICENSE_STEP_OPERATION_ENTRY, COLLECTION_STEP_OPERATION_ENTRY, DESCRIBE_STEP_METADATA_OPERATION_ENTRY, LICENSE_STEP_OPERATION_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 Constructor Description CCLicenseStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoPatchProcessing(org.dspace.core.Context context, javax.servlet.http.HttpServletRequest currentRequest, org.dspace.content.InProgressSubmission source, Operation op, org.dspace.app.util.SubmissionStepConfig stepConf)Processes a patch for the CC License dataDataCCLicensegetData(SubmissionService submissionService, org.dspace.content.InProgressSubmission obj, org.dspace.app.util.SubmissionStepConfig config)Retrieves the CC License data of the in progress submission-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.submit.DataProcessingStep
validate
-
-
-
-
Method Detail
-
getData
public DataCCLicense getData(SubmissionService submissionService, org.dspace.content.InProgressSubmission obj, org.dspace.app.util.SubmissionStepConfig config) throws Exception
Retrieves the CC License data of the in progress submission- Parameters:
submissionService- the submission serviceobj- the in progress submissionconfig- the submission step configuration- Returns:
- the CC License data of the in progress submission
- Throws:
Exception
-
doPatchProcessing
public void doPatchProcessing(org.dspace.core.Context context, javax.servlet.http.HttpServletRequest currentRequest, org.dspace.content.InProgressSubmission source, Operation op, org.dspace.app.util.SubmissionStepConfig stepConf) throws ExceptionProcesses a patch for the CC License data- Parameters:
context- the DSpace contextcurrentRequest- the http requestsource- the in progress submissionop- the json patch operation- Throws:
Exception
-
-