public class AdminConfigGroups extends Object
| Constructor and Description |
|---|
AdminConfigGroups(String groupID, String data)Creates a new user instance from the INI file. |
| Modifier and Type | Method and Description |
|---|---|
static boolean | appendChanges(Transaction trans, Hashtable<String,AdminConfigGroups> old, StringBuilder 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, StringBuilder buf)Processes changes in group information from a remote machine. |
static void | saveUsersGroups()Saves the settings in the 'users.ini' file. |
public AdminConfigGroups(String groupID, String data) throws IOException
IOException - when the data doesn't have the correct format.public static void loadGroupsAndUsers()
throws IOExceptionIOException - when an error occurs.public static void buildActiveGroupUsers()
public static void appendSlaveInformation(Transaction trans)
public static boolean appendChanges(Transaction trans, Hashtable<String,AdminConfigGroups> old, StringBuilder buf)
public static boolean processChanges(Transaction input, Transaction output, StringBuilder 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 IOExceptionIOException - 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)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.