|
||||||||||
| 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()
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 - a UserAuthoritiesDTO object.userService - a UserService object.groupService - a GroupService object.| Method Detail |
|---|
public void save()
public void setNewGroups(List<Integer> groups)
groups - a List object.public List<GroupDTO> getFreeGroups()
public List<GroupDTO> getGroups()
getGroups
List object.public UserView getUserView()
UserView object.public Long getId()
Long object.public String getUsername()
String object.public List<?> getAuthorities()
List object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||