Package org.galliumpowered.permission
Class GroupManager
java.lang.Object
org.galliumpowered.permission.GroupManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd aGroupThis does NOT add it to the databasevoidcreateGroup(Group group) Create a group and add it to the databasegetGroupByName(String name) Get a group by its nameGet the groupsvoidremoveGroup(Group group) Remove aGroup
-
Constructor Details
-
GroupManager
public GroupManager()
-
-
Method Details
-
addGroup
Add aGroupThis does NOT add it to the database- Parameters:
group- the group
-
createGroup
Create a group and add it to the database- Parameters:
group- the group
-
removeGroup
Remove aGroup- Parameters:
group- the group
-
getGroups
Get the groups- Returns:
- an ArrayList of the
Groups
-
getGroupByName
Get a group by its name- Parameters:
name- the name of the group- Returns:
- the group
-