|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--sharpster.daemon.groupmanagement.GroupController
| Constructor Summary | |
GroupController()
Initialize the groupTable and read the groups from the disk. |
|
| Method Summary | |
java.util.LinkedList |
getGroups(java.lang.String user)
Returns a list containing a given user as the first element followed by every group the user is a memeber of. |
sharpster.common.ResponseCollection |
groupCommand(sharpster.common.GroupCommand command)
Recieves a groupcommand, executes the given command and returns the result. |
void |
initialize(sharpster.daemon.usermanagement.UserManager um)
|
boolean |
saveToFile(java.lang.String name,
boolean add)
Saves the user information to a configuration file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GroupController()
| Method Detail |
public void initialize(sharpster.daemon.usermanagement.UserManager um)
public java.util.LinkedList getGroups(java.lang.String user)
user - A username.
public sharpster.common.ResponseCollection groupCommand(sharpster.common.GroupCommand command)
command - A groupcommand.
public boolean saveToFile(java.lang.String name,
boolean add)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||