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 boolean
addCategory(String groupName, String categoryName)
boolean
addUser(String groupName, String userName)
void
afterPropertiesSet()
void
deleteGroup(String groupName)
boolean
existsGroup(String groupName)
List<OnmsCategory>
getAuthorizedCategories(String groupName)
List<String>
getAuthorizedCategoriesAsString(String groupName)
Group
getGroup(String groupName)
List<Group>
getGroups()
OnmsGroup
getOnmsGroup(String groupName)
OnmsGroupList
getOnmsGroupList()
OnmsUser
getUserForGroup(String groupName, String userName)
OnmsUserList
getUsersOfGroup(String groupName)
boolean
removeCategory(String groupName, String categoryName)
void
renameGroup(String oldName, String newName)
void
saveGroup(Group group)
void
saveGroup(Group group, List<String> authorizedCategories)
void
saveGroup(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)
-
-