public interface ItsNatSession extends ItsNatUserData
javax.servlet.http.HttpSession
object.ItsNatServletRequest.getItsNatSession()
,
ClientDocument.getItsNatSession()
Modifier and Type | Method and Description |
---|---|
ItsNatVariableResolver |
createItsNatVariableResolver()
Creates a variable resolver bound to this session.
|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the object bound with the specified name in this session
ItsNatHttpSession implementation delegates to HttpSession.getAttribute(String) |
java.util.Enumeration |
getAttributeNames()
Returns a
String enumeration of names of all the objects bound to this session. |
java.lang.String |
getId()
Returns the client identity.
|
ItsNatDocument |
getItsNatDocumentById(java.lang.String id)
Returns the "live" ItsNat document with the given id loaded by this session.
|
int |
getItsNatDocumentCount()
Returns the number of live ItsNat documents loaded by this session.
|
ItsNatDocument[] |
getItsNatDocuments()
Returns all live ItsNat documents loaded by this session.
|
ItsNatServletContext |
getItsNatServletContext()
Returns the ItsNat servlet context of this ItsNat application.
|
void |
removeAttribute(java.lang.String name)
Removes the object bound with the specified name from this session.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Binds an object to this session, using the name specified.
|
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
java.lang.String getId()
ItsNatServletContext
and never reused in this context.
The identity value is unique no other context-identified object in the same ItsNat servlet context shares the same id.
Although this object is garbage collected, the identity value is never reused by another context-identified object in the same context.
ItsNatServletContext getItsNatServletContext()
ItsNatDocument getItsNatDocumentById(java.lang.String id)
A live document is a document still loaded by the user (not invalid). When a document is unloaded (the user leaves the page) the document is invalid and automatically unregistered.
id
- the document id to search for.ItsNatDocument.getId()
,
ItsNatDocument.isInvalid()
int getItsNatDocumentCount()
getItsNatDocuments()
ItsNatDocument[] getItsNatDocuments()
getItsNatDocumentCount()
,
getItsNatDocumentById(String)
ItsNatVariableResolver createItsNatVariableResolver()
java.lang.Object getAttribute(java.lang.String name)
ItsNatHttpSession
implementation delegates to HttpSession.getAttribute(String)
name
- the object name.java.util.Enumeration getAttributeNames()
String
enumeration of names of all the objects bound to this session.
ItsNatHttpSession
implementation delegates to HttpSession.getAttributeNames()
String
enumeration of atribute names.void setAttribute(java.lang.String name, java.lang.Object value)
ItsNatHttpSession
implementation delegates to HttpSession.setAttribute(String,Object)
name
- the attribute name.value
- the attribute value.void removeAttribute(java.lang.String name)
ItsNatHttpSession
implementation delegates to HttpSession.removeAttribute(String)
name
- the attribute name to remove.Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.