|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.login.ApplicationData
public class ApplicationData
This class is used to access some of the application specific data that would normally be available through the AActivitySpace.
Constructor Summary | |
---|---|
ApplicationData(IXPRequest _Request,
IWebData _WebData,
IApplication _Application,
ISessionManager _SubSession,
ISessionManager _PersistentSubSession)
|
Method Summary | |
---|---|
IApplication |
GetApplication()
This method returns the application. |
java.lang.String |
GetCookie(java.lang.String strCookieName)
This method returns the requested cookie. |
java.lang.String |
GetHeader(java.lang.String strHeaderName)
This method returns the requested header. |
java.lang.String |
GetParameterValue(java.lang.String _sParamName)
JF- Returns the value of the paramter in argument. |
ISessionManager |
GetPersistentSubSession()
This method returns the persistent sub session. |
IXPRequest |
GetRequest()
Returns the current request. |
java.lang.String |
GetRequestURL()
JF- Returns the current request URL. |
java.lang.String |
GetServerName()
JF- Returns the current server name from XPRequest. |
int |
GetServerPort()
JF- Returns the current port number from XPRequest. |
ISessionManager |
GetSubSession()
This method returns the sub session. |
void |
SetContentLanguage(java.lang.String _sLocale)
JF- Sets the content language on the WebData. |
void |
SetCookie(java.lang.String strCookieName,
java.lang.String strCookieValue)
This method adds the specified cookie. |
void |
SetCookie(XPCookie _xpCookie)
This method adds the specified cookie. |
void |
SetHeader(java.lang.String strHeaderName,
java.lang.String strHeaderValue)
This method sets the requested header. |
void |
SetStatus(int _nStatus)
This method sets the status code on the Response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationData(IXPRequest _Request, IWebData _WebData, IApplication _Application, ISessionManager _SubSession, ISessionManager _PersistentSubSession)
Method Detail |
---|
public IApplication GetApplication()
public ISessionManager GetSubSession()
public ISessionManager GetPersistentSubSession()
public void SetCookie(java.lang.String strCookieName, java.lang.String strCookieValue)
String
- the cookie name.String
- the cookie value.public void SetCookie(XPCookie _xpCookie)
_xpCookie
- the XPCookie to add.public java.lang.String GetCookie(java.lang.String strCookieName)
public java.lang.String GetHeader(java.lang.String strHeaderName)
public void SetContentLanguage(java.lang.String _sLocale)
_sLocale
- public void SetHeader(java.lang.String strHeaderName, java.lang.String strHeaderValue)
String
- the header nameString
- the header valuepublic void SetStatus(int _nStatus)
_nStatus
- Status codepublic IXPRequest GetRequest()
public java.lang.String GetRequestURL()
public java.lang.String GetServerName()
public int GetServerPort()
public java.lang.String GetParameterValue(java.lang.String _sParamName)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |