org.opengts.war.track.page
Class HtmlWrapper

java.lang.Object
  extended by org.opengts.war.tools.WebPageAdaptor
      extended by org.opengts.war.track.page.HtmlWrapper
All Implemented Interfaces:
WebPage, Constants

public class HtmlWrapper
extends WebPageAdaptor
implements Constants


Field Summary
static java.lang.String PROP_fileDownloadHandlerClass
           
static java.lang.String PROP_fileUploadHandlerClass
           
static java.lang.String PROP_htmlFile
           
static java.lang.String PROP_jsonRequestHandlerClass
           
static java.lang.String PROP_loginRequired
           
 
Fields inherited from class org.opengts.war.tools.WebPageAdaptor
PARM_ARGUMENT, PARM_COMMAND, PARM_CONTENT, PARM_PAGE, SORTTABLE_JS, SORTTABLE_SORTKEY, SUBACL_SEPARATOR
 
Fields inherited from interface org.opengts.war.track.Constants
_DEFAULT_BASE_URI, COMMAND_LOGOUT, DEFAULT_ATTACH_URI, DEFAULT_BASE_URI, DEFAULT_DEMO_LOGIN_URI, DEFAULT_MARKER_URI, FORM_COMMAND, FORM_COMMAND_CSV, FORM_MONTH_CHG, LAST_GEOCODE_ADDRESS, LAST_GEOCODE_CACHE, LAST_GEOCODE_LATITUDE, LAST_GEOCODE_LONGITUDE, LAST_REVERSEGEOCODE, PAGE_ACCOUNT_INFO, PAGE_ACCOUNT_NEW, PAGE_ALERT_PANEL, PAGE_CODE_INFO, PAGE_CORRIDOR_INFO, PAGE_DEVICE_ALERTS, PAGE_DEVICE_INFO, PAGE_DEVICE_PROPS, PAGE_DRIVER_INFO, PAGE_ENTITY_INFO, PAGE_GROUP_INFO, PAGE_HTML_WRAP, PAGE_J1587_SHOW, PAGE_LAF_INFO, PAGE_LOGIN, PAGE_MAP_DEVICE, PAGE_MAP_FLEET, PAGE_MENU_REPORT, PAGE_MENU_RPT_DEVDETAIL, PAGE_MENU_RPT_GRPDETAIL, PAGE_MENU_RPT_GRPSUMMRY, PAGE_MENU_RPT_IFTA, PAGE_MENU_RPT_PERFORM, PAGE_MENU_RPT_SYSADMIN, PAGE_MENU_TOP, PAGE_OFFLINE, PAGE_PASSWD, PAGE_PASSWD_EMAIL, PAGE_REPORT_SHOW, PAGE_ROLE_INFO, PAGE_RPTJOB_ADMIN, PAGE_RULE_INFO, PAGE_SYSADMIN_ACCOUNTS, PAGE_SYSADMIN_DEVICES, PAGE_SYSADMIN_INFO, PAGE_SYSPROP_ADMIN, PAGE_USER_INFO, PAGE_WORKORDER_INFO, PAGE_WORKZONE_INFO, PAGE_ZONE_INFO, PARM_ACCOUNT, PARM_ACCOUNT_A, PARM_DEVICE, PARM_DEVICE_COMMAND, PARM_ENCPASS, PARM_GROUP, PARM_LOCALE, PARM_MAP_LIMIT, PARM_MAP_LIMIT_TYPE, PARM_PASSWORD, PARM_PASSWORD_A, PARM_REGION, PARM_REQSTATE, PARM_RESTOREPW, PARM_RULE, PARM_SA_RELOGIN, PARM_SA_RELOGIN_ACCT, PARM_SA_RELOGIN_SESS, PARM_SA_RELOGIN_USER, PARM_USER, PARM_USER_A, PARM_USEREMAIL
 
Fields inherited from interface org.opengts.war.tools.WebPage
SORTTABLE_CSS_CLASS, SORTTABLE_CSS_NOSORT
 
