public class WorkItem extends Object
Modifier and Type | Class and Description |
---|---|
class |
WorkItem.Delegatee
Simple inner class wrapping a Delegatee
|
class |
WorkItem.Route
Simple inner class wrapping one route
|
Constructor and Description |
---|
WorkItem(org.codehaus.jackson.JsonNode rootNode)
the only constructor
|
Modifier and Type | Method and Description |
---|---|
ArrayList<WorkItem.Delegatee> |
getDelegatees()
Lost of all user/groups this work item can be delegated to.
|
String |
getId()
the id of this work item , equals its URI
|
String |
getInstanceURI()
the URI of the workflow instance this work item belongs to
|
String |
getModelId()
the model that was used to create the workflow instance this work item belongs to.
|
String |
getNodeId()
the node in the model that is associated with this work item
|
String |
getPayLoad()
The payload reference
|
String |
getPayloadType()
The type of payload managed by this work item, either URL or JCR_PATH
|
Map |
getProperties()
A map of all properties stored in this work item
|
ArrayList<WorkItem.Route> |
getRoutes()
list of all possible routes from this work item
|
Date |
getStartDate()
The start date of this work item
|
public WorkItem(org.codehaus.jackson.JsonNode rootNode)
rootNode
- the JSON node containing all the infospublic String getId()
public String getInstanceURI()
public String getModelId()
public String getNodeId()
public Date getStartDate()
public String getPayloadType()
public String getPayLoad()
public Map getProperties()
public ArrayList<WorkItem.Route> getRoutes()
WorkItem.Route
objectspublic ArrayList<WorkItem.Delegatee> getDelegatees()
WorkItem.Delegatee
objects.Copyright © 2018. All rights reserved.