org.wcb.plugins.beans
Class WapController

java.lang.Object
  extended byorg.wcb.plugins.beans.WapController

public class WapController
extends java.lang.Object

Copyright (C) 1999 Walter Bogaardt This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 Project: Home Automation Interface Filename: $Id: WapController.java,v 1.4 2004/02/03 21:02:27 wbogaardt Exp $ Abstract: Web bean for x10 Wap browser support. $Log: WapController.java,v $ Revision 1.4 2004/02/03 21:02:27 wbogaardt moved DeviceFactory away from rmi creation and simplified interface between gateway Revision 1.3 2004/01/16 00:53:43 wbogaardt Fixed a very obscure bug with the Macro Panel that it didn't added new x10 devices to the drop down of available x10 device for the macro. Modified Macro triggers to change the events to integer verses strings cleaner this way. Revision 1.2 2004/01/15 21:05:20 wbogaardt major revamp of Modules and interfaces changes overall structure of how information is stored Revision 1.1 2004/01/12 22:12:34 wbogaardt Bean controller for WAP jsp pages


Field Summary
static java.lang.String COMMAND
           
static java.lang.String DESCRIPTION
           
static java.lang.String EXECUTE_BUTTON
           
static java.lang.String OFF_BUTTON
           
static java.lang.String ON_BUTTON
           
static java.lang.String X10_HOUSE_CODE
           
static java.lang.String X10_MODULE_ID
           
 
Constructor Summary
WapController()
           
 
Method Summary
 java.util.Vector getAllX10Modules()
          Gets a list of all the saved X10 modules.
 java.lang.String getIsPortConnected()
          If the serial port is active then return a printable string indicating connected.
 java.lang.String getSavedSerialPort()
          Returns the string name of the saved serial port
 void processRequest(javax.servlet.http.HttpServletRequest request)
          Process request information when users do form submits based on this we will save the keys, save the file, read in a new directory's build.properties file or run the ANT build script.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X10_HOUSE_CODE

public static java.lang.String X10_HOUSE_CODE

X10_MODULE_ID

public static java.lang.String X10_MODULE_ID

ON_BUTTON

public static java.lang.String ON_BUTTON

OFF_BUTTON

public static java.lang.String OFF_BUTTON

EXECUTE_BUTTON

public static java.lang.String EXECUTE_BUTTON

COMMAND

public static java.lang.String COMMAND

DESCRIPTION

public static java.lang.String DESCRIPTION
Constructor Detail

WapController

public WapController()
Method Detail

getAllX10Modules

public java.util.Vector getAllX10Modules()
Gets a list of all the saved X10 modules.

Returns:
Vector of IX10Module

getSavedSerialPort

public java.lang.String getSavedSerialPort()
Returns the string name of the saved serial port

Returns:
String of saved serial port name.

getIsPortConnected

public java.lang.String getIsPortConnected()
If the serial port is active then return a printable string indicating connected. Otherwise, return a printable string disconnected.

Returns:
String of "Connected" or "Disconnected"

processRequest

public void processRequest(javax.servlet.http.HttpServletRequest request)
Process request information when users do form submits based on this we will save the keys, save the file, read in a new directory's build.properties file or run the ANT build script.

Parameters:
request - servlet form post request.


Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.