Class ProcessTaskView

    • Method Detail

      • getId

        public long getId()
        Description copied from interface: IProcessTaskView
        This method returns the unique ID of this task.
        Specified by:
        getId in interface IProcessTaskView
        Returns:
        the unique ID of this process step.
      • getNodeId

        public GUID getNodeId()
        Description copied from interface: IProcessTaskView
        This method returns the optional node ID this task belongs to.
        Specified by:
        getNodeId in interface IProcessTaskView
        Returns:
        the node ID of this task.
      • getCaseId

        public long getCaseId()
        Description copied from interface: IProcessTaskView
        This method returns the ID of the case the task is defined for.
        Specified by:
        getCaseId in interface IProcessTaskView
        Returns:
        The ID of the case the task is defined for.
      • isCaseLocked

        public boolean isCaseLocked()
        Description copied from interface: IProcessTaskView
        This method returns if the case the task is defined for is locked.
        Specified by:
        isCaseLocked in interface IProcessTaskView
        Returns:
        a boolean indicating if the case the task is defined for is locked
      • getAssigneeInfo

        public IAssigneeInfo getAssigneeInfo()
        Description copied from interface: IProcessTaskView
        This method returns the AssigneeInfo of whom the task is assigned to.
        Specified by:
        getAssigneeInfo in interface IProcessTaskView
        Returns:
        the AssigneeInfo of whom the task is assigned to.
      • getName

        public String getName()
        Description copied from interface: IProcessTaskView
        This method returns the name of the task as present in the task definition.
        Specified by:
        getName in interface IProcessTaskView
        Returns:
        The name of the task.
      • getDescription

        public String getDescription()
        Description copied from interface: IProcessTaskView
        This method returns the description of the task as present in the task definition.
        Specified by:
        getDescription in interface IProcessTaskView
        Returns:
        The description of the task.
      • getRequiredRoles

        public IRole[] getRequiredRoles()
        Description copied from interface: IProcessTaskView
        This method returns the names of required roles to start this task.
        Specified by:
        getRequiredRoles in interface IProcessTaskView
        Returns:
        The names of the required roles.
      • getDueDate

        public DateTimeValue getDueDate()
        Description copied from interface: IProcessTaskView
        this method returns the date at which the task should be completed.
        Specified by:
        getDueDate in interface IProcessTaskView
        Returns:
        The date at which the task should be completed.
      • getAttributeValue

        public IValue getAttributeValue​(String entityName,
                                        String attributeName)
        Description copied from interface: IProcessTaskView
        this method returns the value of the attribute from the case the task is defined for.
        Specified by:
        getAttributeValue in interface IProcessTaskView
        Parameters:
        entityName - The entity where the attribute belongs to.
        attributeName - The name of the attribute.
        Returns:
        The value of the attribute from the case the task is defined for.
      • getCustomFieldValue

        public IValue getCustomFieldValue​(String customField)
        Description copied from interface: IProcessTaskView
        this method returns the value of a custom field for the task.
        Specified by:
        getCustomFieldValue in interface IProcessTaskView
        Parameters:
        customField - The custom field.
        Returns:
        The value of the custom field from the task.