Class ApprovalRequest

    • Constructor Detail

      • ApprovalRequest

        public ApprovalRequest()
    • Method Detail

      • addNextApproverId

        public void addNextApproverId​(String nextApproverId)
      • applyTemplate

        public ApprovalRequest applyTemplate​(ApprovalRequest template)
        Creates new ApprovalRequest by combining values from the given template with the values currently present. If the value is not present and the template has the corresponding value, then the template value is set. The net result is that all set values of an ApprovalRequest are preserved, while the values set on template are used for undefined ( null) values.
        Parameters:
        template - template to apply
        Returns:
        newly created object with applied template
      • getComments

        public String getComments()
      • getContextActorId

        public String getContextActorId()
      • getContextId

        public String getContextId()
      • getNextApproverIds

        public List<String> getNextApproverIds()
      • getProcessDefinitionNameOrId

        public String getProcessDefinitionNameOrId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isSkipEntryCriteria

        public boolean isSkipEntryCriteria()
      • setComments

        public void setComments​(String comments)
      • setContextActorId

        public void setContextActorId​(String contextActorId)
      • setContextId

        public void setContextId​(String contextId)
      • setNextApproverIds

        public void setNextApproverIds​(List<String> nextApproverIds)
      • setNextApproverIds

        public void setNextApproverIds​(String nextApproverId)
      • setProcessDefinitionNameOrId

        public void setProcessDefinitionNameOrId​(String processDefinitionNameOrId)
      • setSkipEntryCriteria

        public void setSkipEntryCriteria​(boolean skipEntryCriteria)