Main Page | Class List | Directories | Class Members

com.forum.nokia.taskmanager.beans.GroupBean Class Reference

List of all members.

Public Member Functions

 GroupBean ()
void setDatabase (DBAccess db)
List getGroups ()

Detailed Description

An interface bean-class for the JSP-pages to gain access into the database. This class works as a middle entity between the actual database communicator (class DBAccess) and the JSP page. Since JSP can only communicate with classes that obey the bean model (assuming were using JSTL and EL instead of JSP scriplets, as recommended in JSP 2.0 specification), we need a middle entity like this. This arrangement makes it possible to truly separate the view from the model (see "MVC architecture" and "Java Model 2 architecture").


Constructor & Destructor Documentation

com.forum.nokia.taskmanager.beans.GroupBean.GroupBean  ) 
 

Default constructo. Mandatory in a JavaBean.


Member Function Documentation

List com.forum.nokia.taskmanager.beans.GroupBean.getGroups  ) 
 

Returns a list of all possible groups in the system.

Returns:
A list of groups.

void com.forum.nokia.taskmanager.beans.GroupBean.setDatabase DBAccess  db  ) 
 

Setter for the DBAO.

Parameters:
db The DBAO.


The documentation for this class was generated from the following file:
Generated on Tue Aug 30 14:22:36 2005 for TaskManagerWebUI by  doxygen 1.4.4