Class Payload
- java.lang.Object
-
- com.adobe.acs.commons.workflow.bulk.execution.model.Payload
-
@Model(adaptables=org.apache.sling.api.resource.Resource.class) public class Payload extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringNN_PAYLOAD
-
Constructor Summary
Constructors Constructor Description Payload(org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()static Stringdereference(String str)StringgetDereferencedPath()StringgetDereferencedPayloadPath()StringgetPath()PayloadGroupgetPayloadGroup()StringgetPayloadPath()org.apache.sling.api.resource.ResourceResolvergetResourceResolver()StatusgetStatus()com.day.cq.workflow.exec.WorkflowgetWorkflow()StringgetWorkflowInstanceId()booleanisOnboarded()static Stringreference(String str)voidsetStatus(Status newStatus)Setterscom.google.gson.JsonObjecttoJSON()RenditionsvoidupdateWith(com.day.cq.workflow.exec.Workflow workflow)
-
-
-
Field Detail
-
NN_PAYLOAD
public static final String NN_PAYLOAD
- See Also:
- Constant Field Values
-
-
Method Detail
-
activate
@PostConstruct public void activate()
-
getResourceResolver
public org.apache.sling.api.resource.ResourceResolver getResourceResolver()
-
getStatus
public Status getStatus()
-
getPayloadPath
public String getPayloadPath()
-
getPath
public String getPath()
-
getDereferencedPayloadPath
public String getDereferencedPayloadPath()
-
getDereferencedPath
public String getDereferencedPath()
-
getPayloadGroup
public PayloadGroup getPayloadGroup()
-
getWorkflow
public com.day.cq.workflow.exec.Workflow getWorkflow() throws com.day.cq.workflow.WorkflowException- Throws:
com.day.cq.workflow.WorkflowException
-
getWorkflowInstanceId
public String getWorkflowInstanceId()
-
isOnboarded
public boolean isOnboarded()
-
setStatus
public void setStatus(Status newStatus)
Setters
-
updateWith
public void updateWith(com.day.cq.workflow.exec.Workflow workflow) throws org.apache.sling.api.resource.PersistenceException- Throws:
org.apache.sling.api.resource.PersistenceException
-
toJSON
public com.google.gson.JsonObject toJSON()
Renditions
-
-