Class LicenseValidation
- java.lang.Object
-
- org.dspace.app.rest.submit.step.validation.AbstractValidation
-
- org.dspace.app.rest.submit.step.validation.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 Summary
Constructors Constructor Description LicenseValidation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dspace.content.service.BitstreamServicegetBitstreamService()voidsetBitstreamService(org.dspace.content.service.BitstreamService bitstreamService)List<ErrorRest>validate(SubmissionService submissionService, org.dspace.content.InProgressSubmission obj, org.dspace.app.util.SubmissionStepConfig config)-
Methods inherited from class org.dspace.app.rest.submit.step.validation.AbstractValidation
addError, getErrors, getName, setName
-
-
-
-
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.DCInputsReaderExceptionSQLException
-
getBitstreamService
public org.dspace.content.service.BitstreamService getBitstreamService()
-
setBitstreamService
public void setBitstreamService(org.dspace.content.service.BitstreamService bitstreamService)
-
-