Paket | com.adobe.mosaic.om.interfaces |
Gränssnitt | public interface ISession extends IEventDispatcher |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
ISession
interface represents an instance of a user's server connection.
Use this interface to examine server information and to query the associated server for stored assets.
Egenskap | Definieras med | ||
---|---|---|---|
name : String [skrivskyddad]
Returns the name supplied for this connection at open-time. | ISession | ||
securityManager : ISecurityManager [skrivskyddad]
Returns the ISecurityManager instance for a given session. | ISession | ||
server : IServer [skrivskyddad]
Returns an IServer instance for the remote server associated with this session. | ISession | ||
state : String [skrivskyddad]
Returns the current status of the ISession, valid values
are contained in ServerConstants. | ISession |
Metod | Definieras med | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | IEventDispatcher | ||
Skickar en händelse till händelseflödet. | IEventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | IEventDispatcher | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | IEventDispatcher | ||
Initiates a network request to the associated server for a list of the Applications available
to the current user. | ISession | ||
Initiates a network request to the associated server for a list of the Catalogs available
to the current user. | ISession | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | IEventDispatcher |
name | egenskap |
name:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Returns the name supplied for this connection at open-time.
Implementering
public function get name():String
securityManager | egenskap |
securityManager:ISecurityManager
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Returns the ISecurityManager instance for a given session. Provides the developer access to all available user information on the IUser interface (username, email, first/last name, etc), as well as full support for all authentication patterns (Web Basic-Auth, SSO, etc) provided by the Experience Service Client Security Library.
Implementering
public function get securityManager():ISecurityManager
server | egenskap |
server:IServer
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Returns an IServer instance for the remote server associated with this session.
Implementering
public function get server():IServer
state | egenskap |
state:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Returns the current status of the ISession, valid values are contained in ServerConstants.
Implementering
public function get state():String
Relaterade API-element
requestApplicationList | () | metod |
public function requestApplicationList(onSuccess:Function = null, onFailure:Function = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Initiates a network request to the associated server for a list of the Applications available to the current user. The result is an Array of type IApplicationListItem.
Parametrar
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
requestCatalogList | () | metod |
public function requestCatalogList(onSuccess:Function = null, onFailure:Function = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Initiates a network request to the associated server for a list of the Catalogs available to the current user. The result is an Array of type ICatalogListItem.
Parametrar
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
Tue Jun 12 2018, 01:40 PM Z