Class SaWsTask


  • public class SaWsTask
    extends java.lang.Object
    The Class SaWsTask.
    • Constructor Detail

      • SaWsTask

        public SaWsTask()
        Instantiates a new sa ws task.
      • SaWsTask

        public SaWsTask​(com.saperion.connector.wf.SaWFTask task,
                        boolean loadHistory,
                        boolean loadUndefined)
                 throws com.saperion.exception.wf.SaWorkflowException,
                        com.saperion.exception.SaAuthenticationException,
                        com.saperion.exception.SaSystemException
        Instantiates a new sa ws task.
        Parameters:
        task - the task
        loadHistory - the load history
        loadUndefined - the load undefined
        Throws:
        com.saperion.exception.wf.SaWorkflowException - the sa workflow exception
        com.saperion.exception.SaAuthenticationException - the sa authentication exception
        com.saperion.exception.SaSystemException - the sa system exception
    • Method Detail

      • getSubject

        public java.lang.String getSubject()
        Gets the subject.
        Returns:
        the subject
      • setSubject

        public void setSubject​(java.lang.String newSubject)
        Sets the subject.
        Parameters:
        newSubject - the new subject
      • getDescription

        public java.lang.String getDescription()
        Gets the description.
        Returns:
        the description
      • setDescription

        public void setDescription​(java.lang.String newDescription)
        Sets the description.
        Parameters:
        newDescription - the new description
      • getErrorMsg

        public java.lang.String getErrorMsg()
        Gets the error msg.
        Returns:
        the error msg
      • setErrorMsg

        public void setErrorMsg​(java.lang.String newErrorMsg)
        Sets the error msg.
        Parameters:
        newErrorMsg - the new error msg
      • getReceiveDate

        public java.util.Date getReceiveDate()
        Gets the receive date.
        Returns:
        the receive date
      • setReceiveDate

        public void setReceiveDate​(java.util.Date newReceiveDate)
        Sets the receive date.
        Parameters:
        newReceiveDate - the new receive date
      • getPriority

        public int getPriority()
        Gets the priority.
        Returns:
        the priority
      • setPriority

        public void setPriority​(int newPriority)
        Sets the priority.
        Parameters:
        newPriority - the new priority
      • getActivityName

        public java.lang.String getActivityName()
        Gets the activity name.
        Returns:
        the activity name
      • setActivityName

        public void setActivityName​(java.lang.String newActivityName)
        Sets the activity name.
        Parameters:
        newActivityName - the new activity name
      • getTaskID

        public java.lang.String getTaskID()
        Gets the task id.
        Returns:
        the task id
      • setTaskID

        public void setTaskID​(java.lang.String newTaskID)
        Sets the task id.
        Parameters:
        newTaskID - the new task id
      • getTaskUID

        public java.lang.String getTaskUID()
        Gets the task uid.
        Returns:
        the task uid
      • setTaskUID

        public void setTaskUID​(java.lang.String newTaskUID)
        Sets the task uid.
        Parameters:
        newTaskUID - the new task uid
      • getTransitionID

        public int getTransitionID()
        Gets the transition id.
        Returns:
        the transition id
      • setTransitionID

        public void setTransitionID​(int newTransitionID)
        Sets the transition id.
        Parameters:
        newTransitionID - the new transition id
      • getProcessDefinitionName

        public java.lang.String getProcessDefinitionName()
        Gets the process definition name.
        Returns:
        the process definition name
      • setProcessDefinitionName

        public void setProcessDefinitionName​(java.lang.String newProcessDefinitionName)
        Sets the process definition name.
        Parameters:
        newProcessDefinitionName - the new process definition name
      • getProcessName

        public java.lang.String getProcessName()
        Gets the process name.
        Returns:
        the process name
      • setProcessName

        public void setProcessName​(java.lang.String newProcessName)
        Sets the process name.
        Parameters:
        newProcessName - the new process name
      • getCreateDate

        public java.util.Date getCreateDate()
        Gets the creates the date.
        Returns:
        the creates the date
      • setCreateDate

        public void setCreateDate​(java.util.Date newCreateDate)
        Sets the creates the date.
        Parameters:
        newCreateDate - the new creates the date
      • getDocId

        public java.lang.String getDocId()
        Gets the doc id.
        Returns:
        the doc id
      • setDocId

        public void setDocId​(java.lang.String newDocId)
        Sets the doc id.
        Parameters:
        newDocId - the new doc id
      • getDocVersionId

        public java.lang.String getDocVersionId()
        Gets the doc version id.
        Returns:
        the doc version id
      • setDocVersionId

        public void setDocVersionId​(java.lang.String newDocVersionId)
        Sets the doc version id.
        Parameters:
        newDocVersionId - the new doc version id
      • getDocDefinition

        public java.lang.String getDocDefinition()
        Gets the doc definition.
        Returns:
        the doc definition
      • setDocDefinition

        public void setDocDefinition​(java.lang.String newDocDefinition)
        Sets the doc definition.
        Parameters:
        newDocDefinition - the new doc definition
      • getEscalationDate

        public java.util.Date getEscalationDate()
        Gets the escalation date.
        Returns:
        the escalation date
      • setEscalationDate

        public void setEscalationDate​(java.util.Date newEscalationDate)
        Sets the escalation date.
        Parameters:
        newEscalationDate - the new escalation date
      • getHoldDate

        public java.util.Date getHoldDate()
        Gets the hold date.
        Returns:
        the hold date
      • setHoldDate

        public void setHoldDate​(java.util.Date newHoldDate)
        Sets the hold date.
        Parameters:
        newHoldDate - the new hold date
      • getUser

        public SaWsActor getUser()
        Gets the user.
        Returns:
        the user
      • setUser

        public void setUser​(SaWsActor newUser)
        Sets the user.
        Parameters:
        newUser - the new user
      • getOwner

        public SaWsActor getOwner()
        Gets the owner.
        Returns:
        the owner
      • setOwner

        public void setOwner​(SaWsActor newOwner)
        Sets the owner.
        Parameters:
        newOwner - the new owner
      • getHistoryEntries

        public java.util.List<SaWsHistoryEntry> getHistoryEntries()
        Gets the history entries.
        Returns:
        the history entries
      • setHistoryEntries

        public void setHistoryEntries​(java.util.List<SaWsHistoryEntry> newHistoryEntries)
        Sets the history entries.
        Parameters:
        newHistoryEntries - the new history entries
      • getCommands

        public java.util.List<SaWsCommand> getCommands()
        Gets the commands.
        Returns:
        the commands
      • setCommands

        public void setCommands​(java.util.List<SaWsCommand> newCommands)
        Sets the commands.
        Parameters:
        newCommands - the new commands
      • getUserDefinedFields

        public java.util.List<SaWsPropertyValue> getUserDefinedFields()
        Gets the user defined fields.
        Returns:
        the user defined fields
      • setUserDefinedFields

        public void setUserDefinedFields​(java.util.List<SaWsPropertyValue> newUserDefinedFields)
        Sets the user defined fields.
        Parameters:
        newUserDefinedFields - the new user defined fields