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 Constructor Description RestProcessDefinitionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelAssertion<RestProcessDefinitionModel>and()ModelAssertion<RestProcessDefinitionModel>assertThat()java.lang.StringgetCategory()java.lang.StringgetDeploymentId()java.lang.StringgetDescription()booleangetGraphicNotationDefined()java.lang.StringgetId()java.lang.StringgetKey()java.lang.StringgetName()java.lang.StringgetStartFormResourceKey()java.lang.StringgetTitle()intgetVersion()RestProcessDefinitionModelonModel()voidsetCategory(java.lang.String category)voidsetDeploymentId(java.lang.String deploymentId)voidsetDescription(java.lang.String description)voidsetGraphicNotationDefined(boolean graphicNotationDefined)voidsetId(java.lang.String id)voidsetKey(java.lang.String key)voidsetName(java.lang.String name)voidsetStartFormResourceKey(java.lang.String startFormResourceKey)voidsetTitle(java.lang.String title)voidsetVersion(int version)
-
-
-
Method Detail
-
onModel
public RestProcessDefinitionModel onModel()
- Specified by:
onModelin interfaceIRestModel<RestProcessDefinitionModel>
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getKey
public java.lang.String getKey()
-
setKey
public void setKey(java.lang.String key)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getCategory
public java.lang.String getCategory()
-
setCategory
public void setCategory(java.lang.String category)
-
getDeploymentId
public java.lang.String getDeploymentId()
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String title)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getStartFormResourceKey
public java.lang.String getStartFormResourceKey()
-
setStartFormResourceKey
public void setStartFormResourceKey(java.lang.String startFormResourceKey)
-
getGraphicNotationDefined
public boolean getGraphicNotationDefined()
-
setGraphicNotationDefined
public void setGraphicNotationDefined(boolean graphicNotationDefined)
-
getVersion
public int getVersion()
-
setVersion
public void setVersion(int version)
-
and
public ModelAssertion<RestProcessDefinitionModel> and()
- Specified by:
andin interfaceIModelAssertion<RestProcessDefinitionModel>
-
assertThat
public ModelAssertion<RestProcessDefinitionModel> assertThat()
- Specified by:
assertThatin interfaceIModelAssertion<RestProcessDefinitionModel>
-
-