org.opengts.war.tools
Class WebPageAdaptor

java.lang.Object
  extended by org.opengts.war.tools.WebPageAdaptor
All Implemented Interfaces:
WebPage
Direct Known Subclasses:
AccountInfo, AccountLogin, ChangePassword, DeviceAlerts, DeviceInfo, DriverInfo, EntityAdmin, ForgotPassword, FullMap, GroupInfo, HtmlWrapper, J1587Display, LAFInfo, NewAccount, Offline, ReportDisplay, ReportJobAdmin, ReportMenu, RoleInfo, StatusCodeInfo, SysAdminAccounts, SysAdminDevices, SysAdminInfo, SystemPropsAdmin, TopMenu, TrackMap, UserInfo, WebPageURL, ZoneInfo

public abstract class WebPageAdaptor
extends java.lang.Object
implements WebPage


Field Summary
static java.lang.String PARM_ARGUMENT
           
static java.lang.String PARM_COMMAND
           
static java.lang.String PARM_CONTENT
           
static java.lang.String PARM_PAGE
           
static java.lang.String SORTTABLE_JS
           
static java.lang.String SORTTABLE_SORTKEY
           
static java.lang.String SUBACL_SEPARATOR
           
 
Fields inherited from interface org.opengts.war.tools.WebPage
SORTTABLE_CSS_CLASS, SORTTABLE_CSS_NOSORT
 
Constructor Summary
WebPageAdaptor()
           
 
Method Summary
protected  java.lang.String _getMenuDescription(RequestProperties reqState, java.lang.String dft)
           
protected  java.lang.String _getMenuHelp(RequestProperties reqState, java.lang.String dft)
           
protected  java.lang.String _getNavigationDescription(RequestProperties reqState, java.lang.String dft)
           
protected  java.lang.String _getNavigationTab(RequestProperties reqState, java.lang.String dft)
           
static java.lang.String EncodeMakeURL(RequestProperties reqState, java.lang.String baseURI)
           
static java.lang.String EncodeMakeURL(RequestProperties reqState, java.lang.String baseURI, java.lang.String page, java.lang.String cmd, java.lang.String arg)
           
 java.lang.String encodePageURL(RequestProperties reqState)
           
 java.lang.String encodePageURL(RequestProperties reqState, java.lang.String command)
           
 java.lang.String encodePageURL(RequestProperties reqState, java.lang.String command, java.lang.String cmdArg)
           
static java.lang.String EncodeURL(RequestProperties reqState, java.lang.String urlStr)
           
static java.lang.String EncodeURL(RequestProperties reqState, URIArg url)
           
static java.lang.String FilterText(java.lang.String s)
           
static java.lang.String FilterValue(java.lang.String s)
           
static java.lang.String Form_CheckBox(java.lang.String id, java.lang.String name, boolean editable, boolean checked, java.lang.String tooltip, java.lang.String onchange)
           
static java.lang.String Form_ComboBox(java.lang.String id, java.lang.String key, boolean editable, ComboMap map, ComboOption sel, java.lang.String onchange)
           
static java.lang.String Form_ComboBox(java.lang.String id, java.lang.String key, boolean editable, ComboMap map, ComboOption selKey, java.lang.String onchange, int size)
           
static java.lang.String Form_ComboBox(java.lang.String id, java.lang.String key, boolean editable, ComboMap map, java.lang.String selKey, java.lang.String onchange)
           
static java.lang.String Form_ComboBox(java.lang.String id, java.lang.String key, boolean editable, ComboMap map, java.lang.String selKey, java.lang.String onchange, int size)
           
static java.lang.String Form_TextArea(java.lang.String name, boolean editable, java.lang.String value, int rows, int cols)
           
static java.lang.String Form_TextArea(java.lang.String id, java.lang.String name, boolean editable, java.lang.String value, int rows, int cols)
           
static java.lang.String Form_TextField(java.lang.String name, boolean editable, java.lang.String value, int size, int maxLen)
           
static java.lang.String Form_TextField(java.lang.String id, java.lang.String name, boolean editable, java.lang.String value, int size, int maxLen)
           
static java.lang.String Form_TextField(java.lang.String id, java.lang.String name, boolean editable, java.lang.String value, java.lang.String onclick, int size, int maxLen)
           
