Package org.dspace.app.rest.converter
Class SubmissionSectionConverter
java.lang.Object
org.dspace.app.rest.converter.SubmissionSectionConverter
- All Implemented Interfaces:
DSpaceConverter<SubmissionStepConfig,SubmissionSectionRest>
@Component
public class SubmissionSectionConverter
extends Object
implements DSpaceConverter<SubmissionStepConfig,SubmissionSectionRest>
This is the converter from/to the SubmissionStepConfig in the DSpace API data
model and the REST data model
- Author:
- Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(SubmissionStepConfig step, Projection projection) Convert a DSpace model object into its equivalent REST resource, applying a given projection.For what DSpace API model class does this converter convert?
-
Constructor Details
-
SubmissionSectionConverter
public SubmissionSectionConverter()
-
-
Method Details
-
convert
Description copied from interface:DSpaceConverterConvert a DSpace model object into its equivalent REST resource, applying a given projection.- Specified by:
convertin interfaceDSpaceConverter<SubmissionStepConfig,SubmissionSectionRest> - Parameters:
step- a DSpace API model object.- Returns:
- a resource representing the model object.
-
toModel
-
getModelClass
Description copied from interface:DSpaceConverterFor what DSpace API model class does this converter convert?- Specified by:
getModelClassin interfaceDSpaceConverter<SubmissionStepConfig,SubmissionSectionRest> - Returns:
- Class of model objects represented.
-
getSubmissionConfigService
public SubmissionConfigService getSubmissionConfigService() throws SubmissionConfigReaderException, SQLException, IllegalStateException
-