パッケージ | lc.foundation.domain |
クラス | public class SessionMap |
継承 | SessionMap ![]() |
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The SessionMap
object is initialized during application initialization and passed
to all components, as the session
property, therefore making it available throughout the
application.
It is recommended to use the typed convenience methods from the
WorkspaceSession
object to retrieve Workspace API objects.
For example, if you want to use the QueuesManager
object, it can be retrieved using the following code:
var queuesManager:QueuesManager = WorkspaceSession.getQueuesManager(session);
Additional objects can be added using the setObject
method.
The general convention for key names is that the key name should match the
fully qualified class or interface name that you want.
For example, to add a new object to the session, your can use the following code:
session.setObject("my.example.ISample", new Sample());
This object may be retrieved from the session
property using the following code:
var mySample:ISample =
ISample(session.getObject("my.example.ISample"));
For information on using this component to customize Workspace, see Customizing the Digital Enterprise Platform Document Services - Workspace 10.0 User Interface .
関連する API エレメント
メソッド | 定義元 | ||
---|---|---|---|
![]() |
オブジェクトに指定されたプロパティが定義されているかどうかを示します。 | Object | |
![]() |
Object クラスのインスタンスが、パラメーターとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。 | Object | |
![]() |
指定されたプロパティが存在し、列挙できるかどうかを示します。 | Object | |
![]() |
ループ処理に対するダイナミックプロパティの可用性を設定します。 | Object | |
![]() |
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。 | Object | |
![]() |
指定されたオブジェクトのストリング表現を返します。 | Object | |
![]() |
指定されたオブジェクトのプリミティブな値を返します。 | Object |
Tue Jun 12 2018, 10:34 AM Z