| 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 1.0, 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 | ||
| comparePropertyArray : Array [static] | AssetModel | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
| description : String
The description 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 | ||
| state : int
The state of the underlying value object. | AssetModel | ||
| subCategory : Category
he 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 | ||
| 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 1.0, 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 1.0, 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 1.0, 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 1.0, 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):voidcomparePropertyArray | property |
public static var comparePropertyArray:Arraydescription | property |
description:String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR 1.0, 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):voidid | property |
id:String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 9.5 |
| Runtime Versions: | AIR 1.0, 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 1.0, 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 1.0, 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 1.0, 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 1.0, 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 1.0, 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 1.0, 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 1.0, 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 1.0, Flash Player 9, Flash Player 10 |
he 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 1.0, 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 1.0, 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):voidfetchComplete | Event |
flash.events.EventDispatched 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.
Wed Nov 21 2018, 06:34 AM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties