Package org.dspace.app.rest.model
Class WorkflowDefinitionRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<String>
-
- org.dspace.app.rest.model.WorkflowDefinitionRest
-
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="collections",method="getCollections") @LinkRest(name="steps",method="getSteps") public class WorkflowDefinitionRest extends BaseObjectRest<String>
The rest resource used for workflow definitions- Author:
- Maria Verdonck (Atmire) on 11/12/2019
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringCOLLECTIONS_MAPPED_TOstatic StringNAMEstatic StringNAME_PLURALstatic StringSTEPS-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
Fields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description WorkflowDefinitionRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()StringgetId()booleangetIsDefault()StringgetName()List<WorkflowStepRest>getSteps()StringgetType()voidsetIsDefault(boolean isDefault)voidsetName(String name)voidsetSteps(List<WorkflowStepRest> steps)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors, setId
-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
NAME_PLURAL
public static final String NAME_PLURAL
- See Also:
- Constant Field Values
-
COLLECTIONS_MAPPED_TO
public static final String COLLECTIONS_MAPPED_TO
- See Also:
- Constant Field Values
-
STEPS
public static final String STEPS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getType
public String getType()
-
getId
public String getId()
- Overrides:
getIdin classBaseObjectRest<String>
-
getName
public String getName()
-
setName
public void setName(String name)
-
getIsDefault
public boolean getIsDefault()
-
setIsDefault
public void setIsDefault(boolean isDefault)
-
getSteps
public List<WorkflowStepRest> getSteps()
-
setSteps
public void setSteps(List<WorkflowStepRest> steps)
-
-