Constructor Summary
HtmlWrapper()
           
 
Method Summary
 java.lang.String getMenuName(RequestProperties reqState)
           
 boolean handleFileDownload(java.lang.String context, RequestProperties reqState)
           
 java.lang.String handleFileUpload(java.lang.String context, RequestProperties reqState, RTProperties mp)
           
 JSON handleJSONRequest(java.lang.String context, RequestProperties reqState, JSON jsonObj)
           
 boolean isLoginRequired()
           
 void writePage(RequestProperties reqState, java.lang.String pageMsg)
           
 
Methods inherited from class org.opengts.war.tools.WebPageAdaptor
_getMenuDescription, _getMenuHelp, _getNavigationDescription, _getNavigationTab, EncodeMakeURL, EncodeMakeURL, encodePageURL, encodePageURL, encodePageURL, EncodeURL, EncodeURL, FilterText, FilterValue, Form_CheckBox, Form_ComboBox, Form_ComboBox, Form_ComboBox, Form_ComboBox, Form_TextArea, Form_TextArea, Form_TextField, Form_TextField, Form_TextField, Form_TextField, FormRow_CheckBox, FormRow_ComboBox, FormRow_ComboBox, FormRow_ComboBox, FormRow_ComboBox, FormRow_ComboBox, FormRow_ComboBox, FormRow_Separator, FormRow_Separator, FormRow_SubSeparator, FormRow_TextArea, FormRow_TextArea, FormRow_TextField, FormRow_TextField, FormRow_TextField, FormRow_TextNote, getAclName, getAclName, getBaseURI, getBooleanProperty, getChildAclList, getCssDirectory, getDoubleProperty, getFilteredID, getFilteredID, getIsEnabled, getJspURI, getLongProperty, getMenuButtonAltImage, getMenuButtonImage, getMenuDescription, getMenuGroup, getMenuHelp, getMenuIconImage, getNavigationDescription, getNavigationTab, getPageName, getPageNavigation, getPageNavigationHTML, getPageNavigationHTML, getPageURI, getPageURI, getPageURI, getPrivateLabel, getProperties, getRuntimePropertyKey, getRuntimePropertyKeyPrefix, getStringProperty, getTarget, getWindowDimension, hasPageNavigation, hasRuntimePropertyKeyPrefix, isOkToDisplay, isValidID, isValidID, JS_alert, MakeURL, MakeURL, MakeURL, MakeURL, Onclick_ConfirmDelete, Onclick_ConfirmOperation, Onclick_ConfirmSelected, postInit, setAclName, setBaseURI, setCssDirectory, setJspURI, setLoginRequired, setMenuButtonAltImage, setMenuButtonImage, setMenuDescription, setMenuGroup, setMenuHelp, setMenuIconImage, setNavigationDescription, setNavigationTab, setPageName, setPageNavigation, setPrivateLabel, setProperties, setRuntimePropertyKeyPrefix, SubmitMatch, SubmitMatch, systemAdminOnly, writeCssLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_loginRequired

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

PROP_htmlFile

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

PROP_jsonRequestHandlerClass

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

PROP_fileUploadHandlerClass

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

PROP_fileDownloadHandlerClass

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

HtmlWrapper

public HtmlWrapper()
Method Detail

isLoginRequired

public boolean isLoginRequired()
Specified by:
isLoginRequired in interface WebPage
Overrides:
isLoginRequired in class WebPageAdaptor

getMenuName

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

handleJSONRequest

public JSON handleJSONRequest(java.lang.String context,
                              RequestProperties reqState,
                              JSON jsonObj)

handleFileUpload

public java.lang.String handleFileUpload(java.lang.String context,
                                         RequestProperties reqState,
                                         RTProperties mp)

handleFileDownload

public boolean handleFileDownload(java.lang.String context,
                                  RequestProperties reqState)

writePage

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