|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.AbstractIndexManager com.jalios.jcms.MemberIndexManager
public class MemberIndexManager
Field Summary |
---|
Fields inherited from class com.jalios.jcms.AbstractIndexManager |
---|
channel |
Method Summary | |
---|---|
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. |
Map<Workspace,Boolean> |
getCanPublishContentMap(Member mbr)
Returns the publish rights map associated to the given member. |
Map<Workspace,Boolean> |
getCanUpdateDeleteContentMap(Member mbr)
Returns the updateDelete map associated to the given member. |
Set<Content> |
getContentSet(Member mbr)
Returns the content set associated to the given member. |
Set<Member> |
getDelegateSet(Member mbr)
Returns the delegate set associated to the given member. |
static MemberIndexManager |
getInstance()
|
Set<Publication> |
getPublicationSet(Member mbr)
Returns the publication set associated to the given member. |
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,
Set<Workspace> set)
Sets the workspace set associated to the given member. |
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 MemberIndexManager getInstance()
public Set<Publication> getPublicationSet(Member mbr)
mbr
- the member
public 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 Set<Content> getContentSet(Member mbr)
mbr
- the member
public 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 Set<Workspace> getWorkspaceSet(Member mbr)
mbr
- the member
public void setWorkspaceSet(Member mbr, 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 Set<Member> getDelegateSet(Member mbr)
mbr
- the member
public 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 Map<Workspace,Boolean> getCanPublishContentMap(Member mbr)
mbr
- the member
public 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 Map<Workspace,Boolean> getCanUpdateDeleteContentMap(Member mbr)
mbr
- the member
public 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.public void removeCanUpdateDeleteContent(Member mbr, Workspace workspace)
mbr
- member with which this workspace must be removed.workspace
- workspace to be removed from this set, if present.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |