public class ProcessDefinitionImpl extends Object implements ProcessDefinition
Constructor and Description |
---|
ProcessDefinitionImpl() |
Modifier and Type | Method and Description |
---|---|
Map<String,Serializable> |
getData() |
String |
getIdentifier()
Returns the unique identifier of the process definition.
|
String |
getKey()
Returns the Key of the process-definition
|
String |
getName()
Returns the Human readable Name of the process-definition
|
String |
getVersion()
Returns the Version of the process-definition
|
static ProcessDefinitionImpl |
parseJson(Map<String,Object> json)
Parse Json Response from Alfresco REST API to create a process Definition
Object.
|
static ProcessDefinition |
parsePublicAPIJson(Map<String,Object> json) |
public static ProcessDefinitionImpl parseJson(Map<String,Object> json)
json
- : json response that contains data from the repositorypublic static ProcessDefinition parsePublicAPIJson(Map<String,Object> json)
public String getIdentifier()
getIdentifier
in interface ProcessDefinition
public String getName()
getName
in interface ProcessDefinition
public String getVersion()
getVersion
in interface ProcessDefinition
public Map<String,Serializable> getData()
public String getKey()
ProcessDefinition
getKey
in interface ProcessDefinition
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.