com.ibm.workflow.portlet.client
Class LogonContext
java.lang.Object
|
+--com.ibm.workflow.portlet.client.ApplicationContextProxy
|
+--com.ibm.workflow.portlet.client.LogonContext
- All Implemented Interfaces:
- ApplicationContext, Catalog
- public final class LogonContext
- extends ApplicationContextProxy
- implements Catalog
Method Summary |
java.lang.String |
get(java.lang.String key)
Query a message without substitution variables. |
java.lang.String |
get(java.lang.String key,
java.lang.String subst)
Query a message with one substitution variable. |
java.lang.String |
get(java.lang.String key,
java.lang.String[] subst)
Query a message with multiple substitution variables. |
java.util.Locale |
getLocale()
|
java.lang.String |
getMessage()
|
java.lang.String |
getParameter(java.lang.String name)
|
java.lang.String |
getParameter(java.lang.String name,
java.lang.String defaultValue)
|
java.util.Enumeration |
getParameterNames()
|
java.lang.String |
getURL(java.lang.String file)
Convert a URL relative to the servlet's
root URI. |
void |
init(javax.servlet.http.HttpServletRequest request)
|
void |
setLocale(javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class com.ibm.workflow.portlet.client.ApplicationContextProxy |
formatDate, formatTime, getAgent, getBuiltinHandler, getConfig, getDocumentRoot, getJavaApiVersionInfo, getRealPath, getRootURI, getServerInfo, getServletVersion, getTriggerTagFor, isDebugEnabled, log, log |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogonContext
public LogonContext()
LogonContext
public LogonContext(RequestContext catalog)
init
public void init(javax.servlet.http.HttpServletRequest request)
setLocale
public void setLocale(javax.servlet.http.HttpServletResponse response)
get
public java.lang.String get(java.lang.String key)
- Description copied from interface:
Catalog
- Query a message without substitution variables.
- Specified by:
get
in interface Catalog
- Following copied from interface:
com.ibm.workflow.portlet.client.Catalog
- Parameters:
key
- The message ID- Returns:
- the message or
null
if it could not be found
get
public java.lang.String get(java.lang.String key,
java.lang.String subst)
- Description copied from interface:
Catalog
- Query a message with one substitution variable.
- Specified by:
get
in interface Catalog
- Following copied from interface:
com.ibm.workflow.portlet.client.Catalog
- Parameters:
key
- The message IDsubst
- The variable- Returns:
- the message or
null
if it could not be found
get
public java.lang.String get(java.lang.String key,
java.lang.String[] subst)
- Description copied from interface:
Catalog
- Query a message with multiple substitution variables.
- Specified by:
get
in interface Catalog
- Following copied from interface:
com.ibm.workflow.portlet.client.Catalog
- Parameters:
key
- The message IDsubst
- An array of variables- Returns:
- the message or
null
if it could not be found
getLocale
public java.util.Locale getLocale()
- Specified by:
getLocale
in interface Catalog
getURL
public java.lang.String getURL(java.lang.String file)
- Description copied from interface:
ApplicationContext
- Convert a URL relative to the servlet's
root URI.
to an absolute URL. For example,
context.getURL("{_HTMLDir_}/images/myImage.gif");
might result in
/MQWFClient/images/myImage.gif
- Overrides:
getURL
in class ApplicationContextProxy
- Following copied from interface:
com.ibm.workflow.portlet.client.ApplicationContext
- Parameters:
file
- A relative URL.- Returns:
- An absolute URL.
getMessage
public java.lang.String getMessage()
getParameterNames
public java.util.Enumeration getParameterNames()
getParameter
public java.lang.String getParameter(java.lang.String name)
getParameter
public java.lang.String getParameter(java.lang.String name,
java.lang.String defaultValue)
© Copyright IBM Corporation 2002, 2008. All Rights Reserved.