| Package | com.adobe.icc.editors.model |
| Class | public class AssetModel |
| Inheritance | AssetModel EventDispatcher Object |
| Subclasses | FragmentLayoutModel, LayoutModel, LetterModel, ModuleModel |
| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
This class is supposedly abstract and should not be instantiated as is.
To work on a particular asset, its corresponding domain model class must
be used e.g. TextModel, LayoutModel etc.
It contains several properties and methods pulled up from the concrete classes. In case, a new asset is introduced in the system and a domain class needs to be written for it, this class should be extended even though it's not mandatory.
| Property | Defined By | ||
|---|---|---|---|
| activeEndDate : Date
The activeEndDate of the underlying value object. | AssetModel | ||
| activeStartDate : Date
The activeStartDate date of the underlying value object. | AssetModel | ||
| category : Category
The Category of the underlying value object. | AssetModel | ||
| comment : String
The comment of the underlying value object. | AssetModel | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
| crxVersion : String
The crx version of the underlying value object. | AssetModel | ||
| description : String
The description of the underlying value object. | AssetModel | ||
| extendedProperties : Object
The extended properties of the underlying value object. | AssetModel | ||
| id : String
The GUID of the underlying value object. | AssetModel | ||
| isNew : Boolean
Indicates if this Asset is new. | AssetModel | ||
| lastChangeBy : String
The lastChangeBy property of the underlying value object. | AssetModel | ||
| name : String
The name of the underlying value object. | AssetModel | ||
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | |
| state : int
The state of the underlying value object. | AssetModel | ||
| subCategory : Category
The Sub-Category of the underlying value object. | AssetModel | ||
| version : int
The version of the underlying value object. | AssetModel | ||
| vo : *
The value object which this asset domain object is built atop. | AssetModel | ||
| Property | Defined By | ||
|---|---|---|---|
| isCopy : Boolean
Indicates that the object is a copy of an existing Asset. | AssetModel | ||
| oldId : String
Id of the Asset which was cloned to create this copy. | AssetModel | ||
| preferencesManager : PreferencesManager
To manage user preferences for category, subcategory and data dictionary. | AssetModel | ||
| 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 | |
![]() |
Dispatches an event into the event flow. | EventDispatcher | |
![]() |
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 | |
![]() |
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 | |
Saves the user edits for any asset. | AssetModel | ||
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | 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 | |
| Event | Summary | Defined By | ||
|---|---|---|---|---|
![]() | [broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active. | EventDispatcher | ||
![]() | [broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive. | EventDispatcher | ||
| Dispatched when this Asset is completely fetched from the server. | AssetModel | |||
activeEndDate | property |
activeEndDate:Date| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The activeEndDate of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the fetchComplete event.
Implementation
public function get activeEndDate():Date public function set activeEndDate(value:Date):voidactiveStartDate | property |
activeStartDate:Date| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The activeStartDate date of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the fetchComplete event.
Implementation
public function get activeStartDate():Date public function set activeStartDate(value:Date):voidcategory | property |
category:Category| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The Category of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the categoryChange event.
Implementation
public function get category():Category public function set category(value:Category):voidcomment | property |
comment:String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The comment of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the fetchComplete event.
Implementation
public function get comment():String public function set comment(value:String):voidcrxVersion | property |
crxVersion:String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The crx version of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the fetchComplete event.
Implementation
public function get crxVersion():String public function set crxVersion(value:String):voiddescription | property |
description:String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The description of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the fetchComplete event.
Implementation
public function get description():String public function set description(value:String):voidextendedProperties | property |
extendedProperties:Object| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The extended properties of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the extendedPropertiesChange event.
Implementation
public function get extendedProperties():Object public function set extendedProperties(value:Object):voidid | property |
id:String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The GUID of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the fetchComplete event.
Implementation
public function get id():String public function set id(value:String):voidisCopy | property |
protected var isCopy:Boolean| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicates that the object is a copy of an existing Asset.
isNew | property |
public var isNew:Boolean| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicates if this Asset is new. New Asset objects are existent purely on the client side until they are saved.
lastChangeBy | property |
lastChangeBy:String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The lastChangeBy property of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the fetchComplete event.
Implementation
public function get lastChangeBy():String public function set lastChangeBy(value:String):voidname | property |
name:String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the fetchComplete event.
Implementation
public function get name():String public function set name(value:String):voidoldId | property |
protected var oldId:String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Id of the Asset which was cloned to create this copy. This is applicable only when this Asset is a copy of an existing Asset.
preferencesManager | property |
protected var preferencesManager:PreferencesManager| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
To manage user preferences for category, subcategory and data dictionary.
state | property |
state:int| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The state of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the fetchComplete event.
Implementation
public function get state():int public function set state(value:int):voidsubCategory | property |
subCategory:Category| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The Sub-Category of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the categoryChange event.
Implementation
public function get subCategory():Category public function set subCategory(value:Category):voidversion | property |
version:int| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The version of the underlying value object.
This property can be used as the source for data binding. When this property is modified, it dispatches the fetchComplete event.
Implementation
public function get version():int public function set version(value:int):voidvo | property |
vo:*| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The value object which this asset domain object is built atop. The type of the value object corresponds to the type of the domain object.
This property can be used as the source for data binding. When this property is modified, it dispatches the valueObjectChange event.
Implementation
public function get vo():* public function set vo(value:any):voidsave | () | method |
public function save():void| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Saves the user edits for any asset.
fetchComplete | Event |
flash.events.Eventproperty Event.type =
flash.events.Event| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Dispatched when this Asset is completely fetched from the server. Assets are often kept shallow in the Asset Manager and fetched completely only when necessary. The fetchComplete event is dispatched when the Asset has been retrieved completely from the server.
Mon Nov 28 2011, 06:48 AM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties