|
||||||||||
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.PublicationIndexManager
public class PublicationIndexManager
Field Summary |
---|
Fields inherited from class com.jalios.jcms.AbstractIndexManager |
---|
channel |
Method Summary | |
---|---|
boolean |
addWeakReferrer(Publication pub,
Publication weakReferrer)
Adds the given weak referrer to the given publication. |
boolean |
addWorkCopy(Publication pub,
Publication workCopy)
Adds the given work copy to the given publication. |
void |
clearPstatusAlarmEntryMap(Publication pub)
Clears the AlarmEntry map associated to the given publication. |
void |
clearWeakReferrerSet(Publication pub)
Clears the weak referrer set associated to the given publication. |
void |
clearWorkCopySet(Publication pub)
Clears the work copy set associated to the given publication. |
static PublicationIndexManager |
getInstance()
|
AlarmEntry |
getPstatusAlarmEntry(Publication pub,
int pstatus)
|
Map<Integer,AlarmEntry> |
getPstatusAlarmEntryMap(Publication pub)
Returns the AlarmEntry map associated to the given publication. |
Set<Publication> |
getWeakReferrerSet(Publication pub)
Returns the weak referrer set associated to the given publication. |
Set<Publication> |
getWorkCopySet(Publication pub)
Returns the work copy set associated to the given publication. |
void |
putPstatusAlarmEntry(Publication pub,
int pstatus,
AlarmEntry alarmEntry)
Binds the given AlarmEntry to the given pstatus for the given publication. |
AlarmEntry |
removePstatusAlarmEntry(Publication pub,
int pstatus)
Removes the alarm entry of the given pstatus for the given publication. |
boolean |
removeWeakReferrer(Publication pub,
Publication weakReferrer)
Removes the given weak referrer for the given publication. |
boolean |
removeWorkCopy(Publication pub,
Publication workCopy)
Removes the given work copy for the given publication. |
void |
setWeakReferrerSet(Publication pub,
Set<Publication> set)
Set the weak referrer set associated to the given publication. |
void |
setWorkCopySet(Publication pub,
Set<Publication> set)
Set the work copy set associated to the given publication. |
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 PublicationIndexManager getInstance()
public Set<Publication> getWorkCopySet(Publication pub)
pub
- the publication
public void setWorkCopySet(Publication pub, Set<Publication> set)
set
- the setpublic void clearWorkCopySet(Publication pub)
pub
- the publicationpublic boolean addWorkCopy(Publication pub, Publication workCopy)
pub
- publication with which this work copy must be added.workCopy
- the work copy
public boolean removeWorkCopy(Publication pub, Publication workCopy)
pub
- publications with which this content must be removed.workCopy
- work copy to be removed from this set, if present.
public Set<Publication> getWeakReferrerSet(Publication pub)
pub
- the publication
public void setWeakReferrerSet(Publication pub, Set<Publication> set)
set
- the setpublic void clearWeakReferrerSet(Publication pub)
pub
- the publicationpublic boolean addWeakReferrer(Publication pub, Publication weakReferrer)
pub
- publication with which this weak referrer must be added.weakReferrer
- the weak referrer
public boolean removeWeakReferrer(Publication pub, Publication weakReferrer)
pub
- publication with which this content must be removed.weakReferrer
- weak referrer to be removed from this set, if present.
public Map<Integer,AlarmEntry> getPstatusAlarmEntryMap(Publication pub)
pub
- the publication
public AlarmEntry getPstatusAlarmEntry(Publication pub, int pstatus)
public void clearPstatusAlarmEntryMap(Publication pub)
pub
- the publicationpublic void putPstatusAlarmEntry(Publication pub, int pstatus, AlarmEntry alarmEntry)
pub
- the publicationpstatus
- the pstatusalarmEntry
- the AlarmEntrypublic AlarmEntry removePstatusAlarmEntry(Publication pub, int pstatus)
pub
- the publicationpstatus
- the pstatus
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |