Package com.ptc.netmarkets.util.beans
Class NmSessionBean
java.lang.Object
com.ptc.netmarkets.util.beans.NmSessionBean
- All Implemented Interfaces:
Externalizable,Serializable
The NmSessionBean is meant to contain data that will remain the same for the entire session. Such as the user's
current time zone or whether or not trail is enabled.
There are also certain scenarios where information is stored in the session bean temporarily to live across just a
couple requests. For example, when dynamic refresh of a table/comonent occurs the dynamic refresh info may be stored
temporarily in the session bean by the request that initiates the dynamic refresh. A subsequest request would access
that info to build the proper response for the refresh.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddExpandedNode(NmCommandBean cb, String context, String anode) adds an expanded node to the context of the tree
Supported API: truegetExpandedNodes(NmCommandBean cb, String context) gets expanded node list of the tree contextGets the value of the attribute: storage; Session wide storage for use by application developers.booleanisCAD()Deprecated.see isCadvoidremoveAllNodes(NmCommandBean cb, String context) removes all nodes of the tree contextvoidremoveExpandedNode(NmCommandBean cb, String context, String anode) removes an expanded node from the context of the tree
Supported API: true
-
Method Details
-
getStorage
Gets the value of the attribute: storage; Session wide storage for use by application developers.
Supported API: true- Returns:
- ConcurrentHashMap
-
isCAD
Deprecated.see isCadGets the value of the attribute: CAD; determines if client should see cad only actions
Supported API: true- Returns:
- boolean
-
addExpandedNode
adds an expanded node to the context of the tree
Supported API: true -
removeExpandedNode
removes an expanded node from the context of the tree
Supported API: true -
getExpandedNodes
gets expanded node list of the tree context- Parameters:
context- - context of the tree
Supported API: true
-
removeAllNodes
removes all nodes of the tree context- Parameters:
context- - context of the tree
Supported API: true
-