com.jalios.jcms.accesscontrol
Class AccessControlListIndexManager

java.lang.Object
  extended by com.jalios.jcms.AbstractIndexManager
      extended by com.jalios.jcms.accesscontrol.AccessControlListIndexManager

public class AccessControlListIndexManager
extends AbstractIndexManager


Field Summary
static String REVISION
           
 
Fields inherited from class com.jalios.jcms.AbstractIndexManager
channel
 
Method Summary
 boolean addGroup(AccessControlList acl, Group group)
          Adds the specified Group to the group Set of the given ACL.
 Set<Group> getGroupSet(AccessControlList acl)
          Returns the Group set using the specified ACL.
static AccessControlListIndexManager getInstance()
           
 boolean removeGroup(AccessControlList acl, Group group)
          Removes the specified Group from the group Set of the given ACL.
 
Methods inherited from class com.jalios.jcms.AbstractIndexManager
addIndexWithSet, clearIndex, getIndexWithMap, getIndexWithMap, getIndexWithSet, isUndefinedIndexWithSet, putIndexWithMap, removeIndexWithMap, removeIndexWithSet, setIndexWithSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Method Detail

getInstance

public static AccessControlListIndexManager getInstance()

getGroupSet

public Set<Group> getGroupSet(AccessControlList acl)
Returns the Group set using the specified ACL.

Parameters:
acl - the AccessControlList for which Group set will be retrieved
Returns:
the Group set associated to the specified ACL.
Since:
jcms-7.0.0

addGroup

public boolean addGroup(AccessControlList acl,
                        Group group)
Adds the specified Group to the group Set of the given ACL.

Parameters:
acl - the ACL for which a Group is being added
group - the Group to be added.
Returns:
true if this set did not already contain the specified element.
Since:
jcms-7.0.0

removeGroup

public boolean removeGroup(AccessControlList acl,
                           Group group)
Removes the specified Group from the group Set of the given ACL.

Parameters:
acl - the ACL for which a Group is being removed
group - the Group to be removed.
Returns:
true if the set contained the specified element.
Since:
jcms-7.0.0


Copyright © 2001-2010 Jalios SA. All Rights Reserved.