|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectuserManager.active.Active
public class Active
Method Summary | |
---|---|
String |
getFirstName(String username)
Method will iterate Active users ArrayList, searches for a user that matchs the given username. |
static Active |
getInstance()
Method will return existing Active class. |
String |
getLastName(String username)
Method will return Last name of the give username. |
ArrayList<String> |
getList()
This method will return ArrayList of username of Users that are in the ActiveList. |
ArrayList<User> |
getUsers()
This method will return ArrayList of User objects that are in the ActiveList. |
void |
insert(User user)
Method will insert a user object into the Active ArrayList. |
void |
remove(String username)
Method will remove a user from the Active table. |
int |
size()
Method will return size of the Active ArrayList. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Active getInstance()
public void insert(User user)
insert
in interface ActiveInterface
user
- User Authenticated user object to be listed.public String getFirstName(String username)
getFirstName
in interface ActiveInterface
username
- username used to search for the user
public String getLastName(String username)
getLastName
in interface ActiveInterface
username
- username used to search for the user
public void remove(String username)
remove
in interface ActiveInterface
username
- of user to be removed from list.public int size()
size
in interface ActiveInterface
public ArrayList<User> getUsers()
getUsers
in interface ActiveInterface
public ArrayList<String> getList()
getList
in interface ActiveInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |