Package com.jalios.jcms.accesscontrol
Class AccessControlListIndexManager
- java.lang.Object
-
- com.jalios.jcms.AbstractIndexManager
-
- com.jalios.jcms.accesscontrol.AccessControlListIndexManager
-
public class AccessControlListIndexManager extends AbstractIndexManager
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jalios.jcms.AbstractIndexManager
AbstractIndexManager.DataIndex<D extends Data,C>, AbstractIndexManager.DataIndexMap<D extends Data,K,V>, AbstractIndexManager.DataIndexSet<D extends Data,E>
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.AbstractIndexManager
channel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addGroup(AccessControlList acl, Group group)
Adds the specified Group to the group Set of the given ACL.java.util.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, addIndexWithSet, clearIndex, getIndexWithMap, getIndexWithMap, getIndexWithSet, getOriginalData, isUndefinedIndexWithSet, putIndexWithMap, removeIndexWithMap, removeIndexWithSet, removeIndexWithSet, setIndexWithSet
-
-
-
-
Method Detail
-
getInstance
public static AccessControlListIndexManager getInstance()
-
getGroupSet
public java.util.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 addedgroup
- 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 removedgroup
- the Group to be removed.- Returns:
- true if the set contained the specified element.
- Since:
- jcms-7.0.0
-
-