Package com.saperion.ws.wrapper.wf
Class SaWsTask
java.lang.Object
com.saperion.ws.wrapper.wf.SaWsTask
The Class SaWsTask.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the activity name.Gets the commands.Gets the creates the date.Gets the description.Gets the doc definition.getDocId()
Gets the doc id.Gets the doc version id.Gets the error msg.Gets the escalation date.Gets the history entries.Gets the hold date.getOwner()
Gets the owner.int
Gets the priority.Gets the process definition name.Gets the process name.Gets the receive date.Gets the subject.Gets the task id.Gets the task uid.int
Gets the transition id.getUser()
Gets the user.Gets the user defined fields.void
setActivityName
(String newActivityName) Sets the activity name.void
setCommands
(List<SaWsCommand> newCommands) Sets the commands.void
setCreateDate
(Date newCreateDate) Sets the creates the date.void
setDescription
(String newDescription) Sets the description.void
setDocDefinition
(String newDocDefinition) Sets the doc definition.void
Sets the doc id.void
setDocVersionId
(String newDocVersionId) Sets the doc version id.void
setErrorMsg
(String newErrorMsg) Sets the error msg.void
setEscalationDate
(Date newEscalationDate) Sets the escalation date.void
setHistoryEntries
(List<SaWsHistoryEntry> newHistoryEntries) Sets the history entries.void
setHoldDate
(Date newHoldDate) Sets the hold date.void
Sets the owner.void
setPriority
(int newPriority) Sets the priority.void
setProcessDefinitionName
(String newProcessDefinitionName) Sets the process definition name.void
setProcessName
(String newProcessName) Sets the process name.void
setReceiveDate
(Date newReceiveDate) Sets the receive date.void
setSubject
(String newSubject) Sets the subject.void
Sets the task id.void
setTaskUID
(String newTaskUID) Sets the task uid.void
setTransitionID
(int newTransitionID) Sets the transition id.void
Sets the user.void
setUserDefinedFields
(List<SaWsPropertyValue> newUserDefinedFields) Sets the user defined fields.
-
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 taskloadHistory
- the load historyloadUndefined
- the load undefined- Throws:
com.saperion.exception.wf.SaWorkflowException
- the sa workflow exceptioncom.saperion.exception.SaAuthenticationException
- the sa authentication exceptioncom.saperion.exception.SaSystemException
- the sa system exception
-
-
Method Details
-
getSubject
Gets the subject.- Returns:
- the subject
-
setSubject
Sets the subject.- Parameters:
newSubject
- the new subject
-
getDescription
Gets the description.- Returns:
- the description
-
setDescription
Sets the description.- Parameters:
newDescription
- the new description
-
getErrorMsg
Gets the error msg.- Returns:
- the error msg
-
setErrorMsg
Sets the error msg.- Parameters:
newErrorMsg
- the new error msg
-
getReceiveDate
Gets the receive date.- Returns:
- the receive date
-
setReceiveDate
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
Gets the activity name.- Returns:
- the activity name
-
setActivityName
Sets the activity name.- Parameters:
newActivityName
- the new activity name
-
getTaskID
Gets the task id.- Returns:
- the task id
-
setTaskID
Sets the task id.- Parameters:
newTaskID
- the new task id
-
getTaskUID
Gets the task uid.- Returns:
- the task uid
-
setTaskUID
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
Gets the process definition name.- Returns:
- the process definition name
-
setProcessDefinitionName
Sets the process definition name.- Parameters:
newProcessDefinitionName
- the new process definition name
-
getProcessName
Gets the process name.- Returns:
- the process name
-
setProcessName
Sets the process name.- Parameters:
newProcessName
- the new process name
-
getCreateDate
Gets the creates the date.- Returns:
- the creates the date
-
setCreateDate
Sets the creates the date.- Parameters:
newCreateDate
- the new creates the date
-
getDocId
Gets the doc id.- Returns:
- the doc id
-
setDocId
Sets the doc id.- Parameters:
newDocId
- the new doc id
-
getDocVersionId
Gets the doc version id.- Returns:
- the doc version id
-
setDocVersionId
Sets the doc version id.- Parameters:
newDocVersionId
- the new doc version id
-
getDocDefinition
Gets the doc definition.- Returns:
- the doc definition
-
setDocDefinition
Sets the doc definition.- Parameters:
newDocDefinition
- the new doc definition
-
getEscalationDate
Gets the escalation date.- Returns:
- the escalation date
-
setEscalationDate
Sets the escalation date.- Parameters:
newEscalationDate
- the new escalation date
-
getHoldDate
Gets the hold date.- Returns:
- the hold date
-
setHoldDate
Sets the hold date.- Parameters:
newHoldDate
- the new hold date
-
getUser
Gets the user.- Returns:
- the user
-
setUser
Sets the user.- Parameters:
newUser
- the new user
-
getOwner
Gets the owner.- Returns:
- the owner
-
setOwner
Sets the owner.- Parameters:
newOwner
- the new owner
-
getHistoryEntries
Gets the history entries.- Returns:
- the history entries
-
setHistoryEntries
Sets the history entries.- Parameters:
newHistoryEntries
- the new history entries
-
getCommands
Gets the commands.- Returns:
- the commands
-
setCommands
Sets the commands.- Parameters:
newCommands
- the new commands
-
getUserDefinedFields
Gets the user defined fields.- Returns:
- the user defined fields
-
setUserDefinedFields
Sets the user defined fields.- Parameters:
newUserDefinedFields
- the new user defined fields
-