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


Constructor Summary
LogonContext()
           
LogonContext(RequestContext 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
 

Constructor Detail

LogonContext

public LogonContext()

LogonContext

public LogonContext(RequestContext catalog)
Method Detail

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 ID
subst - 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 ID
subst - 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, 2007. All Rights Reserved.