public class NuxeoGroupImpl extends Object implements NuxeoGroup
PREFIX
Constructor and Description |
---|
NuxeoGroupImpl(String name) |
NuxeoGroupImpl(String name,
String label) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getLabel()
Gets the label of the group
|
List<String> |
getMemberGroups()
Gets the list of member groups of this group.
|
List<String> |
getMemberUsers()
Gets the list of member users of this group.
|
String |
getName()
Gets the name of the group.
|
List<String> |
getParentGroups()
Gets the list of groups this group is a member of.
|
int |
hashCode() |
void |
setLabel(String label)
Sets the label of this group.
|
void |
setMemberGroups(List<String> groups)
Sets the list of member groups for this group.
|
void |
setMemberUsers(List<String> users)
Sets the list of member users for this group.
|
void |
setName(String name)
Sets the name of this group.
|
void |
setParentGroups(List<String> groups)
Sets the list of groups this group is member of.
|
String |
toString() |
public NuxeoGroupImpl(String name)
public List<String> getMemberUsers()
NuxeoGroup
getMemberUsers
in interface NuxeoGroup
public List<String> getMemberGroups()
NuxeoGroup
getMemberGroups
in interface NuxeoGroup
public List<String> getParentGroups()
NuxeoGroup
getParentGroups
in interface NuxeoGroup
public void setMemberUsers(List<String> users)
NuxeoGroup
setMemberUsers
in interface NuxeoGroup
users
- a list of userspublic void setMemberGroups(List<String> groups)
NuxeoGroup
setMemberGroups
in interface NuxeoGroup
groups
- a list of groupspublic void setParentGroups(List<String> groups)
NuxeoGroup
setParentGroups
in interface NuxeoGroup
groups
- a list of groupspublic String getName()
NuxeoGroup
getName
in interface NuxeoGroup
public void setName(String name)
NuxeoGroup
setName
in interface NuxeoGroup
name
- the new name of the grouppublic String getLabel()
NuxeoGroup
getLabel
in interface NuxeoGroup
public void setLabel(String label)
NuxeoGroup
setLabel
in interface NuxeoGroup
label
- the label of the groupCopyright © 2015 Nuxeo SA. All rights reserved.