org.opengts.war.track.page.devcmd
Class DeviceCmd_telgh3000

java.lang.Object
  extended by org.opengts.war.track.page.devcmd.DeviceCmd_telgh3000
All Implemented Interfaces:
DeviceCmdHandler

public class DeviceCmd_telgh3000
extends java.lang.Object
implements DeviceCmdHandler


Field Summary
static java.lang.String COMMAND_INFO_UPD_PROPS
           
static java.lang.String CSS_deviceCommandArgDiv
           
static java.lang.String CSS_deviceCommandLabel
           
static java.lang.String CSS_deviceCommandNoArg
           
static java.lang.String CSS_deviceCommandSep
           
static java.lang.String CSS_deviceCommandSpacer
           
static java.lang.String CSS_deviceCommandWithArg
           
static java.lang.String DEFAULT_COMMAND
           
static java.lang.String DEVICE_CODE
           
static java.lang.String FORM_PROPERTY_EDIT
           
static int MAX_COMMAND_ARGS
           
static java.lang.String PARM_BUTTON_BACK
           
static java.lang.String PARM_BUTTON_CANCEL
           
static java.lang.String PARM_COMMAND
           
static java.lang.String PARM_COMMAND_SELECT
           
static java.lang.String PARM_DEV_DESC
           
static java.lang.String PARM_DEV_LAST_CONNECT
           
static java.lang.String PARM_DEV_LAST_EVENT
           
static java.lang.String PARM_DEVICE
           
static java.lang.String PARM_SUBMIT_SEND
           
static java.lang.String RADIO_CMD_SEL_
           
static java.lang.String RADIO_CMD_TEXT_
           
static java.lang.String RADIO_ZONES
           
 
Constructor Summary
DeviceCmd_telgh3000()
           
 
Method Summary
 boolean deviceSupportsCommands(Device dev)
           
 java.lang.String getServerDescription()
           
 java.lang.String getServerID()
           
 java.lang.String handleDeviceCommands(RequestProperties reqState, Device selDev)
           
 void setServerIDArg(java.lang.String arg)
           
 boolean writeCommandForm(java.io.PrintWriter out, RequestProperties reqState, Device selDev, java.lang.String actionURL, boolean editProps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEVICE_CODE

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

DEFAULT_COMMAND

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

MAX_COMMAND_ARGS

public static final int MAX_COMMAND_ARGS
See Also:
Constant Field Values

FORM_PROPERTY_EDIT

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

COMMAND_INFO_UPD_PROPS

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

PARM_COMMAND

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

PARM_DEVICE

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

PARM_DEV_DESC

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

PARM_DEV_LAST_CONNECT

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

PARM_DEV_LAST_EVENT

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

PARM_COMMAND_SELECT

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

RADIO_ZONES

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

RADIO_CMD_SEL_

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

RADIO_CMD_TEXT_

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

PARM_SUBMIT_SEND

public static final java.lang.String PARM_SUBMIT_SEND
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

CSS_deviceCommandLabel

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

CSS_deviceCommandArgDiv

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

CSS_deviceCommandNoArg

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

CSS_deviceCommandWithArg

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

CSS_deviceCommandSep

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

CSS_deviceCommandSpacer

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

DeviceCmd_telgh3000

public DeviceCmd_telgh3000()
Method Detail

setServerIDArg

public void setServerIDArg(java.lang.String arg)
Specified by:
setServerIDArg in interface DeviceCmdHandler

getServerID

public java.lang.String getServerID()
Specified by:
getServerID in interface DeviceCmdHandler

getServerDescription

public java.lang.String getServerDescription()
Specified by:
getServerDescription in interface DeviceCmdHandler

deviceSupportsCommands

public boolean deviceSupportsCommands(Device dev)
Specified by:
deviceSupportsCommands in interface DeviceCmdHandler

writeCommandForm

public boolean writeCommandForm(java.io.PrintWriter out,
                                RequestProperties reqState,
                                Device selDev,
                                java.lang.String actionURL,
                                boolean editProps)
                         throws java.io.IOException
Specified by:
writeCommandForm in interface DeviceCmdHandler
Throws:
java.io.IOException

handleDeviceCommands

public java.lang.String handleDeviceCommands(RequestProperties reqState,
                                             Device selDev)
Specified by:
handleDeviceCommands in interface DeviceCmdHandler