Class SaWsTask

java.lang.Object
com.saperion.ws.wrapper.wf.SaWsTask

public class SaWsTask extends Object
The Class SaWsTask.
  • Constructor Details

    • 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 Details

    • getSubject

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

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

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

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

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

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

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

      public void setReceiveDate(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 String getActivityName()
      Gets the activity name.
      Returns:
      the activity name
    • setActivityName

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

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

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

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

      public void setTaskUID(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 String getProcessDefinitionName()
      Gets the process definition name.
      Returns:
      the process definition name
    • setProcessDefinitionName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void setHoldDate(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 List<SaWsHistoryEntry> getHistoryEntries()
      Gets the history entries.
      Returns:
      the history entries
    • setHistoryEntries

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

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

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

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

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