public class Group extends Object
Constructor and Description |
---|
Group(GroupDTO group,
AuthorityService authorityService,
GroupService groupService)
Constructor for Group.
|
Modifier and Type | Method and Description |
---|---|
List<?> |
getAllGroups()
Return a list of all items manageable by authorities
|
List<?> |
getAuthorities()
getAuthorities
|
List<?> |
getFreeAuthorities()
getFreeAuthorities
|
List<GroupDTO> |
getGroups(Pager pager)
Return a paginated list of anemic group
|
GroupView |
getGroupView()
Return a read only Group
|
Integer |
getId()
Group unique identifier
|
String |
getName()
Return the human readable description of this Group
|
boolean |
hasAuthorities()
hasAuthorities
|
boolean |
hasUser()
hasUser
|
boolean |
remove()
Remove this Group
|
void |
save()
Save the internal state of the Group
|
void |
setNewAuthorities(List<?> items)
Overwrite the authorities assigned to this Group
|
public Group(GroupDTO group, AuthorityService authorityService, GroupService groupService)
Constructor for Group.
group
- a GroupDTO
object.authorityService
- a AuthorityService
object.groupService
- a GroupService
object.public List<?> getAllGroups()
public GroupView getGroupView()
public boolean hasAuthorities()
hasAuthorities
public boolean hasUser()
hasUser
public void save()
public void setNewAuthorities(List<?> items)
items
- a List
object.public boolean remove()
public String getName()
public Integer getId()
Copyright © 2015. All Rights Reserved.