Package org.galliumpowered.permission
Class GroupManager
java.lang.Object
org.galliumpowered.permission.GroupManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add aGroup
This does NOT add it to the databasevoid
createGroup
(Group group) Create a group and add it to the databasegetGroupByName
(String name) Get a group by its nameGet the groupsvoid
removeGroup
(Group group) Remove aGroup
-
Constructor Details
-
GroupManager
public GroupManager()
-
-
Method Details
-
addGroup
Add aGroup
This 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
Group
s
-
getGroupByName
Get a group by its name- Parameters:
name
- the name of the group- Returns:
- the group
-