|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.entra.phantom.server.rconsole.AdminConfigGroups
public class AdminConfigGroups
Handles the users definition.
| Constructor Summary | |
|---|---|
AdminConfigGroups(String groupID,
String data)
Creates a new user instance from the INI file. |
|
| Method Summary | |
|---|---|
static boolean |
appendChanges(Transaction trans,
Hashtable old,
StringBuffer buf)
Adds changes in the group configuration to a transaction. |
static void |
appendSlaveInformation(Transaction trans)
Gets the transaction data used for newly connected slaves to be updated with all groups in the controller. |
static void |
buildActiveGroupUsers()
Builds the active groups+users table. |
static void |
edit(VirtualPanel vp)
Called to edit the dialog box definitions of the groups. |
boolean |
equals(AdminConfigGroups g)
Checks if two groups are equal. |
String |
getDescription()
Gets the description of the group. |
static AdminConfigGroups |
getGroup(String id)
Gets the group from an ID. |
static String |
getGroupDescription(String id)
Gets a description for a group. |
String |
getGroupID()
Gets the group ID. |
static Enumeration<AdminConfigGroups> |
getGroups()
Gets all the groups. |
static Enumeration<String> |
getSortedGroupIDs()
Gets all the groups IDs sorted alphabetically. |
static AdminConfigUser |
getUserInGroup(String userID,
String groupID)
Gets a user that must belong to a group. |
boolean |
isActive()
Checks if the group is active. |
static void |
loadGroupsAndUsers()
Loads the settings for the web server, users and groups. |
static boolean |
processChanges(Transaction input,
Transaction output,
StringBuffer buf)
Processes changes in group information from a remote machine. |
static void |
saveUsersGroups()
Saves the settings in the 'users.ini' file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminConfigGroups(String groupID,
String data)
throws IOException
IOException - when the data doesn't have the correct format.| Method Detail |
|---|
public static void loadGroupsAndUsers()
throws IOException
IOException - when an error occurs.public static void buildActiveGroupUsers()
public static void appendSlaveInformation(Transaction trans)
public static boolean appendChanges(Transaction trans,
Hashtable old,
StringBuffer buf)
public static boolean processChanges(Transaction input,
Transaction output,
StringBuffer buf)
public static AdminConfigUser getUserInGroup(String userID,
String groupID)
public static Enumeration<AdminConfigGroups> getGroups()
public static Enumeration<String> getSortedGroupIDs()
public static String getGroupDescription(String id)
public static void saveUsersGroups()
throws IOException
IOException - when an error occurs.public static AdminConfigGroups getGroup(String id)
public static void edit(VirtualPanel vp)
public String getGroupID()
public String getDescription()
public boolean isActive()
public boolean equals(AdminConfigGroups g)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||