|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IContext
Generic context used for communication with Command APIs.
| Method Summary | |
|---|---|
java.lang.String |
getAdapterName()
Get the name of the adapter to use |
java.lang.String |
getContextPath()
Gets the path that is the root of a request with this context |
java.lang.String |
getDevice()
Get the user's device |
java.util.Locale |
getLocale()
Get the current user's locale |
java.lang.String |
getSessionID()
Gets the session ID for this context |
java.lang.String |
getUser()
Get the user ID. |
boolean |
isGuest()
Determines if this is a guest account. |
void |
setAdapterName(java.lang.String adapterName)
Set the name of the adapter |
void |
setContextPath(java.lang.String path)
The context path that is the root of a request with this context |
void |
setDevice(java.lang.String device)
Set the user's device |
void |
setGuest(boolean isGuest)
Sets whether this is a guest account |
void |
setLocale(java.util.Locale locale)
Set the current users locale |
void |
setSessionID(java.lang.String id)
Set the session ID for this context |
void |
setUser(java.lang.String user)
Set the user ID to use in the context |
| Method Detail |
|---|
java.lang.String getUser()
void setUser(java.lang.String user)
user - the user ID to setjava.util.Locale getLocale()
void setLocale(java.util.Locale locale)
locale - the locale of the current userjava.lang.String getDevice()
void setDevice(java.lang.String device)
device - the user's deviceboolean isGuest()
void setGuest(boolean isGuest)
isGuest - set to true if this is a guest account, false otherwisejava.lang.String getAdapterName()
void setAdapterName(java.lang.String adapterName)
adapterName - set the adapter name or null for the defaultvoid setContextPath(java.lang.String path)
path - the context pathjava.lang.String getContextPath()
java.lang.String getSessionID()
void setSessionID(java.lang.String id)
id - the unique session ID for this context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||