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