Packagelc.tracking
Classpublic class ProcessInstanceDataGridModel
InheritanceProcessInstanceDataGridModel Inheritance PresentationModel Inheritance EventDispatcher Inheritance Object

The ProcessInstanceDataGridModel class obtains the ProcessInstance objects for the selected Process object.

The model provides support for the ProcessInstanceDataGrid component, providing the ability to filter the collection of process instances by using the start time and end time of a process instance.

See also

lc.domain.ProcessInstance


Public Properties
 PropertyDefined By
  columns : Array
The columns in which to display the ProcessInstanceDataGrid object.
ProcessInstanceDataGridModel
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  endDate : Date
The date and time to use for filtering a collection of ProcessInstance objects.
ProcessInstanceDataGridModel
  process : Process
A collection of ProcessInstance objects.
ProcessInstanceDataGridModel
  processInstanceDetailsSelectorModel : ProcessInstanceDetailsSelectorModel
A ProcessInstanceDetailsSelectorModel object provides support for the ProcessInstanceDetailsSelector component.
ProcessInstanceDataGridModel
  processInstances : ListCollectionView
The collection of ProcessInstance objects associated with the Process property.
ProcessInstanceDataGridModel
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  selectedProcessInstance : ProcessInstance
The process instance that is identifed to be the selected ProcessInstance object that gets loaded into the ProcessInstanceDetailSelectorModel object.
ProcessInstanceDataGridModel
  session : SessionMap
[write-only] A SessionMap object that stores infomation relating to the server session.
ProcessInstanceDataGridModel
  startDate : Date
The date and time to use for filtering a collection of ProcessInstance objects.
ProcessInstanceDataGridModel
 Inheritedstate : String
[read-only] The name of the state the current view is in.
PresentationModel
Public Methods
 MethodDefined By
  
Constructor.
ProcessInstanceDataGridModel
 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
  
Changes the model into the ProcessInstanceDataGridModel.STATE_PROCESS_INSTANCE_DETAILS state, with the provided ProcessInstance object.
ProcessInstanceDataGridModel
 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
 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_DATA : String = "dataState"
[static] The model is set into this state when the data grid is being displayed, and one or more records exist.
ProcessInstanceDataGridModel
  STATE_EMPTY : String = "emptyState"
[static] The model is set into this state when there are no process instances in the data grid.
ProcessInstanceDataGridModel
  STATE_PROCESS_INSTANCE_DETAILS : String = "processInstanceDetailState"
[static] The model is set into this state when the process details and audit information is being displayed.
ProcessInstanceDataGridModel
Property Detail
columnsproperty
public var columns:Array

The columns in which to display the ProcessInstanceDataGrid object.

endDateproperty 
endDate:Date  [read-write]

The date and time to use for filtering a collection of ProcessInstance objects. Process instances after the date and time specified by this property are filtered out.


Implementation
    public function get endDate():Date
    public function set endDate(value:Date):void
processproperty 
public var process:Process

A collection of ProcessInstance objects. Setting the process property will load the associated ProcessInstance objects.

processInstanceDetailsSelectorModelproperty 
processInstanceDetailsSelectorModel:ProcessInstanceDetailsSelectorModel  [read-write]

A ProcessInstanceDetailsSelectorModel object provides support for the ProcessInstanceDetailsSelector component.

The ProcessInstanceDetailsSelector object provides the details about the selected ProcessInstance object.


Implementation
    public function get processInstanceDetailsSelectorModel():ProcessInstanceDetailsSelectorModel
    public function set processInstanceDetailsSelectorModel(value:ProcessInstanceDetailsSelectorModel):void
processInstancesproperty 
public var processInstances:ListCollectionView

The collection of ProcessInstance objects associated with the Process property.

selectedProcessInstanceproperty 
public var selectedProcessInstance:ProcessInstance

The process instance that is identifed to be the selected ProcessInstance object that gets loaded into the ProcessInstanceDetailSelectorModel object.

sessionproperty 
session:SessionMap  [write-only]

A SessionMap object that stores infomation relating to the server session.


Implementation
    public function set session(value:SessionMap):void
startDateproperty 
startDate:Date  [read-write]

The date and time to use for filtering a collection of ProcessInstance objects. Process instances before the date and time specified by this property are filtered out.


Implementation
    public function get startDate():Date
    public function set startDate(value:Date):void
Constructor Detail
ProcessInstanceDataGridModel()Constructor
public function ProcessInstanceDataGridModel()

Constructor.

Method Detail
displayProcessInstanceDetails()method
public function displayProcessInstanceDetails(value:ProcessInstance):void

Changes the model into the ProcessInstanceDataGridModel.STATE_PROCESS_INSTANCE_DETAILS state, with the provided ProcessInstance object.

Parameters

value:ProcessInstance — Specifies the ProcessInstance object for which to display the details.

Constant Detail
STATE_DATAConstant
public static const STATE_DATA:String = "dataState"

The model is set into this state when the data grid is being displayed, and one or more records exist.

STATE_EMPTYConstant 
public static const STATE_EMPTY:String = "emptyState"

The model is set into this state when there are no process instances in the data grid.

STATE_PROCESS_INSTANCE_DETAILSConstant 
public static const STATE_PROCESS_INSTANCE_DETAILS:String = "processInstanceDetailState"

The model is set into this state when the process details and audit information is being displayed.





 

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/tracking/ProcessInstanceDataGridModel.html