static java.lang.String Form_TextField(java.lang.String id, java.lang.String name, boolean editable, java.lang.String value, java.lang.String onclick, int size, int maxLen, java.lang.String cssClass)
           
static java.lang.String FormRow_CheckBox(java.lang.String desc, java.lang.String id, java.lang.String name, boolean editable, boolean checked, java.lang.String tooltip, java.lang.String onchange)
           
static java.lang.String FormRow_ComboBox(java.lang.String key, boolean editable, java.lang.String desc, ComboOption sel, ComboMap map, java.lang.String onchange, int size)
           
static java.lang.String FormRow_ComboBox(java.lang.String key, boolean editable, java.lang.String desc, ComboOption sel, ComboMap map, java.lang.String onchange, int size, java.lang.String trailingHtml)
           
static java.lang.String FormRow_ComboBox(java.lang.String key, boolean editable, java.lang.String desc, java.lang.String selKey, ComboMap map, java.lang.String onchange, int size)
           
static java.lang.String FormRow_ComboBox(java.lang.String key, boolean editable, java.lang.String desc, java.lang.String selKey, ComboMap map, java.lang.String onchange, int size, java.lang.String trailingHtml)
           
static java.lang.String FormRow_ComboBox(java.lang.String id, java.lang.String key, boolean editable, java.lang.String desc, ComboOption sel, ComboMap map, java.lang.String onchange, int size, java.lang.String trailingHtml)
           
static java.lang.String FormRow_ComboBox(java.lang.String id, java.lang.String key, boolean editable, java.lang.String desc, java.lang.String selKey, ComboMap map, java.lang.String onchange, int size, java.lang.String trailingHtml)
           
static java.lang.String FormRow_Separator()
           
static java.lang.String FormRow_Separator(java.lang.String description)
           
static java.lang.String FormRow_SubSeparator()
           
static java.lang.String FormRow_TextArea(java.lang.String key, boolean editable, java.lang.String desc, java.lang.String value, int rows, int cols)
           
static java.lang.String FormRow_TextArea(java.lang.String id, java.lang.String key, boolean editable, java.lang.String desc, java.lang.String value, int rows, int cols)
           
static java.lang.String FormRow_TextField(java.lang.String key, boolean editable, java.lang.String description, java.lang.String value, int size, int maxLen)
           
static java.lang.String FormRow_TextField(java.lang.String key, boolean editable, java.lang.String description, java.lang.String value, int size, int maxLen, java.lang.String trailingHtml)
           
static java.lang.String FormRow_TextField(java.lang.String id, java.lang.String key, boolean editable, java.lang.String description, java.lang.String value, java.lang.String onclick, int size, int maxLen, java.lang.String trailingHtml)
           
static java.lang.String FormRow_TextNote(java.lang.String description, java.lang.String note)
           
 java.lang.String getAclName()
           
 java.lang.String getAclName(java.lang.String subAcl)
           
 java.lang.String getBaseURI()
           
 boolean getBooleanProperty(PrivateLabel privLabel, java.lang.String key, boolean dft)
           
 java.lang.String[] getChildAclList()
           
 java.lang.String getCssDirectory()
           
 double getDoubleProperty(PrivateLabel privLabel, java.lang.String key, double dft)
           
static java.lang.String getFilteredID(PrivateLabel privLabel, java.lang.String id)
          Returns the specified id, with invalid characters filtered out.
static java.lang.String getFilteredID(RequestProperties reqState, java.lang.String id)
          Returns the specified id, with invalid characters filtered out.
 boolean getIsEnabled()
           
 java.lang.String getJspURI()
           
 long getLongProperty(PrivateLabel privLabel, java.lang.String key, long dft)
           
 java.lang.String getMenuButtonAltImage()
           
 java.lang.String getMenuButtonImage()
           
 java.lang.String getMenuDescription(RequestProperties reqState, java.lang.String parentMenuName)
           
 MenuGroup getMenuGroup(RequestProperties reqState)
           
 java.lang.String getMenuHelp(RequestProperties reqState, java.lang.String parentMenuName)
           
 java.lang.String getMenuIconImage()
           
