Package com.saperion.ws.wrapper.wf
Class SaWsTask
- java.lang.Object
-
- com.saperion.ws.wrapper.wf.SaWsTask
-
public class SaWsTask extends java.lang.ObjectThe Class SaWsTask.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetActivityName()Gets the activity name.java.util.List<SaWsCommand>getCommands()Gets the commands.java.util.DategetCreateDate()Gets the creates the date.java.lang.StringgetDescription()Gets the description.java.lang.StringgetDocDefinition()Gets the doc definition.java.lang.StringgetDocId()Gets the doc id.java.lang.StringgetDocVersionId()Gets the doc version id.java.lang.StringgetErrorMsg()Gets the error msg.java.util.DategetEscalationDate()Gets the escalation date.java.util.List<SaWsHistoryEntry>getHistoryEntries()Gets the history entries.java.util.DategetHoldDate()Gets the hold date.SaWsActorgetOwner()Gets the owner.intgetPriority()Gets the priority.java.lang.StringgetProcessDefinitionName()Gets the process definition name.java.lang.StringgetProcessName()Gets the process name.java.util.DategetReceiveDate()Gets the receive date.java.lang.StringgetSubject()Gets the subject.java.lang.StringgetTaskID()Gets the task id.java.lang.StringgetTaskUID()Gets the task uid.intgetTransitionID()Gets the transition id.SaWsActorgetUser()Gets the user.java.util.List<SaWsPropertyValue>getUserDefinedFields()Gets the user defined fields.voidsetActivityName(java.lang.String newActivityName)Sets the activity name.voidsetCommands(java.util.List<SaWsCommand> newCommands)Sets the commands.voidsetCreateDate(java.util.Date newCreateDate)Sets the creates the date.voidsetDescription(java.lang.String newDescription)Sets the description.voidsetDocDefinition(java.lang.String newDocDefinition)Sets the doc definition.voidsetDocId(java.lang.String newDocId)Sets the doc id.voidsetDocVersionId(java.lang.String newDocVersionId)Sets the doc version id.voidsetErrorMsg(java.lang.String newErrorMsg)Sets the error msg.voidsetEscalationDate(java.util.Date newEscalationDate)Sets the escalation date.voidsetHistoryEntries(java.util.List<SaWsHistoryEntry> newHistoryEntries)Sets the history entries.voidsetHoldDate(java.util.Date newHoldDate)Sets the hold date.voidsetOwner(SaWsActor newOwner)Sets the owner.voidsetPriority(int newPriority)Sets the priority.voidsetProcessDefinitionName(java.lang.String newProcessDefinitionName)Sets the process definition name.voidsetProcessName(java.lang.String newProcessName)Sets the process name.voidsetReceiveDate(java.util.Date newReceiveDate)Sets the receive date.voidsetSubject(java.lang.String newSubject)Sets the subject.voidsetTaskID(java.lang.String newTaskID)Sets the task id.voidsetTaskUID(java.lang.String newTaskUID)Sets the task uid.voidsetTransitionID(int newTransitionID)Sets the transition id.voidsetUser(SaWsActor newUser)Sets the user.voidsetUserDefinedFields(java.util.List<SaWsPropertyValue> newUserDefinedFields)Sets the user defined fields.
-
-
-
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.SaSystemExceptionInstantiates 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 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
-
-