Class Payload


  • @Model(adaptables=org.apache.sling.api.resource.Resource.class)
    public class Payload
    extends Object
    • Constructor Detail

      • Payload

        public Payload​(org.apache.sling.api.resource.Resource resource)
    • Method Detail

      • 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()
      • 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
      • dereference

        public static String dereference​(String str)
      • reference

        public static String reference​(String str)