Container object that is used for all types of containers (e.g. session, sessionPage, etc).
Platform Support
| Jaxer Server Framework | Jaxer Client Framework | 0.9 | no |
|---|
Constructors
![]() |
||||||||||||||
| Constructor | Action | Jaxer Server Framework | Jaxer Client Framework | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Jaxer.Container Constructor(String type, String key, Object persistor) : Jaxer.Container
This is the contructor for the Container object, used for all types of containers (session, sessionPage, etc).
(Advanced) |
Show Details | 0.9 | no | |||||||||||
Jaxer.Container(String type, String key, Object persistor) : Jaxer.ContainerThis is the contructor for the Container object, used for all types of containers (session, sessionPage, etc). Parameters
Returns
|
||||||||||||||
Functions
![]() |
|||||||||
| Method | Action | Jaxer Server Framework | Jaxer Client Framework | ||||||
|---|---|---|---|---|---|---|---|---|---|
|
exists(String name) : Boolean
Does the container have the given property set?
(Advanced) |
Show Details | 0.9 | no | ||||||
|
Parameters
Returns
|
|||||||||
|
get(String name) : Object
Gets the value of the given property
(Advanced) |
Show Details | 0.9 | no | ||||||
|
Parameters
Returns
|
|||||||||
|
isPreviouslyPersisted(String name) : Boolean
Was this property just created, or was it previously persisted?
(Advanced) |
Show Details | 0.9 | no | ||||||
|
Parameters
Returns
|
|||||||||
|
Load the container from its store, but only if it has not yet been loaded
(Advanced) |
No Details | 0.9 | no | ||||||
|
|
|||||||||
|
persist(Object doc) :
void
Persists a container.
(Advanced) |
Show Details | 0.9 | no | ||||||
|
Parameters
|
|||||||||
|
remove(String name) :
void
Remove (unset) a property
(Advanced) |
Show Details | 0.9 | no | ||||||
|
Parameters
|
|||||||||
|
revert(String name) :
void
Revert a property to its previously-persisted value
(Advanced) |
Show Details | 0.9 | no | ||||||
|
Parameters
|
|||||||||
|
set(String name, Object value) :
void
Sets a name-value pair in the current container.
(Advanced) |
Show Details | 0.9 | no | ||||||
|
Parameters
|
|||||||||
|
touch(String name) :
void
Mark a property as changed so it persists
(Advanced) |
Show Details | 0.9 | no | ||||||
|
Parameters
|
|||||||||
|
Initialize the Containers subsystem.
(Advanced) |
No Details | 0.9 | no | ||||||
|
|
|||||||||
|
static persistAll(Object doc) :
void
Persists all container data to the store (as needed).
(Advanced) |
Show Details | 0.9 | no | ||||||
|
Parameters
|
|||||||||

