com.ge.research.showcase.action
Class DataManager
java.lang.Object
com.ge.research.showcase.action.DataManager
- public class DataManager
- extends java.lang.Object
Class that manages the interface to derby database
-must be created for each user session and must persist,
-is managed by the Acuity Controller for the complete session.
- Version:
- $Revision: 1.2 $ $Date: 2006/09/11 13:25:01 $
- Author:
- parkn
- Created on:
- Oct. 13, 2005
|
Constructor Summary |
DataManager(java.lang.String userId,
java.lang.String dbDriver,
java.lang.String dbUrl,
java.lang.String dbUser,
java.lang.String dbPassword)
constructor of this class |
|
Method Summary |
java.lang.String |
insertRoomAssignment(java.lang.String day,
java.lang.String time,
java.lang.String room,
java.lang.String course)
Receives room assignment parameter values from the acuity controller and insert it into the Derby database. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataManager
public DataManager(java.lang.String userId,
java.lang.String dbDriver,
java.lang.String dbUrl,
java.lang.String dbUser,
java.lang.String dbPassword)
throws java.lang.Exception
- constructor of this class
- Parameters:
userId - User ID passed in from the acuity controllerdbDriver - Databse driver string from the acuity controllerdbUrl - Database connection string from the acuity controllerdbUser - User connection string from the acuity controllerdbPassword - Password connection string from the acuity controller
- Throws:
java.lang.Exception
insertRoomAssignment
public java.lang.String insertRoomAssignment(java.lang.String day,
java.lang.String time,
java.lang.String room,
java.lang.String course)
throws java.lang.Exception
- Receives room assignment parameter values from the acuity controller and insert it into the Derby database.
- Returns:
- a string that indicate whether the room assignment is inserted into the database or not
- Throws:
java.lang.Exception