Package org.dspace.app.rest.model
Class 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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields 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 -
Method Summary
Modifier and TypeMethodDescriptiongetId()booleangetName()getSteps()getType()voidsetIsDefault(boolean isDefault) voidvoidsetSteps(List<WorkflowStepRest> steps) Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
Field Details
-
CATEGORY
- See Also:
-
NAME
- See Also:
-
NAME_PLURAL
- See Also:
-
COLLECTIONS_MAPPED_TO
- See Also:
-
STEPS
- See Also:
-
-
Constructor Details
-
WorkflowDefinitionRest
public WorkflowDefinitionRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getType
-
getId
- Overrides:
getIdin classBaseObjectRest<String>
-
getName
-
setName
-
getIsDefault
public boolean getIsDefault() -
setIsDefault
public void setIsDefault(boolean isDefault) -
getSteps
-
setSteps
-