| Package | lc.task |
| Class | public class TaskInfoModel |
| Inheritance | TaskInfoModel PresentationModel EventDispatcher Object |
TaskInfoModel class provides support for
views that are interested in the Task object's data,
for example, the TaskInfo component.To obtain
information about a Task object, this class binds to the
Task object's properties.
The status value of the task is always a numeric value; however,
the TaskInfoModel object provides a localization key string
of the Task object's status value as a property called
statusKey. This key can be used as the key for a
resource bundle look-up.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| creationTime : Date
The date and time the task was created.
| TaskInfoModel | ||
| deadline : Date
The date the task is expected to be due.
| TaskInfoModel | ||
| description : String
The description text associated with the task.
| TaskInfoModel | ||
| instructions : String
The set of instructions to complete the task.
| TaskInfoModel | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| 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 | |
| status : Number
The numeric value representing the status of a task.
| TaskInfoModel | ||
| statusKey : String
The localization key that identifies the task's status
value as a localized string.
| TaskInfoModel | ||
| stepName : String
The name of the operation in a process diagram in which the task participates.
| TaskInfoModel | ||
| task : Task
The Task object that all properties of this model
are bound to.
| TaskInfoModel | ||
| taskId : String
The unique identifier of the task.
| TaskInfoModel | ||
| updateTime : Date
The last time the task was updated.
| TaskInfoModel | ||
| Method | Defined By | ||
|---|---|---|---|
|
Constructor.
| TaskInfoModel | ||
![]() |
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 | |
![]() |
Dispatches an event into the event flow.
| EventDispatcher | |
![]() |
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters.
| PresentationModel | |
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event.
| EventDispatcher | |
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
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 | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Removes a listener from the EventDispatcher object.
| EventDispatcher | |
|
Reinitializes the model's task property to a value of null
and the statusKey property to an empty string.
| TaskInfoModel | ||
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type.
| EventDispatcher | |
| Constant | Defined By | ||
|---|---|---|---|
| STATE_INITIAL : String = "initialState" [static]
| TaskInfoModel | ||
| creationTime | property |
public var creationTime:Date
The date and time the task was created.
| deadline | property |
public var deadline:Date
The date the task is expected to be due.
| description | property |
public var description:String
The description text associated with the task.
| instructions | property |
public var instructions:String
The set of instructions to complete the task.
| status | property |
public var status:Number
The numeric value representing the status of a task.
The status value typically is not used in the presentation layers.
In most cases, the statusKey property is the value presentation
layers that are usually used.
See also
| statusKey | property |
public var statusKey:String
The localization key that identifies the task's status
value as a localized string. The valid values are found in
lc.TaskConstants.
See also
| stepName | property |
public var stepName:String
The name of the operation in a process diagram in which the task participates.
| task | property |
public var task:Task
The Task object that all properties of this model
are bound to.
| taskId | property |
public var taskId:String
The unique identifier of the task.
| updateTime | property |
public var updateTime:Date
The last time the task was updated.
| TaskInfoModel | () | Constructor |
public function TaskInfoModel()
Constructor.
| reset | () | method |
public function reset():void
Reinitializes the model's task property to a value of null
and the statusKey property to an empty string.
| STATE_INITIAL | Constant |
public static const STATE_INITIAL:String = "initialState"
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/task/TaskInfoModel.html