Class DefaultWorkflowTask
Object
com.liferay.portal.kernel.workflow.BaseWorkflowNode
com.liferay.portal.kernel.workflow.DefaultWorkflowTask
- All Implemented Interfaces:
WorkflowModel
,WorkflowNode
,WorkflowTask
,Serializable
- Author:
- Michael C. Han, Brian Wing Shun Chan, Marcellus Tavares
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.liferay.portal.kernel.workflow.WorkflowNode
WorkflowNode.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
long
int
long
long
boolean
boolean
boolean
void
setAsynchronous
(boolean asynchronous) void
setCompletionDate
(Date completionDate) void
setCreateDate
(Date createDate) void
setDescription
(String description) void
setDueDate
(Date dueDate) void
setOptionalAttributes
(Map<String, Serializable> optionalAttributes) void
setUserName
(String userName) void
setWorkflowDefinitionId
(long workflowDefinitionId) void
setWorkflowDefinitionName
(String workflowDefinitionName) void
setWorkflowDefinitionVersion
(int workflowDefinitionVersion) void
setWorkflowInstanceId
(long workflowInstanceId) void
setWorkflowTaskAssignees
(Collection<WorkflowTaskAssignee> workflowTaskAssignees) void
setWorkflowTaskId
(long workflowTaskId) Methods inherited from class com.liferay.portal.kernel.workflow.BaseWorkflowNode
getLabel, getLabelMap, getName, getType, setLabelMap, setName, setType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.workflow.WorkflowNode
getLabel, getLabelMap
Methods inherited from interface com.liferay.portal.kernel.workflow.WorkflowTask
getName, getType
-
Constructor Details
-
DefaultWorkflowTask
public DefaultWorkflowTask()
-
-
Method Details
-
getAssigneeUserId
public long getAssigneeUserId()- Specified by:
getAssigneeUserId
in interfaceWorkflowTask
-
getCompletionDate
- Specified by:
getCompletionDate
in interfaceWorkflowTask
-
getCreateDate
- Specified by:
getCreateDate
in interfaceWorkflowTask
-
getDescription
- Specified by:
getDescription
in interfaceWorkflowTask
-
getDueDate
- Specified by:
getDueDate
in interfaceWorkflowTask
-
getOptionalAttributes
- Specified by:
getOptionalAttributes
in interfaceWorkflowTask
-
getUserName
- Specified by:
getUserName
in interfaceWorkflowTask
-
getWorkflowDefinitionId
public long getWorkflowDefinitionId()- Specified by:
getWorkflowDefinitionId
in interfaceWorkflowTask
-
getWorkflowDefinitionName
- Specified by:
getWorkflowDefinitionName
in interfaceWorkflowTask
-
getWorkflowDefinitionVersion
public int getWorkflowDefinitionVersion()- Specified by:
getWorkflowDefinitionVersion
in interfaceWorkflowTask
-
getWorkflowInstanceId
public long getWorkflowInstanceId()- Specified by:
getWorkflowInstanceId
in interfaceWorkflowTask
-
getWorkflowTaskAssignees
- Specified by:
getWorkflowTaskAssignees
in interfaceWorkflowTask
-
getWorkflowTaskId
public long getWorkflowTaskId()- Specified by:
getWorkflowTaskId
in interfaceWorkflowTask
-
isAssignedToSingleUser
public boolean isAssignedToSingleUser()- Specified by:
isAssignedToSingleUser
in interfaceWorkflowTask
-
isAsynchronous
public boolean isAsynchronous()- Specified by:
isAsynchronous
in interfaceWorkflowTask
-
isCompleted
public boolean isCompleted()- Specified by:
isCompleted
in interfaceWorkflowTask
-
setAsynchronous
public void setAsynchronous(boolean asynchronous) -
setCompletionDate
-
setCreateDate
-
setDescription
-
setDueDate
-
setOptionalAttributes
-
setUserName
-
setWorkflowDefinitionId
public void setWorkflowDefinitionId(long workflowDefinitionId) -
setWorkflowDefinitionName
-
setWorkflowDefinitionVersion
public void setWorkflowDefinitionVersion(int workflowDefinitionVersion) -
setWorkflowInstanceId
public void setWorkflowInstanceId(long workflowInstanceId) -
setWorkflowTaskAssignees
-
setWorkflowTaskId
public void setWorkflowTaskId(long workflowTaskId)
-