Package org.dspace.app.rest.converter
Class WorkflowDefinitionConverter
- java.lang.Object
-
- org.dspace.app.rest.converter.WorkflowDefinitionConverter
-
- All Implemented Interfaces:
DSpaceConverter<Workflow,WorkflowDefinitionRest>
@Component public class WorkflowDefinitionConverter extends Object implements DSpaceConverter<Workflow,WorkflowDefinitionRest>
Converter to translate Workflow to a Workflow Definition- Author:
- Maria Verdonck (Atmire) on 11/12/2019
-
-
Field Summary
Fields Modifier and Type Field Description protected XmlWorkflowFactoryxmlWorkflowFactory
-
Constructor Summary
Constructors Constructor Description WorkflowDefinitionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowDefinitionRestconvert(Workflow modelObject, Projection projection)Class<Workflow>getModelClass()
-
-
-
Field Detail
-
xmlWorkflowFactory
@Autowired protected XmlWorkflowFactory xmlWorkflowFactory
-
-
Method Detail
-
convert
public WorkflowDefinitionRest convert(Workflow modelObject, Projection projection)
- Specified by:
convertin interfaceDSpaceConverter<Workflow,WorkflowDefinitionRest>
-
getModelClass
public Class<Workflow> getModelClass()
- Specified by:
getModelClassin interfaceDSpaceConverter<Workflow,WorkflowDefinitionRest>
-
-