org.opengts.extra.war.track.page
Class EntityAdmin

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

public class EntityAdmin
extends WebPageAdaptor
implements Constants


Field Summary
static java.lang.String COMMAND_INFO_NEW
           
static java.lang.String COMMAND_INFO_SELECT
           
static java.lang.String COMMAND_INFO_UPDATE
           
static java.lang.String FORM_ENTITY_EDIT
           
static java.lang.String FORM_ENTITY_NEW
           
static java.lang.String FORM_ENTITY_SELECT
           
static java.lang.String PARM_BUTTON_BACK
           
static java.lang.String PARM_BUTTON_CANCEL
           
static java.lang.String PARM_ENTITY_DESC
           
static java.lang.String PARM_ENTITY_SELECT
           
static java.lang.String PARM_NEW_NAME
           
static java.lang.String PARM_RO_ALTITUDE
           
static java.lang.String PARM_RO_ATTACHED
           
static java.lang.String PARM_RO_DEVICE_ID
           
static java.lang.String PARM_RO_DISTANCE
           
static java.lang.String PARM_RO_GEOPOINT
           
static java.lang.String PARM_RO_STATUSCODE
           
static java.lang.String PARM_RO_TIMESTAMP
           
static java.lang.String PARM_SUBMIT_CHG
           
static java.lang.String PARM_SUBMIT_DEL
           
static java.lang.String PARM_SUBMIT_EDIT
           
static java.lang.String PARM_SUBMIT_NEW
           
static java.lang.String PARM_SUBMIT_VIEW
           
static java.lang.String PROP_entityType
           
 
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
EntityAdmin()
           
 
Method Summary
 java.lang.String getEntityName(RequestProperties reqState)
           
 EntityManager.EntityType getEntityType(RequestProperties reqState)
           
 java.lang.String getMenuDescription(RequestProperties reqState, java.lang.String parentMenuName)
           
 java.lang.String getMenuHelp(RequestProperties reqState, java.lang.String parentMenuName)
           
 java.lang.String getMenuName(RequestProperties reqState)
           
 java.lang.String getNavigationDescription(RequestProperties reqState)
           
 java.lang.String getNavigationTab(RequestProperties reqState)
           
 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, getMenuGroup, getMenuIconImage, getPageName, getPageNavigation, getPageNavigationHTML, getPageNavigationHTML, getPageURI, getPageURI, getPageURI, getPrivateLabel, getProperties, getRuntimePropertyKey, getRuntimePropertyKeyPrefix, getStringProperty, getTarget, getWindowDimension, hasPageNavigation, hasRuntimePropertyKeyPrefix, isLoginRequired, 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

FORM_ENTITY_SELECT

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

FORM_ENTITY_EDIT

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

FORM_ENTITY_NEW

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

COMMAND_INFO_UPDATE

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

COMMAND_INFO_SELECT

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

COMMAND_INFO_NEW

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

PARM_SUBMIT_EDIT

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

PARM_SUBMIT_VIEW

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

PARM_SUBMIT_CHG

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

PARM_SUBMIT_DEL

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

PARM_SUBMIT_NEW

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

PARM_BUTTON_CANCEL

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

PARM_BUTTON_BACK

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

PARM_NEW_NAME

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

PARM_ENTITY_SELECT

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

PARM_ENTITY_DESC

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

PARM_RO_TIMESTAMP

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

PARM_RO_STATUSCODE

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

PARM_RO_ATTACHED

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

PARM_RO_DEVICE_ID

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

PARM_RO_GEOPOINT

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

PARM_RO_ALTITUDE

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

PARM_RO_DISTANCE

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

PROP_entityType

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

EntityAdmin

public EntityAdmin()
Method Detail

getEntityType

public EntityManager.EntityType getEntityType(RequestProperties reqState)

getEntityName

public java.lang.String getEntityName(RequestProperties reqState)

getMenuName

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

getMenuDescription

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

getMenuHelp

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

getNavigationDescription

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

getNavigationTab

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

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