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.
  • Constructor Details

    • CCLicenseStep

      public CCLicenseStep()
  • Method Details

    • getData

      public DataCCLicense getData(SubmissionService submissionService, InProgressSubmission obj, SubmissionStepConfig config) throws Exception
      Retrieves the CC License data of the in progress submission
      Parameters:
      submissionService - the submission service
      obj - the in progress submission
      config - the submission step configuration
      Returns:
      the CC License 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 CC License data
      Parameters:
      context - the DSpace context
      currentRequest - the http request
      source - the in progress submission
      op - the json patch operation
      Throws:
      Exception