|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.AbstractIndexManager
com.jalios.jcms.GroupIndexManager
public class GroupIndexManager
| Field Summary |
|---|
| Fields inherited from class com.jalios.jcms.AbstractIndexManager |
|---|
channel |
| Method Summary | |
|---|---|
boolean |
addMember(Group group,
Member member)
Adds the given Member to the given Group. |
Set<Group> |
getAncestorAndMeSet(Group group)
Returns the ancestor set associated to the given Group. |
Set<Group> |
getAncestorSet(Group group)
Returns the ancestor set associated to the given Group. |
Set<Group> |
getChildrenSet(Group group)
Returns the children set associated to the given Group. |
Set<Group> |
getDescendantSet(Group group)
Returns the descendant set associated to the given Group. |
static GroupIndexManager |
getInstance()
|
Set<Member> |
getMemberSet(Group group)
Returns the member set associated to the given Group. |
void |
refreshAllChildrenDescendantsAndAncestors(Group group,
boolean add)
|
void |
refreshIndexForCreation(Group group)
Specific update of indices while a group is currently created. |
void |
refreshIndexForUpdate(Group cloneOldGroup,
Group group)
Specific update of indices while a group is currently created. |
boolean |
removeMember(Group group,
Member member)
Removes the given member for the given Group. |
| 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 |
| Method Detail |
|---|
public static GroupIndexManager getInstance()
public Set<Member> getMemberSet(Group group)
group - the Group
public boolean addMember(Group group,
Member member)
group - Group with which this member must be added.member - the Member
public boolean removeMember(Group group,
Member member)
group - Group with which this content must be removed.member - Member to be removed from this set, if present.
public Set<Group> getChildrenSet(Group group)
group - the Group
public void refreshIndexForCreation(Group group)
group -
public void refreshIndexForUpdate(Group cloneOldGroup,
Group group)
cloneOldGroup - a clone of the former group, before update is effectivegroup - the stored group, already updated
public void refreshAllChildrenDescendantsAndAncestors(Group group,
boolean add)
public Set<Group> getDescendantSet(Group group)
group - the Group
public Set<Group> getAncestorSet(Group group)
group - the Group
public Set<Group> getAncestorAndMeSet(Group group)
group - the Group
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||