|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.application.SessionData
public class SessionData
Session data. This class handles all the attributes saved by the runtime context.
Field Summary | |
---|---|
static int |
CLIENT_TZ_DONE
|
static int |
CLIENT_TZ_EXTRASCRIPT
|
static int |
CLIENT_TZ_INITIAL
|
static int |
CLIENT_TZ_REDIRECT
|
Constructor Summary | |
---|---|
SessionData(FacesContextEx context)
Required by Externalizable |
Method Summary | |
---|---|
java.util.TimeZone |
getClientTimeZone()
Gets the clientTimeZone. |
int |
getClientTimeZoneState()
This property tells if the client TZ requests has been sent to the browser. |
ComponentData |
getComponentData()
Get the component related data. |
ComponentParameters |
getComponentParameters()
Get the component parameters. |
java.util.Locale |
getLocale()
Get the locale property |
java.lang.String |
getProperty(java.lang.String propName)
Get a session property. |
java.lang.String[] |
getRunningContext()
Get the runtime context. |
java.util.TimeZone |
getTimeZone()
Get the timeZone |
java.lang.String |
getUrl(int level)
Get a URL in the stack. |
java.lang.String[] |
getUrls()
Get the URLs in the stack. |
java.lang.String |
popPreviousUrl()
Pop the URL of the previous page. |
java.lang.String |
popTemporaryViewId()
Return the temporary view id. |
void |
pushTemporaryViewId(java.lang.String temporaryViewId)
|
void |
pushUrl(UIViewRootEx root)
Push a url to the stack, if not the current one. |
void |
readExternal(java.io.ObjectInput in)
|
void |
setClientTimeZone(java.util.TimeZone clientTimeZone)
Sets the client time zone |
void |
setClientTimeZoneState(int timeZoneState)
This property tells if the client TZ requests has been sent to the browser. |
void |
setComponentData(ComponentData componentData)
Set the component related data. |
void |
setLocale(java.util.Locale locale)
Sets the locale |
void |
setProperty(java.lang.String propName,
java.lang.String value)
Set a session property. |
void |
setRunningContext(java.lang.String[] runningContext)
Set the runtime context. |
void |
setTimeZone(java.util.TimeZone timeZone)
Sets the time zone |
void |
updateUrl(UIViewRootEx root)
Update the URL for the current view. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CLIENT_TZ_INITIAL
public static final int CLIENT_TZ_REDIRECT
public static final int CLIENT_TZ_EXTRASCRIPT
public static final int CLIENT_TZ_DONE
Constructor Detail |
---|
public SessionData(FacesContextEx context)
{@link
- javax.faces.context.FacesContext}Method Detail |
---|
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public java.util.Locale getLocale()
locale
property
locale
.public void setLocale(java.util.Locale locale)
locale
locale
- public java.util.TimeZone getTimeZone()
timeZone
public int getClientTimeZoneState()
public void setClientTimeZoneState(int timeZoneState)
the
- time zone statepublic void setTimeZone(java.util.TimeZone timeZone)
{@link
- java.util.TimeZone}public java.util.TimeZone getClientTimeZone()
TimeZone
.public void setClientTimeZone(java.util.TimeZone clientTimeZone)
{@link
- java.util.TimeZone}.public java.lang.String getProperty(java.lang.String propName)
public void setProperty(java.lang.String propName, java.lang.String value)
propName
- property namevalue
- value to be setpublic ComponentParameters getComponentParameters()
public ComponentData getComponentData()
public void setComponentData(ComponentData componentData)
data
- The new component datapublic java.lang.String[] getRunningContext()
public void setRunningContext(java.lang.String[] runningContext)
mode
- runtime contextpublic java.lang.String getUrl(int level)
public java.lang.String[] getUrls()
public java.lang.String popPreviousUrl()
public void pushUrl(UIViewRootEx root)
public void updateUrl(UIViewRootEx root)
public java.lang.String popTemporaryViewId()
public void pushTemporaryViewId(java.lang.String temporaryViewId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |