prometheus
Class PrometheusBean

java.lang.Object
  |
  +--prometheus.PrometheusBean

public class PrometheusBean
extends java.lang.Object

Login model.

alexis.grandemange@pagebox.net

Copyright (c) 2003-2004 Alexis Grandemange

This program 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; version 2.1 of the
 License.
 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.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 1
Author:
Alexis Grandemange

Field Summary
(package private)  PrometheusCallback pcb
          Callback object handling users and messages
(package private)  java.lang.String user
          User name
 
Constructor Summary
  PrometheusBean()
          Default constructor called from prometheus.jsp.
(package private) PrometheusBean(java.lang.String user, PrometheusCallback pcb)
          Constructor called by PrometheusCtrl
 
Method Summary
 java.lang.String getMessages()
          Method called by prometheus.jsp to return formatted messages.
 java.lang.String getPageBoxes()
          Method called by prometheus.jsp to return a user list.
 java.lang.String getUser()
           
 java.lang.String getUsers()
          Method called by prometheus.jsp to return a user list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

java.lang.String user
User name


pcb

PrometheusCallback pcb
Callback object handling users and messages

Constructor Detail

PrometheusBean

public PrometheusBean()
Default constructor called from prometheus.jsp.


PrometheusBean

PrometheusBean(java.lang.String user,
               PrometheusCallback pcb)
Constructor called by PrometheusCtrl

Parameters:
user - user name
pcb - callback object handling users and messages.
Method Detail

getUser

public java.lang.String getUser()
Returns:
logged in user name

getMessages

public java.lang.String getMessages()
Method called by prometheus.jsp to return formatted messages.

Returns:
HTML string

getUsers

public java.lang.String getUsers()
Method called by prometheus.jsp to return a user list.

Returns:
HTML option string

getPageBoxes

public java.lang.String getPageBoxes()
Method called by prometheus.jsp to return a user list.

Returns:
HTML option string