lc.procmgmt.ui.endpoint

# EndpointDetailsModel - AS3 ADEP Document Services

(Beta)

Package | lc.procmgmt.ui.endpoint
Class | public class EndpointDetailsModel
Inheritance | EndpointDetailsModel PresentationModel EventDispatcher Object

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2

Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10

The `EndpointDetailsModel` class provides support for the views that are interested in `EndpointDetails` component.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object
|  | session : SessionMap A SessionMap object that stores information relating to the server session. | PresentationModel
|  | state : String [read-only] The name of the state the current view is in. | PresentationModel
|  | task : lc.procmgmt.domain:Task [read-only] The task associated with the selected endpoint. | EndpointDetailsModel
|  | taskImageModel : lc.procmgmt.ui.task:TaskImageModel The details of an image associated with a task. | EndpointDetailsModel
|  | taskInfoModel : lc.procmgmt.ui.task:TaskInfoModel The details of a task. | EndpointDetailsModel

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | 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
|  | 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
|  | dispatchEvent(event:Event):Boolean Dispatches an event into the event flow. | EventDispatcher
|  | 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
|  | hasEventListener(type:String):Boolean Checks whether the EventDispatcher object has any listeners registered for a specific type of event. | EventDispatcher
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | initialize():void Initializes the presentation model after the view bindings are processed to prevent view bindings from overriding the initial model state. | PresentationModel
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | openForm():void Dispatches a TaskEvent.OPEN event when the process card is selected in Workspace ES2. | EndpointDetailsModel
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void Removes a listener from the EventDispatcher object. | EventDispatcher
|  | reset():void Reinitializes the TaskInfoModel and TaskImageModel objects. | EndpointDetailsModel
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object
|  | willTrigger(type:String):Boolean Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | EventDispatcher

Protected Methods
Hide Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | setState(newState:String):void Sets the state property to a new value and causes a PropertyChangeEvent event. | PresentationModel

Events
Click for more information on events
Hide Inherited Events
Show Inherited Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | activate | [broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active. | EventDispatcher
|  | deactivate | [broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive. | EventDispatcher
|  | open | The event is dispatched when an process card is selected in LiveCycle Workspace ES2. | EndpointDetailsModel

Property Detail

### task

property

`task:lc.procmgmt.domain:Task` [read-only]

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2

Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10

The task associated with the selected endpoint.

This property can be used as the source for data binding. When this property is modified, it dispatches the `propertyChange` event.

Implementation
`public function get task():lc.procmgmt.domain:Task`

### taskImageModel

property

`taskImageModel:lc.procmgmt.ui.task:TaskImageModel`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2

Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10

The details of an image associated with a task.

This property can be used as the source for data binding. When this property is modified, it dispatches the `propertyChange` event.

Implementation
`public function get taskImageModel():lc.procmgmt.ui.task:TaskImageModel`
`public function set taskImageModel(value:lc.procmgmt.ui.task:TaskImageModel):void`

### taskInfoModel

property

`taskInfoModel:lc.procmgmt.ui.task:TaskInfoModel`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2

Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10

The details of a task.

This property can be used as the source for data binding. When this property is modified, it dispatches the `propertyChange` event.

Implementation
`public function get taskInfoModel():lc.procmgmt.ui.task:TaskInfoModel`
`public function set taskInfoModel(value:lc.procmgmt.ui.task:TaskInfoModel):void`
Method Detail

### openForm

()
method

`public function openForm():void`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2

Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10

Dispatches a `TaskEvent.OPEN` event when the process card is selected in Workspace ES2.

### reset

()
method

`public function reset():void`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2

Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10

Reinitializes the `TaskInfoModel` and `TaskImageModel` objects. This method gets called when the `EndpointDetailsSelectorModel` object is being reset.

Event Detail

### open

Event

Event Object Type: `lc.procmgmt.events.TaskEvent`
property TaskEvent.type = `lc.procmgmt.events.TaskEvent.OPEN`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2

Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10

The event is dispatched when an process card is selected in LiveCycle Workspace ES2.

© 2013 Adobe Systems Incorporated. All rights reserved.
Mon Nov 18 2013, 11:47 AM -08:00