包 | 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, 11:04 AM Z