|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.acl.service.GroupServiceImpl
@Service(value="groupService") public class GroupServiceImpl
| Constructor Summary | |
|---|---|
GroupServiceImpl()
|
|
| Method Summary | |
|---|---|
Boolean |
deleteUserGroups(String username)
Delete all user's authorities |
List<GroupDTO> |
getFreeGroups(String username)
|
GroupDTO |
getGroup(Integer id)
Retrieve a group by id |
List<GroupDTO> |
getGroups()
|
List<GroupDTO> |
getGroups(Pager pager)
|
Integer |
getTotalItemsNumber()
|
List<GroupDTO> |
getUserGroups(String username)
|
List<GroupDTO> |
getUserGroupsWithAutorities(String username)
|
Boolean |
hasUsers(Integer id)
Check if Group has a users |
Boolean |
removeGroup(Integer id)
Remove a group by id |
Boolean |
save(GroupDTO group)
Save a GroupDTO |
Boolean |
saveGroups(String username,
List<Integer> groups)
Save a list of authorities for a given user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupServiceImpl()
| Method Detail |
|---|
public List<GroupDTO> getUserGroupsWithAutorities(String username)
getUserGroupsWithAutorities in interface GroupServicepublic Boolean deleteUserGroups(String username)
GroupService
deleteUserGroups in interface GroupServicepublic List<GroupDTO> getFreeGroups(String username)
getFreeGroups in interface GroupServicepublic GroupDTO getGroup(Integer id)
GroupService
getGroup in interface GroupServicepublic List<GroupDTO> getGroups()
getGroups in interface GroupServicepublic List<GroupDTO> getGroups(Pager pager)
getGroups in interface GroupServicepublic List<GroupDTO> getUserGroups(String username)
getUserGroups in interface GroupServicepublic Boolean removeGroup(Integer id)
GroupService
removeGroup in interface GroupServicepublic Boolean save(GroupDTO group)
GroupService
save in interface GroupService
public Boolean saveGroups(String username,
List<Integer> groups)
GroupService
saveGroups in interface GroupServicepublic Integer getTotalItemsNumber()
getTotalItemsNumber in interface PagerServicepublic Boolean hasUsers(Integer id)
GroupService
hasUsers in interface GroupServiceid - of the group
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||