Packagelc.tracking
Classpublic class TrackingModel
InheritanceTrackingModel Inheritance PresentationModel Inheritance EventDispatcher Inheritance Object

The TrackingModel class provides support for the Tracking component.

The TrackingModel loads a list of processes, represented by Process objects, which the user has initiated or participated in, into the contents of the list data property. The list data also contains a SearchTemplateDescriptors object allowing the user the ability to search for tasks from within the tracking area.

If the user selects a process from the list of processes, the set of associated ProcessInstances objects are displayed in the content area of the Tracking component.

See also

lc.domain.ProcessInstance
lc.tracking.Tracking


Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  errorMessage : String
The error message after an event occurs.
TrackingModel
  iconSource : Class
The icon source for component.
TrackingModel
  listData : AggregatingCollection
A collection of Process objects and a SearchTemplateDescriptors object.
TrackingModel
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  selectedProcess : Process
The selectedProcess property is set after all processes have been loaded.
TrackingModel
 Inheritedsession : SessionMap
A SessionMap object that stores information relating to the server session.
PresentationModel
 Inheritedstate : String
[read-only] The name of the state the current view is in.
PresentationModel
Public Methods
 MethodDefined By
  
Constructor.
TrackingModel
 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
  
Initializes the SearchTemplateDescriptors objects and adds them to the listData property.
TrackingModel
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
  
Loads the processes that a user has participated in or has started.
TrackingModel
 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_ERROR : String = "errorState"
[static] The model is set into this state when an error occurs.
TrackingModel
Property Detail
errorMessageproperty
public var errorMessage:String

The error message after an event occurs.

iconSourceproperty 
public var iconSource:Class

The icon source for component.

listDataproperty 
public var listData:AggregatingCollection

A collection of Process objects and a SearchTemplateDescriptors object.

selectedProcessproperty 
public var selectedProcess:Process

The selectedProcess property is set after all processes have been loaded. The selectedProcess property is set to the first Process object stored in the listData property.

Constructor Detail
TrackingModel()Constructor
public function TrackingModel()

Constructor.

Method Detail
initialize()method
public override function initialize():void

Initializes the SearchTemplateDescriptors objects and adds them to the listData property.

loadProcesses()method 
public function loadProcesses():void

Loads the processes that a user has participated in or has started.

Constant Detail
STATE_ERRORConstant
public static const STATE_ERROR:String = "errorState"

The model is set into this state when an error occurs.





 

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/TrackingModel.html