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, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, 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, setProjection
-
Field Details
-
CATEGORY
- See Also:
-
NAME
- See Also:
-
PLURAL_NAME
- 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
-
getTypePlural
-
getId
- Overrides:
getIdin classBaseObjectRest<String>
-
getName
-
setName
-
getIsDefault
public boolean getIsDefault() -
setIsDefault
public void setIsDefault(boolean isDefault) -
getSteps
-
setSteps
-