Package com.jalios.jcms
Class PublicationIndexManager
java.lang.Object
com.jalios.jcms.AbstractIndexManager
com.jalios.jcms.PublicationIndexManager
-
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
Modifier and TypeMethodDescriptionbooleanaddWeakReferrer(Publication pub, Publication weakReferrer) Adds the given weak referrer to the given publication.booleanaddWorkCopy(Publication pub, Publication workCopy) Adds the given work copy to the given publication.voidClears the AlarmEntry map associated to the given publication.voidClears the weak referrer set associated to the given publication.voidClears the work copy set associated to the given publication.static PublicationIndexManagergetPstatusAlarmEntry(Publication pub, int pstatus) Returns the AlarmEntry map associated to the given publication.Returns the weak referrer set associated to the given publication.Returns the work copy set associated to the given publication.voidputPstatusAlarmEntry(Publication pub, int pstatus, AlarmEntry alarmEntry) Binds the given AlarmEntry to the given pstatus for the given publication.removePstatusAlarmEntry(Publication pub, int pstatus) Removes the alarm entry of the given pstatus for the given publication.booleanremoveWeakReferrer(Publication pub, Publication weakReferrer) Removes the given weak referrer for the given publication.booleanremoveWorkCopy(Publication pub, Publication workCopy) Removes the given work copy for the given publication.voidsetWeakReferrerSet(Publication pub, Set<Publication> set) Set the weak referrer set associated to the given publication.voidsetWorkCopySet(Publication pub, Set<Publication> set) Set the work copy set associated to the given publication.Methods inherited from class com.jalios.jcms.AbstractIndexManager
addIndexWithSet, addIndexWithSet, clearIndex, getIndexWithMap, getIndexWithMap, getIndexWithSet, getOriginalData, isUndefinedIndexWithSet, putIndexWithMap, removeIndexWithMap, removeIndexWithSet, removeIndexWithSet, setIndexWithSet
-
Method Details
-
getInstance
-
getWorkCopySet
Returns the work copy set associated to the given publication.- Parameters:
pub- the publication- Returns:
- the review set associated to the given publication.
- Since:
- jcms-6.0.0
-
setWorkCopySet
Set the work copy set associated to the given publication.- Parameters:
pub- the publicationset- the set- Since:
- jcms-6.0.0
-
clearWorkCopySet
Clears the work copy set associated to the given publication.- Parameters:
pub- the publication- Since:
- jcms-6.0.0
-
addWorkCopy
Adds the given work copy to the given publication.- Parameters:
pub- publication with which this work copy must be added.workCopy- the work copy- Returns:
- true if this set did not already contain the specified element.
- Since:
- jcms-6.0.0
-
removeWorkCopy
Removes the given work copy for the given publication.- Parameters:
pub- publications with which this content must be removed.workCopy- work copy to be removed from this set, if present.- Returns:
- true if the set contained the specified element.
- Since:
- jcms-6.0.0
-
getWeakReferrerSet
Returns the weak referrer set associated to the given publication.- Parameters:
pub- the publication- Returns:
- the review set associated to the given publication.
- Since:
- jcms-6.0.0
-
setWeakReferrerSet
Set the weak referrer set associated to the given publication.- Parameters:
pub- the publicationset- the set- Since:
- jcms-6.0.0
-
clearWeakReferrerSet
Clears the weak referrer set associated to the given publication.- Parameters:
pub- the publication- Since:
- jcms-6.0.0
-
addWeakReferrer
Adds the given weak referrer to the given publication.- Parameters:
pub- publication with which this weak referrer must be added.weakReferrer- the weak referrer- Returns:
- true if this set did not already contain the specified element.
- Since:
- jcms-6.0.0
-
removeWeakReferrer
Removes the given weak referrer for the given publication.- Parameters:
pub- publication with which this content must be removed.weakReferrer- weak referrer to be removed from this set, if present.- Returns:
- true if the set contained the specified element.
- Since:
- jcms-6.0.0
-
getPstatusAlarmEntryMap
Returns the AlarmEntry map associated to the given publication.- Parameters:
pub- the publication- Returns:
- the AlarmEntry map associated to the given publication.
- Since:
- jcms-6.0.0
-
getPstatusAlarmEntry
-
clearPstatusAlarmEntryMap
Clears the AlarmEntry map associated to the given publication.- Parameters:
pub- the publication- Since:
- jcms-6.0.0
-
putPstatusAlarmEntry
Binds the given AlarmEntry to the given pstatus for the given publication.- Parameters:
pub- the publicationpstatus- the pstatusalarmEntry- the AlarmEntry- Since:
- jcms-6.0.0
-
removePstatusAlarmEntry
Removes the alarm entry of the given pstatus for the given publication.- Parameters:
pub- the publicationpstatus- the pstatus- Returns:
- true if the set contained the specified element.
- Since:
- jcms-6.0.0
-