Pakket | lc.foundation.domain |
Klasse | public class SessionMap |
Overerving | SessionMap ![]() |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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 .
Verwante API-elementen
Methode | Gedefinieerd door | ||
---|---|---|---|
![]() |
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | |
![]() |
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | |
![]() |
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | |
![]() |
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | |
![]() |
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | |
![]() |
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | |
![]() |
Retourneert de primitieve waarde van het opgegeven object. | Object |
Wed Jun 13 2018, 11:42 AM Z