Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.impl
Class NuxeoGroupImpl

java.lang.Object
  extended by org.nuxeo.ecm.core.api.impl.NuxeoGroupImpl
All Implemented Interfaces:
Serializable, NuxeoGroup

public class NuxeoGroupImpl
extends Object
implements NuxeoGroup

Author:
George Lefter
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.core.api.NuxeoGroup
PREFIX
 
Constructor Summary
NuxeoGroupImpl(String name)
           
NuxeoGroupImpl(String name, String label)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NuxeoGroupImpl

public NuxeoGroupImpl(String name)

NuxeoGroupImpl

public NuxeoGroupImpl(String name,
                      String label)
Method Detail

getMemberUsers

public List<String> getMemberUsers()
Description copied from interface: NuxeoGroup
Gets the list of member users of this group.

Specified by:
getMemberUsers in interface NuxeoGroup
Returns:
the list of member users of this group

getMemberGroups

public List<String> getMemberGroups()
Description copied from interface: NuxeoGroup
Gets the list of member groups of this group.

Specified by:
getMemberGroups in interface NuxeoGroup
Returns:
the list of member groups of this group

getParentGroups

public List<String> getParentGroups()
Description copied from interface: NuxeoGroup
Gets the list of groups this group is a member of.

Specified by:
getParentGroups in interface NuxeoGroup
Returns:
the list of member groups of this group

setMemberUsers

public void setMemberUsers(List<String> users)
Description copied from interface: NuxeoGroup
Sets the list of member users for this group.

Specified by:
setMemberUsers in interface NuxeoGroup
Parameters:
users - a list of users

setMemberGroups

public void setMemberGroups(List<String> groups)
Description copied from interface: NuxeoGroup
Sets the list of member groups for this group.

Specified by:
setMemberGroups in interface NuxeoGroup
Parameters:
groups - a list of groups

setParentGroups

public void setParentGroups(List<String> groups)
Description copied from interface: NuxeoGroup
Sets the list of groups this group is member of.

Specified by:
setParentGroups in interface NuxeoGroup
Parameters:
groups - a list of groups

getName

public String getName()
Description copied from interface: NuxeoGroup
Gets the name of the group.

Specified by:
getName in interface NuxeoGroup
Returns:
the name of the group

setName

public void setName(String name)
Description copied from interface: NuxeoGroup
Sets the name of this group.

Specified by:
setName in interface NuxeoGroup
Parameters:
name - the new name of the group

getLabel

public String getLabel()
Description copied from interface: NuxeoGroup
Gets the label of the group

Specified by:
getLabel in interface NuxeoGroup
Returns:
the label of the group

setLabel

public void setLabel(String label)
Description copied from interface: NuxeoGroup
Sets the label of this group.

Specified by:
setLabel in interface NuxeoGroup
Parameters:
label - the label of the group

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.