|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.data.BbObject
blackboard.cms.workflow.WorkflowStatus
public class WorkflowStatus
The WorkflowStatus class provides a representation of a Workflow Status
within the Blackboard application. An example of how to retrieve the status of a
given workflow.
WorkflowAssignment wfAssignment = WorkflowAssignmentManager.loadById(wfassignmentId);
String strStatus = null;
if (statusId != null) {
WorkflowStatus wfStatus = WorkflowTypeManager.loadStatusById(wfAssignment.getStatusId());
if (wfStatus != null) {
strStatus = wfStatus.getTitle();
} else {
strStatus =resourceBundle.getString("workflowactivity.terms.status.notstarted");
}
} else {
strStatus = resourceBundle.getString("workflowactivity.terms.status.notstarted");
}
| Field Summary | |
|---|---|
static blackboard.persist.DataType |
DATA_TYPE
Deprecated. Object data type constant used in brokering loaders and persisters |
static java.lang.String |
RESOURCE_BUNDLE
Deprecated. Resource bundle for this data object |
| Fields inherited from class blackboard.data.BbObject |
|---|
_bbAttributes |
| Constructor Summary | |
|---|---|
WorkflowStatus()
Deprecated. Creates an instance of WorkflowStatus with default property values. |
|
| Method Summary | |
|---|---|
boolean |
getCompletedInd()
Deprecated. Returns a flag that denotes whether the WorkflowStatus is completed. |
blackboard.persist.DataType |
getDataType()
Deprecated. Returns the DataType identifier for this object. |
java.lang.String |
getPersistentTitle()
Deprecated. Returns the database Title for the WorkflowStatus. |
java.lang.String |
getTitle()
Deprecated. Returns the Title for the WorkflowStatus. |
java.lang.String |
getWorkflowType()
Deprecated. Returns the Workflow Type for the WorkflowType. |
void |
setCompletedInd(boolean val)
Deprecated. Sets a flag that denotes whether the WorkflowStatus is completed. |
void |
setTitle(java.lang.String strTitle)
Deprecated. Sets the Title for the WorkflowType. |
void |
setWorkflowType(java.lang.String strWorkflowType)
Deprecated. Sets the Workflow Type for the WorkflowType. |
| Methods inherited from class blackboard.data.BbObject |
|---|
clone, getBbAttributes, getCreatedDate, getId, getModifiedDate, persist, setCreatedDate, setId, setModifiedDate, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final blackboard.persist.DataType DATA_TYPE
public static final java.lang.String RESOURCE_BUNDLE
| Constructor Detail |
|---|
public WorkflowStatus()
WorkflowStatus with default property values.
| Method Detail |
|---|
public boolean getCompletedInd()
WorkflowStatus is completed.
WorkflowStatus is completed, false otherwise.public void setCompletedInd(boolean val)
WorkflowStatus is completed.
val - true if the WorkflowStatus is completed, false otherwise.public java.lang.String getPersistentTitle()
WorkflowStatus.
String representing the Title for the WorkflowStatus.public java.lang.String getTitle()
WorkflowStatus.
String representing the Title for the WorkflowStatus.public void setTitle(java.lang.String strTitle)
WorkflowType.
strTitle - a String representing the Title for the WorkflowType.public java.lang.String getWorkflowType()
WorkflowType.
String representing the Workflow Type for the WorkflowType.public void setWorkflowType(java.lang.String strWorkflowType)
WorkflowType.
strWorkflowType - a String representing the Workflow Type for the WorkflowType.public blackboard.persist.DataType getDataType()
DataType identifier for this object. Can be used to
uniquely identify the "type" of this data object.
getDataType in interface blackboard.data.IBbObjectgetDataType in interface blackboard.data.IdentifiablegetDataType in class blackboard.data.BbObjectDataType for this object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||