public class MemberIndexManager extends AbstractIndexManager
channel
Modifier and Type | Method and Description |
---|---|
boolean |
addContent(Member mbr,
Content content)
Adds the given content to the content set of the given member.
|
boolean |
addDelegate(Member mbr,
Member delegate)
Adds the given delegate to the delegate set of the given member.
|
boolean |
addPublication(Member mbr,
Publication pub)
Adds the given publication to the publication set of the given member.
|
boolean |
addWorkspace(Member mbr,
Workspace workspace)
Adds the given workspace to the workspace set of the given member.
|
void |
clearCanPublishContentMap(Member mbr)
Clears the publish rights map associated to the given member.
|
void |
clearCanUpdateDeleteContentMap(Member mbr)
Clears the updateDelete map associated to the given member.
|
void |
clearWorkspaceSet(Member mbr)
Clears the workspace set associated to the given member.
|
java.util.Map<Workspace,java.lang.Boolean> |
getCanPublishContentMap(Member mbr)
Returns the publish rights map associated to the given member.
|
java.util.Map<Workspace,java.lang.Boolean> |
getCanUpdateDeleteContentMap(Member mbr)
Returns the updateDelete map associated to the given member.
|
java.util.Set<Content> |
getContentSet(Member mbr)
Returns the content set associated to the given member.
|
java.util.Set<Member> |
getDelegateSet(Member mbr)
Returns the delegate set associated to the given member.
|
static MemberIndexManager |
getInstance() |
java.util.Set<Publication> |
getPublicationSet(Member mbr)
Returns the publication set associated to the given member.
|
java.util.Set<Workspace> |
getWorkspaceSet(Member mbr)
Returns the workspace set associated to the given member.
|
void |
putCanPublishContent(Member mbr,
Workspace workspace,
boolean bool)
Adds the given entry to the publish rights map of the given member.
|
void |
putCanUpdateDeleteContent(Member mbr,
Workspace workspace,
boolean bool)
Adds the given entry to the workspace set of the given member.
|
void |
removeCanPublishContent(Member mbr,
Workspace workspace)
Removes the given entry for the given member.
|
void |
removeCanUpdateDeleteContent(Member mbr,
Workspace workspace)
Removes the given entry for the given member.
|
boolean |
removeContent(Member mbr,
Content content)
Removes the given content for the given member.
|
boolean |
removeDelegate(Member mbr,
Member delegate)
Removes the given delegate for the given member.
|
boolean |
removePublication(Member mbr,
Publication pub)
Removes the given publication for the given member.
|
boolean |
removeWorkspace(Member mbr,
Workspace workspace)
Removes the given workspace for the given member.
|
void |
setWorkspaceSet(Member mbr,
java.util.Set<Workspace> set)
Sets the workspace set associated to the given member.
|
addIndexWithSet, clearIndex, getIndexWithMap, getIndexWithMap, getIndexWithSet, isUndefinedIndexWithSet, putIndexWithMap, removeIndexWithMap, removeIndexWithSet, setIndexWithSet
public static MemberIndexManager getInstance()
public java.util.Set<Publication> getPublicationSet(Member mbr)
mbr
- the memberpublic boolean addPublication(Member mbr, Publication pub)
mbr
- member with which this publication must be added.pub
- publication to be added to this set.public boolean removePublication(Member mbr, Publication pub)
mbr
- member with which this publication must be removed.pub
- publication to be removed from this set, if present.public java.util.Set<Content> getContentSet(Member mbr)
mbr
- the memberpublic boolean addContent(Member mbr, Content content)
mbr
- ember with which this content must be added.content
- content to be added to this set.public boolean removeContent(Member mbr, Content content)
mbr
- member with which this content must be removed.content
- content to be removed from this set, if present.public java.util.Set<Workspace> getWorkspaceSet(Member mbr)
mbr
- the memberpublic void setWorkspaceSet(Member mbr, java.util.Set<Workspace> set)
mbr
- the memberset
- the workspace set to associate to the given member. MUST NOT be null.public void clearWorkspaceSet(Member mbr)
mbr
- the memberpublic boolean addWorkspace(Member mbr, Workspace workspace)
mbr
- ember with which this workspace must be added.workspace
- workspace to be added to this set.public boolean removeWorkspace(Member mbr, Workspace workspace)
mbr
- member with which this workspace must be removed.workspace
- workspace to be removed from this set, if present.public java.util.Set<Member> getDelegateSet(Member mbr)
mbr
- the memberpublic boolean addDelegate(Member mbr, Member delegate)
mbr
- member with which this delegate must be added.delegate
- delegate to be added to this set.public boolean removeDelegate(Member mbr, Member delegate)
mbr
- member with which this workspace must be removed.delegate
- delegate to be removed from this set, if present.public java.util.Map<Workspace,java.lang.Boolean> getCanPublishContentMap(Member mbr)
mbr
- the memberpublic void clearCanPublishContentMap(Member mbr)
mbr
- the memberpublic void putCanPublishContent(Member mbr, Workspace workspace, boolean bool)
mbr
- ember with which this workspace must be added.workspace
- workspace to be added to this set.public void removeCanPublishContent(Member mbr, Workspace workspace)
mbr
- member with which this workspace must be removed.workspace
- workspace to be removed from this set, if present.public java.util.Map<Workspace,java.lang.Boolean> getCanUpdateDeleteContentMap(Member mbr)
mbr
- the memberpublic void clearCanUpdateDeleteContentMap(Member mbr)
mbr
- the memberpublic void putCanUpdateDeleteContent(Member mbr, Workspace workspace, boolean bool)
mbr
- ember with which this workspace must be added.workspace
- workspace to be added to this set.Copyright © 2001-2010 Jalios SA. All Rights Reserved.