Пакет | 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, 11:34 AM Z