套件 | com.adobe.mosaic.om.interfaces |
介面 | public interface ISession extends IEventDispatcher |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
執行階段版本: | 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.
屬性 | 定義自 | ||
---|---|---|---|
name : String [唯讀]
Returns the name supplied for this connection at open-time. | ISession | ||
securityManager : ISecurityManager [唯讀]
Returns the ISecurityManager instance for a given session. | ISession | ||
server : IServer [唯讀]
Returns an IServer instance for the remote server associated with this session. | ISession | ||
state : String [唯讀]
Returns the current status of the ISession, valid values
are contained in ServerConstants. | ISession |
方法 | 定義自 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | IEventDispatcher | ||
會將事件傳送到事件流程。 | IEventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | IEventDispatcher | ||
會從 EventDispatcher 物件移除偵聽程式。 | 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 | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | IEventDispatcher |
name | 屬性 |
securityManager | 屬性 |
securityManager:ISecurityManager
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
執行階段版本: | 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.
實作
public function get securityManager():ISecurityManager
server | 屬性 |
state | 屬性 |
state:String
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
執行階段版本: | AIR 2.6, Flash Player 10.2 |
Returns the current status of the ISession, valid values are contained in ServerConstants.
實作
public function get state():String
相關 API 元素
requestApplicationList | () | 方法 |
public function requestApplicationList(onSuccess:Function = null, onFailure:Function = null):void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
執行階段版本: | 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.
參數
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
requestCatalogList | () | 方法 |
public function requestCatalogList(onSuccess:Function = null, onFailure:Function = null):void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
執行階段版本: | 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.
參數
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
Tue Jun 12 2018, 03:47 PM Z