Nuxeo Enterprise Platform 5.4

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

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

public class NuxeoGroupImpl
extends java.lang.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(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.List<java.lang.String> getMemberGroups()
          Gets the list of member groups of this group.
 java.util.List<java.lang.String> getMemberUsers()
          Gets the list of member users of this group.
 java.lang.String getName()
          Gets the name of the group.
 java.util.List<java.lang.String> getParentGroups()
          Gets the list of groups this group is a member of.
 int hashCode()
           
 void setMemberGroups(java.util.List<java.lang.String> groups)
          Sets the list of member groups for this group.
 void setMemberUsers(java.util.List<java.lang.String> users)
          Sets the list of member users for this group.
 void setName(java.lang.String name)
          Sets the name of this group.
 void setParentGroups(java.util.List<java.lang.String> groups)
          Sets the list of groups this group is member of.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NuxeoGroupImpl

public NuxeoGroupImpl(java.lang.String name)
Method Detail

getMemberUsers

public java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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(java.util.List<java.lang.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(java.util.List<java.lang.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(java.util.List<java.lang.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 java.lang.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(java.lang.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

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.