Packagelc.process
Classpublic class ProcessInstanceInfoModel
InheritanceProcessInstanceInfoModel Inheritance PresentationModel Inheritance EventDispatcher Inheritance Object

The ProcessInstanceInfoModel class provides support for views that are interested in the data from a ProcessInstance object, which represents a process instance.

See also

lc.process.ProcessInstanceInfo
lc.domain.ProcessInstance


Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  errorMessage : Message
The error message that is generated when an attempt occurs to access the details of the selected ProcessInstance object.
ProcessInstanceInfoModel
  pendingTasks : ListCollectionView
The collection of active tasks, which are represented by Task objects that are associated with the selected ProcessInstance object.
ProcessInstanceInfoModel
  processCompleteTime : Date
The time a process instance completed processing.
ProcessInstanceInfoModel
  processDescription : String
The description of a process instance.
ProcessInstanceInfoModel
  processInstance : ProcessInstance
The ProcessInstance object to inspect for process instance information.
ProcessInstanceInfoModel
  processInstanceId : Number
The unique identifer of a process instance.
ProcessInstanceInfoModel
  processInstanceStatus : String
The process instance's status value is a localized string value that is processed by looking up the numeric value in the resource bundle.
ProcessInstanceInfoModel
  processLastUpdatedTime : Date
The most recent time a process instance was updated.
ProcessInstanceInfoModel
  processName : String
The name of a process instance.
ProcessInstanceInfoModel
  processStartTime : Date
The start time of the process instance.
ProcessInstanceInfoModel
  processVariables : ListCollectionView
The list of process variables associated with the process instance.
ProcessInstanceInfoModel
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 Inheritedsession : SessionMap
A SessionMap object that stores information relating to the server session.
PresentationModel
  showPendingTasks : Boolean = true
A flag that specifies whether pending tasks exist for a process instance.
ProcessInstanceInfoModel
  showProcessVariables : Boolean = true
A flag that specifies whether process variables exist for a process instance.
ProcessInstanceInfoModel
 Inheritedstate : String
[read-only] The name of the state the current view is in.
PresentationModel
Public Methods
 MethodDefined By
  
Constructor.
ProcessInstanceInfoModel
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
 Inherited
bindProperty(destination:Object, destinationProperty:String, source:Object, sourceChain:Object, commitOnly:Boolean = false):ChangeWatcher
Binds a public property on the destination object from a property or property chain on the source object.
PresentationModel
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
getCSSStyle(declaration:String, styleProperty:String, defaultValue:Object = null):Object
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters.
PresentationModel
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Subclasses can override this method, which initializes the presentation model after the view bindings have been processed to prevent view bindings from overriding the initial model state.
PresentationModel
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
  
Reinitializes the selected ProcessInstance object to null.
ProcessInstanceInfoModel
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Protected Methods
 MethodDefined By
 Inherited
setState(newState:String):void
Sets the 'state' property to a new value and causes a PropertyChangeEvent event.
PresentationModel
Events
 Event Summary Defined By
 Inherited Dispatched when Flash Player gains operating system focus and becomes active.EventDispatcher
 Inherited Dispatched when Flash Player loses operating system focus and is becoming inactive.EventDispatcher
Public Constants
 ConstantDefined By
  STATE_COMPLETED : String = "completedState"
[static] The model is set to this state when the loading of the process instance data has completed.
ProcessInstanceInfoModel
  STATE_ERROR : String = "errorState"
[static] The model is set to this state if there is an problem retrieving the process instance data.
ProcessInstanceInfoModel
  STATE_INITIAL : String = "initialState"
[static] The model is set to this state when it is first created.
ProcessInstanceInfoModel
  STATE_RUNNING : String = "runningState"
[static] The model is set to this state when the process instance data is being loaded.
ProcessInstanceInfoModel
Property Detail
errorMessageproperty
public var errorMessage:Message

The error message that is generated when an attempt occurs to access the details of the selected ProcessInstance object. An error message populates this property only when an error occurs.

pendingTasksproperty 
public var pendingTasks:ListCollectionView

The collection of active tasks, which are represented by Task objects that are associated with the selected ProcessInstance object.

processCompleteTimeproperty 
public var processCompleteTime:Date

The time a process instance completed processing.

processDescriptionproperty 
public var processDescription:String

The description of a process instance.

processInstanceproperty 
processInstance:ProcessInstance  [read-write]

The ProcessInstance object to inspect for process instance information. Setting the ProcessInstance object drives the loading of pending tasks and the process variables associated with the process instance.


Implementation
    public function get processInstance():ProcessInstance
    public function set processInstance(value:ProcessInstance):void
processInstanceIdproperty 
public var processInstanceId:Number

The unique identifer of a process instance.

processInstanceStatusproperty 
public var processInstanceStatus:String

The process instance's status value is a localized string value that is processed by looking up the numeric value in the resource bundle.

See also

processLastUpdatedTimeproperty 
public var processLastUpdatedTime:Date

The most recent time a process instance was updated. The last time a process was updated is calculated by iterating over the collection of Task objects, which are associated with a ProcessInstance object, and then using the date from the last Task object that was updated.

processNameproperty 
public var processName:String

The name of a process instance.

processStartTimeproperty 
public var processStartTime:Date

The start time of the process instance.

processVariablesproperty 
public var processVariables:ListCollectionView

The list of process variables associated with the process instance.

showPendingTasksproperty 
public var showPendingTasks:Boolean = true

A flag that specifies whether pending tasks exist for a process instance. A value of true specifies that one or more pending tasks exist.

The default value is true.

showProcessVariablesproperty 
public var showProcessVariables:Boolean = true

A flag that specifies whether process variables exist for a process instance. A value of true specifies thatone or more process variables exist.

The default value is true.

Constructor Detail
ProcessInstanceInfoModel()Constructor
public function ProcessInstanceInfoModel()

Constructor.

Method Detail
reset()method
public function reset():void

Reinitializes the selected ProcessInstance object to null. The properties of this class are bound directly to the ProcessInstance object, therefore, all of its properties are cleared.

Constant Detail
STATE_COMPLETEDConstant
public static const STATE_COMPLETED:String = "completedState"

The model is set to this state when the loading of the process instance data has completed.

STATE_ERRORConstant 
public static const STATE_ERROR:String = "errorState"

The model is set to this state if there is an problem retrieving the process instance data.

STATE_INITIALConstant 
public static const STATE_INITIAL:String = "initialState"

The model is set to this state when it is first created.

STATE_RUNNINGConstant 
public static const STATE_RUNNING:String = "runningState"

The model is set to this state when the process instance data is being loaded.





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/process/ProcessInstanceInfoModel.html