Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.computedgroups
Class NuxeoComputedGroup

java.lang.Object
  extended by org.nuxeo.ecm.platform.computedgroups.NuxeoComputedGroup
All Implemented Interfaces:
Serializable, NuxeoGroup, ComputedGroup

public class NuxeoComputedGroup
extends Object
implements ComputedGroup

Computed group implementation class. Delegates part of the implementation logic to the ComputedGroupsService that is pluggable.

Author:
Thierry Delprat
See Also:
Serialized Form

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

Constructor Detail

NuxeoComputedGroup

public NuxeoComputedGroup(String name)
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

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

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

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

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

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

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

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

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

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.