|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.acl.domain.GenericUser
public class GenericUser
This entity represent a user managed by Acl application.
| Constructor Summary | |
|---|---|
GenericUser(UserAuthoritiesDTO user,
UserService userService,
GroupService groupService)
Constructor |
|
| Method Summary | |
|---|---|
List<?> |
getAuthorities()
Return a list of authorities of this GenericUser |
List<GroupDTO> |
getFreeGroups()
Return a list of groups that this GenericUser don't have |
List<GroupDTO> |
getGroups()
|
Long |
getId()
Return the GenericUser unique identifier |
String |
getUsername()
Return the username of this GenericUser |
UserView |
getUserView()
Return a read only GenericUser |
void |
save()
Save the user |
void |
setNewGroups(List<Integer> groups)
Add a list of groups to this GenericUser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericUser(UserAuthoritiesDTO user,
UserService userService,
GroupService groupService)
user - authorityService - | Method Detail |
|---|
public void save()
public void setNewGroups(List<Integer> groups)
authorities - public List<GroupDTO> getFreeGroups()
public List<GroupDTO> getGroups()
public UserView getUserView()
public Long getId()
public String getUsername()
public List<?> getAuthorities()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||