|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclipse.soda.dk.device.servlet.DeviceServlet
org.eclipse.soda.dk.device.device.servlet.DeviceDeviceServlet
public class DeviceDeviceServlet
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.soda.dk.device.servlet.service.DeviceServletService |
|---|
SERVICE_NAME |
| Constructor Summary | |
|---|---|
DeviceDeviceServlet()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
DeviceServletContext |
createContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Create context with the specified request and response parameters and return the DeviceServletContext result. |
static java.lang.String |
formatData(java.lang.Object data,
boolean form)
Format data with the specified data and form parameters and return the String result. |
static void |
formatData(java.lang.StringBuffer buffer,
java.lang.Object data,
boolean form)
Format data with the specified buffer, data and form parameters. |
DeviceService |
getDevice()
Gets the device (DeviceService) value. |
void |
processCommand(DeviceServletContext context,
CommandService command,
boolean edit)
Process command with the specified context, command and edit parameters. |
void |
processCommandPage(DeviceServletContext context,
CommandService command,
java.lang.String operation)
Process command page with the specified context, command and operation parameters. |
void |
processDevice(DeviceDeviceServletContext context,
DeviceService device)
Process device with the specified context and device parameters. |
void |
processDeviceRegistry(DeviceDeviceServletContext context)
Process device registry with the specified context parameter. |
void |
processFileRequest(DeviceServletContext context)
Process file request with the specified context parameter. |
void |
processMeasurement(DeviceServletContext context,
MeasurementService measurement,
boolean edit)
Process measurement with the specified context, measurement and edit parameters. |
void |
processMeasurementPage(DeviceServletContext context,
MeasurementService measurement,
java.lang.String operation)
Process measurement page with the specified context, measurement and operation parameters. |
void |
processRequest(DeviceServletContext context)
Process request with the specified context parameter. |
void |
processSignal(DeviceServletContext context,
SignalService signal,
boolean edit)
Process signal with the specified context, signal and edit parameters. |
void |
processSignalPage(DeviceServletContext context,
SignalService signal,
java.lang.String operation)
Process signal page with the specified context, signal and operation parameters. |
void |
setDevice(DeviceService device)
Sets the device value. |
| Methods inherited from class org.eclipse.soda.dk.device.servlet.DeviceServlet |
|---|
buildMenu, doGet, doPost, escape, escape, findAttribute, getBundleContext, getBundles, getResouceAliasDefault, getResoucePathDefault, getResourceAlias, getResourcePath, getServer, getServiceReferences, getServletAlias, getServletAliasDefault, processOverview, setBundleContext, setResourceAlias, setResourcePath, setServer, setServletAlias, setup |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.device.servlet.service.DeviceServletService |
|---|
getServletAlias |
| Methods inherited from interface javax.servlet.Servlet |
|---|
destroy, getServletConfig, getServletInfo, init, service |
| Constructor Detail |
|---|
public DeviceDeviceServlet()
| Method Detail |
|---|
public static java.lang.String formatData(java.lang.Object data,
boolean form)
data - The data (Object) parameter.form - The form (boolean) parameter.
String) value.formatData(StringBuffer,Object,boolean)
public static void formatData(java.lang.StringBuffer buffer,
java.lang.Object data,
boolean form)
buffer - The buffer (StringBuffer) parameter.data - The data (Object) parameter.form - The form (boolean) parameter.formatData(Object,boolean)
public DeviceServletContext createContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
createContext in class DeviceServletrequest - The request (HttpServletRequest) parameter.response - The response (HttpServletResponse) parameter.
DeviceServletContext) value.DeviceServlet.getBundleContext(),
DeviceServlet.setBundleContext(BundleContext)public DeviceService getDevice()
DeviceRegistryService) value.processDevice(DeviceDeviceServletContext,DeviceService),
setDevice(DeviceService)
public void processCommand(DeviceServletContext context,
CommandService command,
boolean edit)
context - The context (DeviceServletContext) parameter.command - The command (CommandService) parameter.edit - The edit (boolean) parameter.
public void processCommandPage(DeviceServletContext context,
CommandService command,
java.lang.String operation)
context - The context (DeviceServletContext) parameter.command - The command (CommandService) parameter.operation - The operation (String) parameter.
public void processDevice(DeviceDeviceServletContext context,
DeviceService device)
context - The context (DeviceDeviceServletContext) parameter.device - The device (DeviceService) parameter.getDevice(),
setDevice(DeviceService)public void processDeviceRegistry(DeviceDeviceServletContext context)
context - The context (DeviceDeviceServletContext) parameter.public void processFileRequest(DeviceServletContext context)
processFileRequest in class DeviceServletcontext - The context (DeviceServletContext) parameter.
public void processMeasurement(DeviceServletContext context,
MeasurementService measurement,
boolean edit)
context - The context (DeviceServletContext) parameter.measurement - The measurement (MeasurementService) parameter.edit - The edit (boolean) parameter.
public void processMeasurementPage(DeviceServletContext context,
MeasurementService measurement,
java.lang.String operation)
context - The context (DeviceServletContext) parameter.measurement - The measurement (MeasurementService) parameter.operation - The operation (String) parameter.public void processRequest(DeviceServletContext context)
processRequest in class DeviceServletcontext - The context (DeviceServletContext) parameter.processFileRequest(DeviceServletContext)
public void processSignal(DeviceServletContext context,
SignalService signal,
boolean edit)
context - The context (DeviceServletContext) parameter.signal - The signal (SignalService) parameter.edit - The edit (boolean) parameter.
public void processSignalPage(DeviceServletContext context,
SignalService signal,
java.lang.String operation)
context - The context (DeviceServletContext) parameter.signal - The signal (SignalService) parameter.operation - The operation (String) parameter.public void setDevice(DeviceService device)
device - The device (DeviceService) parameter.getDevice(),
processDevice(DeviceDeviceServletContext,DeviceService)
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||