public class GroupLib
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private SQLConnector |
sqlConnector |
private UserLib |
userLib |
Constructor and Description |
---|
GroupLib() |
Modifier and Type | Method and Description |
---|---|
Group[] |
getAllGroups() |
java.util.LinkedList<Group> |
getGroupsByUserID(int userID) |
java.util.HashMap<User,PermissionRole> |
getRolesInGroup(Group group) |
void |
insertGroupChanges(Group g) |
void |
insertRoleChanges(Group g,
User u,
PermissionRole pr) |
private SQLConnector sqlConnector
private UserLib userLib
public java.util.LinkedList<Group> getGroupsByUserID(int userID)
public java.util.HashMap<User,PermissionRole> getRolesInGroup(Group group)
public Group[] getAllGroups()
public void insertGroupChanges(Group g)
public void insertRoleChanges(Group g, User u, PermissionRole pr)