Package org.jbpm.kie.services.impl.model
Class UserTaskInstanceWithPotOwnerDesc
- java.lang.Object
-
- org.jbpm.kie.services.impl.model.UserTaskInstanceDesc
-
- org.jbpm.kie.services.impl.model.UserTaskInstanceWithPotOwnerDesc
-
- All Implemented Interfaces:
Serializable,UserTaskInstanceDesc,UserTaskInstanceWithPotOwnerDesc
public class UserTaskInstanceWithPotOwnerDesc extends UserTaskInstanceDesc implements UserTaskInstanceWithPotOwnerDesc, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserTaskInstanceWithPotOwnerDesc(Long taskId, String name, String description, String formName, String subject, String actualOwner, String potOwner, String correlationKey, Date createdOn, String createdBy, Date expirationDate, Date lastModificationDate, String lastModificationUser, Integer priority, String status, Long processInstanceId, String processId, String deploymentId, String processInstanceDescription)UserTaskInstanceWithPotOwnerDesc(String actualOwner, String createdBy, Date createdOn, Date expirationDate, Long taskId, String name, String description, Integer priority, Long processInstanceId, String processId, String status, String potOwner, String formName, String correlationKey, String subject, String deploymentId, String processInstanceDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExtraData(String variable, Object variableValue)voidaddInputdata(String variable, Object variableValue)voidaddOutputdata(String variable, Object variableValue)voidaddPotOwner(String potOwners)voidaddProcessVariable(String variable, Object variableValue)StringgetCorrelationKey()Returns correlation keyMap<String,Object>getExtraData()return the user task process extra data from queryMap<String,Object>getInputdata()Returns the user task input dataDategetLastModificationDate()Returns the user task potential modification dateStringgetLastModificationUser()Returns the user task last modification userMap<String,Object>getOutputdata()Returns the user task output dataList<String>getPotentialOwners()Returns the user task potential ownersStringgetProcessInstanceDescription()Returns the user task process instance descriptionMap<String,Object>getProcessVariables()Returns the process variables this task belongsStringgetSubject()* Returns task subjectvoidsetCorrelationKey(String correlationKey)Sets correlation keyvoidsetExtraData(Map<String,Object> data)voidsetInputdata(Map<String,Object> inputdata)voidsetLastModificationDate(Date lastModificationDate)voidsetLastModificationUser(String lastModificationUser)voidsetOutputdata(Map<String,Object> outputdata)voidsetPotentialOwners(List<String> potOwners)voidsetProcessInstanceDescription(String processInstanceDescription)voidsetProcessVariables(Map<String,Object> processVariables)voidsetSubject(String subject)Set task subject-
Methods inherited from class org.jbpm.kie.services.impl.model.UserTaskInstanceDesc
getActivationTime, getActualOwner, getCreatedBy, getCreatedOn, getDeploymentId, getDescription, getDueDate, getFormName, getName, getPriority, getProcessId, getProcessInstanceId, getProcessType, getSlaCompliance, getSlaDueDate, getStatus, getTaskId, getWorkItemId, setDescription, setDueDate, setFormName, setName, setPriority, setProcessType, setSlaCompliance, setSlaDueDate, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jbpm.services.api.model.UserTaskInstanceDesc
getActivationTime, getActualOwner, getCreatedBy, getCreatedOn, getDeploymentId, getDescription, getDueDate, getFormName, getName, getPriority, getProcessId, getProcessInstanceId, getProcessType, getSlaCompliance, getSlaDueDate, getStatus, getTaskId, getWorkItemId, setProcessType, setSlaCompliance, setSlaDueDate
-
-
-
-
Constructor Detail
-
UserTaskInstanceWithPotOwnerDesc
public UserTaskInstanceWithPotOwnerDesc(Long taskId, String name, String description, String formName, String subject, String actualOwner, String potOwner, String correlationKey, Date createdOn, String createdBy, Date expirationDate, Date lastModificationDate, String lastModificationUser, Integer priority, String status, Long processInstanceId, String processId, String deploymentId, String processInstanceDescription)
-
UserTaskInstanceWithPotOwnerDesc
public UserTaskInstanceWithPotOwnerDesc(String actualOwner, String createdBy, Date createdOn, Date expirationDate, Long taskId, String name, String description, Integer priority, Long processInstanceId, String processId, String status, String potOwner, String formName, String correlationKey, String subject, String deploymentId, String processInstanceDescription)
-
-
Method Detail
-
getPotentialOwners
public List<String> getPotentialOwners()
Description copied from interface:UserTaskInstanceWithPotOwnerDescReturns the user task potential owners- Specified by:
getPotentialOwnersin interfaceUserTaskInstanceWithPotOwnerDesc- Returns:
- potential owners
-
getCorrelationKey
public String getCorrelationKey()
Description copied from interface:UserTaskInstanceDescReturns correlation key- Specified by:
getCorrelationKeyin interfaceUserTaskInstanceDesc- Specified by:
getCorrelationKeyin interfaceUserTaskInstanceWithPotOwnerDesc- Overrides:
getCorrelationKeyin classUserTaskInstanceDesc- Returns:
- correlation key
-
getLastModificationDate
public Date getLastModificationDate()
Description copied from interface:UserTaskInstanceWithPotOwnerDescReturns the user task potential modification date- Specified by:
getLastModificationDatein interfaceUserTaskInstanceWithPotOwnerDesc- Returns:
- modification date
-
getSubject
public String getSubject()
Description copied from interface:UserTaskInstanceDesc* Returns task subject- Specified by:
getSubjectin interfaceUserTaskInstanceDesc- Specified by:
getSubjectin interfaceUserTaskInstanceWithPotOwnerDesc- Overrides:
getSubjectin classUserTaskInstanceDesc- Returns:
- task subject
-
getLastModificationUser
public String getLastModificationUser()
Description copied from interface:UserTaskInstanceWithPotOwnerDescReturns the user task last modification user- Specified by:
getLastModificationUserin interfaceUserTaskInstanceWithPotOwnerDesc- Returns:
- last modification user
-
addPotOwner
public void addPotOwner(String potOwners)
-
setCorrelationKey
public void setCorrelationKey(String correlationKey)
Description copied from interface:UserTaskInstanceDescSets correlation key- Specified by:
setCorrelationKeyin interfaceUserTaskInstanceDesc- Overrides:
setCorrelationKeyin classUserTaskInstanceDesc
-
setLastModificationDate
public void setLastModificationDate(Date lastModificationDate)
-
setSubject
public void setSubject(String subject)
Description copied from interface:UserTaskInstanceDescSet task subject- Specified by:
setSubjectin interfaceUserTaskInstanceDesc- Overrides:
setSubjectin classUserTaskInstanceDesc- Parameters:
subject- task subject
-
setLastModificationUser
public void setLastModificationUser(String lastModificationUser)
-
getInputdata
public Map<String,Object> getInputdata()
Description copied from interface:UserTaskInstanceWithPotOwnerDescReturns the user task input data- Specified by:
getInputdatain interfaceUserTaskInstanceWithPotOwnerDesc- Returns:
- input data
-
getOutputdata
public Map<String,Object> getOutputdata()
Description copied from interface:UserTaskInstanceWithPotOwnerDescReturns the user task output data- Specified by:
getOutputdatain interfaceUserTaskInstanceWithPotOwnerDesc- Returns:
- output data
-
getProcessInstanceDescription
public String getProcessInstanceDescription()
Description copied from interface:UserTaskInstanceWithPotOwnerDescReturns the user task process instance description- Specified by:
getProcessInstanceDescriptionin interfaceUserTaskInstanceWithPotOwnerDesc- Returns:
- process instance description
-
setProcessInstanceDescription
public void setProcessInstanceDescription(String processInstanceDescription)
-
getProcessVariables
public Map<String,Object> getProcessVariables()
Description copied from interface:UserTaskInstanceWithPotOwnerDescReturns the process variables this task belongs- Specified by:
getProcessVariablesin interfaceUserTaskInstanceWithPotOwnerDesc- Returns:
- process variables
-
getExtraData
public Map<String,Object> getExtraData()
Description copied from interface:UserTaskInstanceWithPotOwnerDescreturn the user task process extra data from query- Specified by:
getExtraDatain interfaceUserTaskInstanceWithPotOwnerDesc- Returns:
-
-