blackboard.cms.workflow
Class WorkflowStatus

java.lang.Object
  extended by blackboard.data.BbObject
      extended by blackboard.cms.workflow.WorkflowStatus
All Implemented Interfaces:
blackboard.data.IBbObject, blackboard.data.Identifiable, java.lang.Cloneable

Deprecated.

public class WorkflowStatus
extends blackboard.data.BbObject

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");
 }
 

Since:
Bb CS 1.0
Version:
$Revision: #1 $

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

DATA_TYPE

public static final blackboard.persist.DataType DATA_TYPE
Deprecated. 
Object data type constant used in brokering loaders and persisters


RESOURCE_BUNDLE

public static final java.lang.String RESOURCE_BUNDLE
Deprecated. 
Resource bundle for this data object

See Also:
Constant Field Values
Constructor Detail

WorkflowStatus

public WorkflowStatus()
Deprecated. 
Creates an instance of WorkflowStatus with default property values.

Method Detail

getCompletedInd

public boolean getCompletedInd()
Deprecated. 
Returns a flag that denotes whether the WorkflowStatus is completed.

Returns:
true if the WorkflowStatus is completed, false otherwise.

setCompletedInd

public void setCompletedInd(boolean val)
Deprecated. 
Sets a flag that denotes whether the WorkflowStatus is completed.

Parameters:
val - true if the WorkflowStatus is completed, false otherwise.

getPersistentTitle

public java.lang.String getPersistentTitle()
Deprecated. 
Returns the database Title for the WorkflowStatus.

Returns:
a String representing the Title for the WorkflowStatus.

getTitle

public java.lang.String getTitle()
Deprecated. 
Returns the Title for the WorkflowStatus.

Returns:
a String representing the Title for the WorkflowStatus.

setTitle

public void setTitle(java.lang.String strTitle)
Deprecated. 
Sets the Title for the WorkflowType.

Parameters:
strTitle - a String representing the Title for the WorkflowType.

getWorkflowType

public java.lang.String getWorkflowType()
Deprecated. 
Returns the Workflow Type for the WorkflowType.

Returns:
a String representing the Workflow Type for the WorkflowType.

setWorkflowType

public void setWorkflowType(java.lang.String strWorkflowType)
Deprecated. 
Sets the Workflow Type for the WorkflowType.

Parameters:
strWorkflowType - a String representing the Workflow Type for the WorkflowType.

getDataType

public blackboard.persist.DataType getDataType()
Deprecated. 
Returns the DataType identifier for this object. Can be used to uniquely identify the "type" of this data object.

Specified by:
getDataType in interface blackboard.data.IBbObject
Specified by:
getDataType in interface blackboard.data.Identifiable
Specified by:
getDataType in class blackboard.data.BbObject
Returns:
the DataType for this object


Copyright © 2003-2004 Blackboard, Inc. All Rights Reserved.