public class PublicationIndexManager extends AbstractIndexManager
channel
Modifier and Type | Method and Description |
---|---|
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) |
java.util.Map<java.lang.Integer,AlarmEntry> |
getPstatusAlarmEntryMap(Publication pub)
Returns the AlarmEntry map associated to the given publication.
|
java.util.Set<Publication> |
getWeakReferrerSet(Publication pub)
Returns the weak referrer set associated to the given publication.
|
java.util.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,
java.util.Set<Publication> set)
Set the weak referrer set associated to the given publication.
|
void |
setWorkCopySet(Publication pub,
java.util.Set<Publication> set)
Set the work copy set associated to the given publication.
|
addIndexWithSet, clearIndex, getIndexWithMap, getIndexWithMap, getIndexWithSet, isUndefinedIndexWithSet, putIndexWithMap, removeIndexWithMap, removeIndexWithSet, setIndexWithSet
public static PublicationIndexManager getInstance()
public java.util.Set<Publication> getWorkCopySet(Publication pub)
pub
- the publicationpublic void setWorkCopySet(Publication pub, java.util.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 copypublic 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 java.util.Set<Publication> getWeakReferrerSet(Publication pub)
pub
- the publicationpublic void setWeakReferrerSet(Publication pub, java.util.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 referrerpublic 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 java.util.Map<java.lang.Integer,AlarmEntry> getPstatusAlarmEntryMap(Publication pub)
pub
- the publicationpublic 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 pstatusCopyright © 2001-2010 Jalios SA. All Rights Reserved.