Class LicenseValidation

  • All Implemented Interfaces:
    Validation

    public class LicenseValidation
    extends AbstractValidation
    This submission validation check that the license has been grant for the inprogress submission looking for the presence of a license bitstream in the license bundle,
    Author:
    Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
    • Constructor Detail

      • LicenseValidation

        public LicenseValidation()
    • Method Detail

      • validate

        public List<ErrorRest> validate​(SubmissionService submissionService,
                                        org.dspace.content.InProgressSubmission obj,
                                        org.dspace.app.util.SubmissionStepConfig config)
                                 throws org.dspace.app.util.DCInputsReaderException,
                                        SQLException
        Throws:
        org.dspace.app.util.DCInputsReaderException
        SQLException
      • getBitstreamService

        public org.dspace.content.service.BitstreamService getBitstreamService()
      • setBitstreamService

        public void setBitstreamService​(org.dspace.content.service.BitstreamService bitstreamService)