abstract  java.lang.String getMenuName(RequestProperties reqState)
           
 java.lang.String getNavigationDescription(RequestProperties reqState)
           
 java.lang.String getNavigationTab(RequestProperties reqState)
           
 java.lang.String getPageName()
           
 java.lang.String[] getPageNavigation()
           
 java.lang.String getPageNavigationHTML(RequestProperties reqState)
           
 java.lang.String getPageNavigationHTML(RequestProperties reqState, boolean reInit)
           
 URIArg getPageURI()
           
 URIArg getPageURI(java.lang.String command)
           
 URIArg getPageURI(java.lang.String command, java.lang.String cmdArg)
           
 PrivateLabel getPrivateLabel()
           
 RTProperties getProperties()
           
 java.lang.String getRuntimePropertyKey(java.lang.String key)
           
 java.lang.String getRuntimePropertyKeyPrefix()
           
 java.lang.String getStringProperty(PrivateLabel privLabel, java.lang.String key, java.lang.String dft)
           
 java.lang.String getTarget()
           
 PixelDimension getWindowDimension()
           
 boolean hasPageNavigation()
           
 boolean hasRuntimePropertyKeyPrefix()
           
 boolean isLoginRequired()
           
 boolean isOkToDisplay(RequestProperties reqState)
           
static boolean isValidID(PrivateLabel privLabel, java.lang.String id)
          Return true if the specified ID contains valid characters
static boolean isValidID(RequestProperties reqState, java.lang.String id)
          Return true if the specified ID contains valid characters
protected static java.lang.String JS_alert(boolean inclJS, java.lang.String msg)
           
static URIArg MakeURL(java.lang.String baseURI)
           
static URIArg MakeURL(java.lang.String baseURI, java.lang.String page)
           
static URIArg MakeURL(java.lang.String baseURI, java.lang.String page, java.lang.String cmd)
           
static URIArg MakeURL(java.lang.String baseURI, java.lang.String page, java.lang.String cmd, java.lang.String arg)
           
protected static java.lang.String Onclick_ConfirmDelete(java.util.Locale locale)
           
protected static java.lang.String Onclick_ConfirmOperation(java.util.Locale locale, java.lang.String operation)
           
protected static java.lang.String Onclick_ConfirmSelected(java.util.Locale locale, java.lang.String itemOperation)
           
protected  void postInit()
           
 void setAclName(java.lang.String name)
           
 void setBaseURI(java.lang.String baseURI)
           
 void setCssDirectory(java.lang.String cssDir)
           
 void setJspURI(java.lang.String jspURI)
           
 void setLoginRequired(boolean required)
           
 void setMenuButtonAltImage(java.lang.String btnURI)
           
 void setMenuButtonImage(java.lang.String btnURI)
           
 void setMenuDescription(I18N.Text menuDesc)
           
 void setMenuGroup(MenuGroup mg)
           
 void setMenuHelp(I18N.Text menuHelp)
           
 void setMenuIconImage(java.lang.String iconURI)
           
 void setNavigationDescription(I18N.Text navDesc)
           
 void setNavigationTab(I18N.Text navTab)
           
 void setPageName(java.lang.String pageName)
           
 void setPageNavigation(java.lang.String[] pageNav)
           
 void setPrivateLabel(PrivateLabel privLabel)
           
 void setProperties(RTProperties rtp)
           
 void setRuntimePropertyKeyPrefix(java.lang.String rtKeyPfx)
           
protected  boolean SubmitMatch(java.lang.String value, java.lang.String expect)
           
protected  boolean SubmitMatch(java.lang.String value, java.lang.String expect, java.lang.String alt)
           
 boolean systemAdminOnly()
           
static void writeCssLink(java.io.PrintWriter out, RequestProperties reqState, java.lang.String cssFileName, java.lang.String cssFileDir)
           
