Package org.opennms.web.svclayer.api
Interface GroupService
-
- All Known Implementing Classes:
DefaultGroupService
public interface GroupService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddCategory(String groupName, String categoryName)booleanaddUser(String groupName, String userName)voidafterPropertiesSet()voiddeleteGroup(String groupName)booleanexistsGroup(String groupName)List<OnmsCategory>getAuthorizedCategories(String groupName)List<String>getAuthorizedCategoriesAsString(String groupName)GroupgetGroup(String groupName)List<Group>getGroups()OnmsGroupgetOnmsGroup(String groupName)OnmsGroupListgetOnmsGroupList()OnmsUsergetUserForGroup(String groupName, String userName)OnmsUserListgetUsersOfGroup(String groupName)booleanremoveCategory(String groupName, String categoryName)voidrenameGroup(String oldName, String newName)voidsaveGroup(Group group)voidsaveGroup(Group group, List<String> authorizedCategories)voidsaveGroup(OnmsGroup group)
-
-
-
Method Detail
-
existsGroup
boolean existsGroup(String groupName)
-
getAuthorizedCategories
List<OnmsCategory> getAuthorizedCategories(String groupName)
-
saveGroup
void saveGroup(OnmsGroup group)
-
saveGroup
void saveGroup(Group group)
-
deleteGroup
void deleteGroup(String groupName)
-
getOnmsGroupList
OnmsGroupList getOnmsGroupList()
-
getUsersOfGroup
OnmsUserList getUsersOfGroup(String groupName)
-
-