Modifier and Type | Method and Description |
---|---|
List<? extends Task> |
getAllTasks()
Returns the list of all tasks (completed or not) in the state
|
List<Approval> |
getApprovals()
Deprecated.
use
StateApproval.getApprovals() instead and check Approval.isApproved() is true. |
List<? extends Assignment> |
getAssignments()
Returns a list of assignments on this state.
|
List<? extends AttachmentVersion> |
getAttachmentVersions()
Returns a list of the version of the content's attachments, at the time the content reached this state
|
String |
getColour()
Returns a string that represents the colour of the state
|
int |
getContentVersion()
Returns the content's version at the time it reached this state.
|
String |
getDescription()
Deprecated.
from 1.4 use
Workflow.State.getDescription() |
Date |
getExpirationDate()
Returns the expiration date for this state.
|
Assignment |
getLastAssignment()
Deprecated.
state assignment is no longer supported.
|
String |
getName()
Returns the state name
|
List<Rejection> |
getRejections()
Deprecated.
use
StateApproval.getApprovals() instead and check Approval.isApproved() is false. |
List<? extends Task> |
getTasks()
Returns the list of active tasks in the state
|
boolean |
isAssignable()
Deprecated.
State assignment is no longer supported. This attribute will be removed in a future version.
|
boolean |
isPublished()
Returns true if the current state activity represents the published
version of a page.
|
boolean |
isTaskable()
Deprecated.
This attribute is actually associated with the workflow, not
a state activity. This property was previously set correctly when
retrieving the current state, but may not be accurate for
historic states. From 1.4 to determine if a future state will be
taskable use
Workflow.State.isTaskable() . |
boolean |
isVersionsCompleted() |
getActivityId, getComment, getDate, getUserName
String getName()
String getDescription()
Workflow.State.getDescription()
int getContentVersion()
List<? extends AttachmentVersion> getAttachmentVersions()
List<? extends Assignment> getAssignments()
Assignment getLastAssignment()
List<? extends Task> getTasks()
List<? extends Task> getAllTasks()
List<Approval> getApprovals()
StateApproval.getApprovals()
instead and check Approval.isApproved()
is true.List<Rejection> getRejections()
StateApproval.getApprovals()
instead and check Approval.isApproved()
is false.Date getExpirationDate()
boolean isPublished()
boolean isVersionsCompleted()
boolean isTaskable()
Workflow.State.isTaskable()
.boolean isAssignable()
String getColour()
Copyright © 2021 Comala Technology Solutions, Inc.. All rights reserved.