Package org.alfresco.rest.model
Class RestProcessDefinitionModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestProcessDefinitionModel
- All Implemented Interfaces:
IModelAssertion<RestProcessDefinitionModel>,IRestModel<RestProcessDefinitionModel>,org.alfresco.utility.model.Model
public class RestProcessDefinitionModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestProcessDefinitionModel>
Handles single Process Definition Entry JSON response "entry": { "deploymentId": "1", "name": "Adhoc Activiti Process", "description": "Assign a new task to yourself or a colleague", "id": "activitiAdhoc:1:4", "startFormResourceKey": "wf:submitAdhocTask", "category": "http://alfresco.org", "title": "New Task", "version": 1, "graphicNotationDefined": true, "key": "activitiAdhoc" } Created by Claudia Agache on 10/13/2016.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getKey()getName()getTitle()intonModel()voidsetCategory(String category) voidsetDeploymentId(String deploymentId) voidsetDescription(String description) voidsetGraphicNotationDefined(boolean graphicNotationDefined) voidvoidvoidvoidsetStartFormResourceKey(String startFormResourceKey) voidvoidsetVersion(int version) Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.rest.core.assertion.IModelAssertion
and, assertThat
-
Constructor Details
-
RestProcessDefinitionModel
public RestProcessDefinitionModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestProcessDefinitionModel>
-
getId
-
setId
-
getKey
-
setKey
-
getName
-
setName
-
getCategory
-
setCategory
-
getDeploymentId
-
setDeploymentId
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getStartFormResourceKey
-
setStartFormResourceKey
-
getGraphicNotationDefined
public boolean getGraphicNotationDefined() -
setGraphicNotationDefined
public void setGraphicNotationDefined(boolean graphicNotationDefined) -
getVersion
public int getVersion() -
setVersion
public void setVersion(int version)
-