Public Member Functions | |
| UserBean () | |
| void | setDatabase (DBAccess db) |
| List | getUsers () |
| List | getSmsUsers () |
| int | getSmsUserListSize () |
| List | getAllUsers () |
Package Attributes | |
| int | smsListSize = -1 |
|
|
The default constructor, made mandatory by the JavaBeans model. |
|
|
Returns a list of ALL users in the system, including the administrators.
|
|
|
A separate function is needed to return the quantity of users that will have to be sent an SMS.
|
|
|
Gets a list of users that need to be sent an SMS to inform them of changes in the task list.
|
|
|
Retrieves a list of worker- and manager-type users from the database through the DBAO.
|
|
|
This setter function sets the database access object into place.
|
|
|
Retrieving the list of users to be sent an SMS requires two function invocations. For that reason we need a member variable to store data between the invocations. |
1.4.4