abstract  void writePage(RequestProperties reqState, java.lang.String pageMsg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARM_PAGE

public static final java.lang.String PARM_PAGE
See Also:
Constant Field Values

PARM_COMMAND

public static final java.lang.String PARM_COMMAND
See Also:
Constant Field Values

PARM_ARGUMENT

public static final java.lang.String PARM_ARGUMENT
See Also:
Constant Field Values

PARM_CONTENT

public static final java.lang.String PARM_CONTENT
See Also:
Constant Field Values

SUBACL_SEPARATOR

public static final java.lang.String SUBACL_SEPARATOR
See Also:
Constant Field Values

SORTTABLE_SORTKEY

public static final java.lang.String SORTTABLE_SORTKEY
See Also:
Constant Field Values

SORTTABLE_JS

public static final java.lang.String SORTTABLE_JS
See Also:
Constant Field Values
Constructor Detail

WebPageAdaptor

public WebPageAdaptor()
Method Detail

isValidID

public static boolean isValidID(RequestProperties reqState,
                                java.lang.String id)
Return true if the specified ID contains valid characters

Parameters:
reqState - The session RequestProperties instance.
id - The id to validate
Returns:
True if the id is valid, false otherwise

getFilteredID

public static java.lang.String getFilteredID(RequestProperties reqState,
                                             java.lang.String id)
Returns the specified id, with invalid characters filtered out.

Parameters:
reqState - The session RequestProperties instance.
id - The id to filter/validate.
Returns:
The filtered id

isValidID

public static boolean isValidID(PrivateLabel privLabel,
                                java.lang.String id)
Return true if the specified ID contains valid characters

Parameters:
privLabel - The PrivateLabel instance.
id - The id to validate
Returns:
True if the id is valid, false otherwise

getFilteredID

public static java.lang.String getFilteredID(PrivateLabel privLabel,
                                             java.lang.String id)
Returns the specified id, with invalid characters filtered out.

Parameters:
privLabel - The PrivateLabel instance.
id - The id to filter/validate.
Returns:
The filtered id

EncodeURL

public static java.lang.String EncodeURL(RequestProperties reqState,
                                         URIArg url)

EncodeURL

public static java.lang.String EncodeURL(RequestProperties reqState,
                                         java.lang.String urlStr)

MakeURL

public static URIArg MakeURL(java.lang.String baseURI)

MakeURL

public static URIArg MakeURL(java.lang.String baseURI,
                             java.lang.String page)

MakeURL

public static URIArg MakeURL(java.lang.String baseURI,
                             java.lang.String page,
                             java.lang.String cmd)

MakeURL

public static URIArg MakeURL(java.lang.String baseURI,
                             java.lang.String page,
                             java.lang.String cmd,
                             java.lang.String arg)

EncodeMakeURL

public static java.lang.String EncodeMakeURL(RequestProperties reqState,
                                             java.lang.String baseURI)

EncodeMakeURL

public static java.lang.String EncodeMakeURL(RequestProperties reqState,
                                             java.lang.String baseURI,
                                             java.lang.String page,
                                             java.lang.String cmd,
                                             java.lang.String arg)

FormRow_TextNote

public static java.lang.String FormRow_TextNote(java.lang.String description,
                                                java.lang.String note)

FormRow_Separator

public static java.lang.String FormRow_Separator(java.lang.String description)

FormRow_Separator

public static java.lang.String FormRow_Separator()

FormRow_SubSeparator

public static java.lang.String FormRow_SubSeparator()

Form_TextField

public static java.lang.String Form_TextField(java.lang.String name,
                                              boolean editable,
                                              java.lang.String value,
                                              int size,
                                              int maxLen)

Form_TextField

public static java.lang.String Form_TextField(java.lang.String id,
                                              java.lang.String name,
                                              boolean editable,
                                              java.lang.String value,
                                              int size,
                                              int maxLen)

Form_TextField

public static java.lang.String Form_TextField(java.lang.String id,
                                              java.lang.String name,
                                              boolean editable,
                                              java.lang.String value,
                                              java.lang.String onclick,
                                              int size,
                                              int maxLen)

Form_TextField

public static java.lang.String Form_TextField(java.lang.String id,
                                              java.lang.String name,
                                              boolean editable,
                                              java.lang.String value,
                                              java.lang.String onclick,
                                              int size,
                                              int maxLen,
                                              java.lang.String cssClass)

FormRow_TextField

public static java.lang.String FormRow_TextField(java.lang.String key,
                                                 boolean editable,
                                                 java.lang.String description,
                                                 java.lang.String value,
                                                 int size,
                                                 int maxLen)

FormRow_TextField

public static java.lang.String FormRow_TextField(java.lang.String key,
                                                 boolean editable,
                                                 java.lang.String description,
                                                 java.lang.String value,
                                                 int size,
                                                 int maxLen,
                                                 java.lang.String trailingHtml)

FormRow_TextField

public static java.lang.String FormRow_TextField(java.lang.String id,
                                                 java.lang.String key,
                                                 boolean editable,
                                                 java.lang.String description,
                                                 java.lang.String value,
                                                 java.lang.String onclick,
                                                 int size,
                                                 int maxLen,
                                                 java.lang.String trailingHtml)

Form_TextArea

public static java.lang.String Form_TextArea(java.lang.String name,
                                             boolean editable,
                                             java.lang.String value,
                                             int rows,
                                             int cols)

Form_TextArea

public static java.lang.String Form_TextArea(java.lang.String id,
                                             java.lang.String name,
                                             boolean editable,
                                             java.lang.String value,
                                             int rows,
                                             int cols)

FormRow_TextArea

public static java.lang.String FormRow_TextArea(java.lang.String key,
                                                boolean editable,
                                                java.lang.String desc,
                                                java.lang.String value,
                                                int rows,
                                                int cols)

FormRow_TextArea

public static java.lang.String FormRow_TextArea(java.lang.String id,
                                                java.lang.String key,
                                                boolean editable,
                                                java.lang.String desc,
                                                java.lang.String value,
                                                int rows,
                                                int cols)

Form_ComboBox

public static java.lang.String Form_ComboBox(java.lang.String id,
                                             java.lang.String key,
                                             boolean editable,
                                             ComboMap map,
                                             java.lang.String selKey,
                                             java.lang.String onchange,
                                             int size)

Form_ComboBox

public static java.lang.String Form_ComboBox(java.lang.String id,
                                             java.lang.String key,
                                             boolean editable,
                                             ComboMap map,
                                             ComboOption selKey,
                                             java.lang.String onchange,
                                             int size)

Form_ComboBox

public static java.lang.String Form_ComboBox(java.lang.String id,
                                             java.lang.String key,
                                             boolean editable,
                                             ComboMap map,
                                             java.lang.String selKey,
                                             java.lang.String onchange)

Form_ComboBox

public static java.lang.String Form_ComboBox(java.lang.String id,
                                             java.lang.String key,
                                             boolean editable,
                                             ComboMap map,
                                             ComboOption sel,
                                             java.lang.String onchange)

FormRow_ComboBox

public static java.lang.String FormRow_ComboBox(java.lang.String key,
                                                boolean editable,
                                                java.lang.String desc,
                                                java.lang.String selKey,
                                                ComboMap map,
                                                java.lang.String onchange,
                                                int size)

FormRow_ComboBox

public static java.lang.String FormRow_ComboBox(java.lang.String key,
                                                boolean editable,
                                                java.lang.String desc,
                                                ComboOption sel,
                                                ComboMap map,
                                                java.lang.String onchange,
                                                int size)

FormRow_ComboBox

public static java.lang.String FormRow_ComboBox(java.lang.String key,
                                                boolean editable,
                                                java.lang.String desc,
                                                java.lang.String selKey,
                                                ComboMap map,
                                                java.lang.String onchange,
                                                int size,
                                                java.lang.String trailingHtml)

FormRow_ComboBox

public static java.lang.String FormRow_ComboBox(java.lang.String id,
                                                java.lang.String key,
                                                boolean editable,
                                                java.lang.String desc,
                                                java.lang.String selKey,
                                                ComboMap map,
                                                java.lang.String onchange,
                                                int size,
                                                java.lang.String trailingHtml)

FormRow_ComboBox

public static java.lang.String FormRow_ComboBox(java.lang.String key,
                                                boolean editable,
                                                java.lang.String desc,
                                                ComboOption sel,
                                                ComboMap map,
                                                java.lang.String onchange,
                                                int size,
                                                java.lang.String trailingHtml)

FormRow_ComboBox

public static java.lang.String FormRow_ComboBox(java.lang.String id,
                                                java.lang.String key,
                                                boolean editable,
                                                java.lang.String desc,
                                                ComboOption sel,
                                                ComboMap map,
                                                java.lang.String onchange,
                                                int size,
                                                java.lang.String trailingHtml)

Form_CheckBox

public static java.lang.String Form_CheckBox(java.lang.String id,
                                             java.lang.String name,
                                             boolean editable,
                                             boolean checked,
                                             java.lang.String tooltip,
                                             java.lang.String onchange)

FormRow_CheckBox

public static java.lang.String FormRow_CheckBox(java.lang.String desc,
                                                java.lang.String id,
                                                java.lang.String name,
                                                boolean editable,
                                                boolean checked,
                                                java.lang.String tooltip,
                                                java.lang.String onchange)

JS_alert

protected static java.lang.String JS_alert(boolean inclJS,
                                           java.lang.String msg)

Onclick_ConfirmDelete

protected static java.lang.String Onclick_ConfirmDelete(java.util.Locale locale)

Onclick_ConfirmSelected

protected static java.lang.String Onclick_ConfirmSelected(java.util.Locale locale,
                                                          java.lang.String itemOperation)

Onclick_ConfirmOperation

protected static java.lang.String Onclick_ConfirmOperation(java.util.Locale locale,
                                                           java.lang.String operation)

FilterText

public static java.lang.String FilterText(java.lang.String s)

FilterValue

public static java.lang.String FilterValue(java.lang.String s)

postInit

protected void postInit()

getIsEnabled

public boolean getIsEnabled()
Specified by:
getIsEnabled in interface WebPage

getBaseURI

public java.lang.String getBaseURI()
Specified by:
getBaseURI in interface WebPage

setBaseURI

public void setBaseURI(java.lang.String baseURI)

getPageURI

public URIArg getPageURI()
Specified by:
getPageURI in interface WebPage

getPageURI

public URIArg getPageURI(java.lang.String command)

getPageURI

public URIArg getPageURI(java.lang.String command,
                         java.lang.String cmdArg)

getPageName

public java.lang.String getPageName()
Specified by:
getPageName in interface WebPage

setPageName

public void setPageName(java.lang.String pageName)
Specified by:
setPageName in interface WebPage

getPrivateLabel

public PrivateLabel getPrivateLabel()

setPrivateLabel

public void setPrivateLabel(PrivateLabel privLabel)

getJspURI

public java.lang.String getJspURI()
Specified by:
getJspURI in interface WebPage

setJspURI

public void setJspURI(java.lang.String jspURI)

getTarget

public java.lang.String getTarget()
Specified by:
getTarget in interface WebPage

getWindowDimension

public PixelDimension getWindowDimension()
Specified by:
getWindowDimension in interface WebPage

getCssDirectory

public java.lang.String getCssDirectory()

setCssDirectory

public void setCssDirectory(java.lang.String cssDir)

getPageNavigationHTML

public java.lang.String getPageNavigationHTML(RequestProperties reqState)
Specified by:
getPageNavigationHTML in interface WebPage

getPageNavigationHTML

public java.lang.String getPageNavigationHTML(RequestProperties reqState,
                                              boolean reInit)

setPageNavigation

public void setPageNavigation(java.lang.String[] pageNav)

hasPageNavigation

public boolean hasPageNavigation()

getPageNavigation

public java.lang.String[] getPageNavigation()

setLoginRequired

public void setLoginRequired(boolean required)

isLoginRequired

public boolean isLoginRequired()
Specified by:
isLoginRequired in interface WebPage

isOkToDisplay

public boolean isOkToDisplay(RequestProperties reqState)
Specified by:
isOkToDisplay in interface WebPage

setAclName

public void setAclName(java.lang.String name)

getAclName

public java.lang.String getAclName()
Specified by:
getAclName in interface WebPage

getAclName

public java.lang.String getAclName(java.lang.String subAcl)
Specified by:
getAclName in interface WebPage

getChildAclList

public java.lang.String[] getChildAclList()

systemAdminOnly

public boolean systemAdminOnly()
Specified by:
systemAdminOnly in interface WebPage

setMenuGroup

public void setMenuGroup(MenuGroup mg)

getMenuGroup

public MenuGroup getMenuGroup(RequestProperties reqState)
Specified by:
getMenuGroup in interface WebPage

encodePageURL

public java.lang.String encodePageURL(RequestProperties reqState)
Specified by:
encodePageURL in interface WebPage

encodePageURL

public java.lang.String encodePageURL(RequestProperties reqState,
                                      java.lang.String command)
Specified by:
encodePageURL in interface WebPage

encodePageURL

public java.lang.String encodePageURL(RequestProperties reqState,
                                      java.lang.String command,
                                      java.lang.String cmdArg)
Specified by:
encodePageURL in interface WebPage

getMenuName

public abstract java.lang.String getMenuName(RequestProperties reqState)
Specified by:
getMenuName in interface WebPage

getMenuIconImage

public java.lang.String getMenuIconImage()
Specified by:
getMenuIconImage in interface WebPage

setMenuIconImage

public void setMenuIconImage(java.lang.String iconURI)

getMenuButtonImage

public java.lang.String getMenuButtonImage()
Specified by:
getMenuButtonImage in interface WebPage

setMenuButtonImage

public void setMenuButtonImage(java.lang.String btnURI)

getMenuButtonAltImage

public java.lang.String getMenuButtonAltImage()
Specified by:
getMenuButtonAltImage in interface WebPage

setMenuButtonAltImage

public void setMenuButtonAltImage(java.lang.String btnURI)

setMenuDescription

public void setMenuDescription(I18N.Text menuDesc)

getMenuDescription

public java.lang.String getMenuDescription(RequestProperties reqState,
                                           java.lang.String parentMenuName)
Specified by:
getMenuDescription in interface WebPage

_getMenuDescription

protected java.lang.String _getMenuDescription(RequestProperties reqState,
                                               java.lang.String dft)

setMenuHelp

public void setMenuHelp(I18N.Text menuHelp)

getMenuHelp

public java.lang.String getMenuHelp(RequestProperties reqState,
                                    java.lang.String parentMenuName)
Specified by:
getMenuHelp in interface WebPage

_getMenuHelp

protected java.lang.String _getMenuHelp(RequestProperties reqState,
                                        java.lang.String dft)

setNavigationDescription

public void setNavigationDescription(I18N.Text navDesc)

getNavigationDescription

public java.lang.String getNavigationDescription(RequestProperties reqState)
Specified by:
getNavigationDescription in interface WebPage

_getNavigationDescription

protected java.lang.String _getNavigationDescription(RequestProperties reqState,
                                                     java.lang.String dft)

setNavigationTab

public void setNavigationTab(I18N.Text navTab)

getNavigationTab

public java.lang.String getNavigationTab(RequestProperties reqState)
Specified by:
getNavigationTab in interface WebPage

_getNavigationTab

protected java.lang.String _getNavigationTab(RequestProperties reqState,
                                             java.lang.String dft)

setRuntimePropertyKeyPrefix

public void setRuntimePropertyKeyPrefix(java.lang.String rtKeyPfx)

getRuntimePropertyKeyPrefix

public java.lang.String getRuntimePropertyKeyPrefix()

hasRuntimePropertyKeyPrefix

public boolean hasRuntimePropertyKeyPrefix()

getRuntimePropertyKey

public java.lang.String getRuntimePropertyKey(java.lang.String key)

setProperties

public void setProperties(RTProperties rtp)

getProperties

public RTProperties getProperties()
Specified by:
getProperties in interface WebPage

getStringProperty

public java.lang.String getStringProperty(PrivateLabel privLabel,
                                          java.lang.String key,
                                          java.lang.String dft)

getDoubleProperty

public double getDoubleProperty(PrivateLabel privLabel,
                                java.lang.String key,
                                double dft)

getLongProperty

public long getLongProperty(PrivateLabel privLabel,
                            java.lang.String key,
                            long dft)

getBooleanProperty

public boolean getBooleanProperty(PrivateLabel privLabel,
                                  java.lang.String key,
                                  boolean dft)

writePage

public abstract void writePage(RequestProperties reqState,
                               java.lang.String pageMsg)
                        throws java.io.IOException
Specified by:
writePage in interface WebPage
Throws:
java.io.IOException

writeCssLink

public static void writeCssLink(java.io.PrintWriter out,
                                RequestProperties reqState,
                                java.lang.String cssFileName,
                                java.lang.String cssFileDir)
                         throws java.io.IOException
Throws:
java.io.IOException

SubmitMatch

protected boolean SubmitMatch(java.lang.String value,
                              java.lang.String expect)

SubmitMatch

protected boolean SubmitMatch(java.lang.String value,
                              java.lang.String expect,
                              java.lang.String alt)