Пакет | com.adobe.mosaic.om.interfaces |
Интерфейс | public interface ICatalog |
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
ICatalog
interface represents a particular catalog, and provides methods for retrieving
tiles from a catalog deployed to the Experience Server.
Свойство | Определено | ||
---|---|---|---|
panels : Array [только для чтения]
Retrieves an array of panels from the catalog to add to an application. | ICatalog | ||
serviceLibraries : Array [только для чтения]
Retrieves an array of service libraries from the catalog to add to an application. | ICatalog | ||
session : ISession [только для чтения]
Returns the current ISession associated with this catalog
| ICatalog | ||
stylesheets : Array [только для чтения]
Returns an array of URLs representing each stylesheet from the composite application catalog. | ICatalog | ||
tiles : Array [только для чтения]
Retrieves an array of tiles from the catalog to add to an application. | ICatalog | ||
uri : String [только для чтения]
Returns the URI of this catalog, which is defined in the application(s) that reference this catalog. | ICatalog | ||
url : String [только для чтения]
Returns the current url for this catalog's descriptor
| ICatalog | ||
views : Array [только для чтения]
Retrieves an array of views from the catalog to add to an application. | ICatalog |
Метод | Определено | ||
---|---|---|---|
Returns the panel with the given name from this Catalog. | ICatalog | ||
Retrieves a service from the Service Library in the catalog. | ICatalog | ||
Retrieves a tile from the catalog to add to an application. | ICatalog | ||
Returns the view with the given name from this Catalog. | ICatalog | ||
NOT IMPLEMENTED
Retrieves any file asset from the catalog. | ICatalog | ||
postAsset(assetUri:String, content:Object, onSuccess:Function = null, onFailure:Function = null):void
NOT IMPLEMENTED
Sets any file asset in the catalog
| ICatalog |
panels | свойство |
panels:Array
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Retrieves an array of panels from the catalog to add to an application. This method sets all the default parameters required for the panel to function.
Реализация
public function get panels():Array
Связанные элементы API
serviceLibraries | свойство |
serviceLibraries:Array
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Retrieves an array of service libraries from the catalog to add to an application.
Реализация
public function get serviceLibraries():Array
Связанные элементы API
session | свойство |
session:ISession
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Returns the current ISession associated with this catalog
Реализация
public function get session():ISession
Связанные элементы API
stylesheets | свойство |
stylesheets:Array
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Returns an array of URLs representing each stylesheet from the composite application catalog.
The stylesheets can be referenced by tiles to allow you to create consistent styling between tiles and the containing applications.
Реализация
public function get stylesheets():Array
Связанные элементы API
tiles | свойство |
tiles:Array
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Retrieves an array of tiles from the catalog to add to an application. This method sets all the default parameters required for the tile to function.
Реализация
public function get tiles():Array
Связанные элементы API
uri | свойство |
uri:String
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Returns the URI of this catalog, which is defined in the application(s) that reference this catalog.
Реализация
public function get uri():String
url | свойство |
url:String
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Returns the current url for this catalog's descriptor
Реализация
public function get url():String
views | свойство |
views:Array
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Retrieves an array of views from the catalog to add to an application. This method sets all the default parameters required for the view to function.
Реализация
public function get views():Array
Связанные элементы API
getPanel | () | метод |
public function getPanel(n:String):IPanel
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Returns the panel with the given name from this Catalog.
Параметры
n:String — The name of the panel in the catalog. This corresponds to the name attribute in the deployed catalog.
|
IPanel — The named Panel from the Catalog
|
getService | () | метод |
public function getService(name:String, library:String):IService
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Retrieves a service from the Service Library in the catalog.
Параметры
name:String — The name of the service class
| |
library:String — The service library name that holds the service class
|
IService — The Service stored in the catalog
|
Связанные элементы API
getTile | () | метод |
public function getTile(n:String):com.adobe.mosaic.om.interfaces:ITile
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Retrieves a tile from the catalog to add to an application. This method sets all the default parameters required for the tile to function.
Параметры
n:String — The name of the tile in the catalog. This corresponds to the name attribute in the deployed catalog.
|
com.adobe.mosaic.om.interfaces:ITile — The tile that implements ITile .
|
Связанные элементы API
Пример
Использование этого примера
This example retrieves a tile named "sampleTile" from the catalog "sample_catalog", and adds the tile to the current panel:
var c:ICatalog = mosaicApp.getCatalog("sample_catalog"); var t:ITile = c.getTile("sampleTile"); this.parentPanel.addTile(t);
getView | () | метод |
public function getView(n:String):IView
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Returns the view with the given name from this Catalog.
Параметры
n:String — The name of the view in the catalog. This corresponds to the name attribute in the deployed catalog.
|
IView — The named View from the Catalog
|
loadAsset | () | метод |
public function loadAsset(assetUri:String, onSuccess:Function = null, onFailure:Function = null):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | NOT IMPLEMENTED |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
NOT IMPLEMENTED Retrieves any file asset from the catalog.
Параметры
assetUri:String — uri of the asset relative to the /content/mosaic/catalog
| |
onSuccess:Function (default = null ) — callback if the request is successful. It will have AssetLoadEvent containing data.
| |
onFailure:Function (default = null ) — callback if the request fails
|
postAsset | () | метод |
public function postAsset(assetUri:String, content:Object, onSuccess:Function = null, onFailure:Function = null):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | NOT IMPLEMENTED |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
NOT IMPLEMENTED Sets any file asset in the catalog
Параметры
assetUri:String — uri of the asset relative to the /content/mosaic/catalog
| |
content:Object — Object containing the data to post/set
| |
onSuccess:Function (default = null ) — callback if the request is successful
| |
onFailure:Function (default = null ) — callback if the request fails
|
Tue Jun 12 2018, 11:34 AM Z