public class MissingRefManager
extends java.lang.Object
Constructor and Description |
---|
MissingRefManager()
FOR INTERNAL USE ONLY.
|
Modifier and Type | Method and Description |
---|---|
void |
addMissingRefs(java.util.Collection pMissingRefs)
Add a collection of missing references to the missing refs cache and propagates the event.
|
void |
addMissingRefsListener(MissingRefsListener pListener)
Add a missing refs listener to the manager.
|
void |
clearAll()
Clears the cache of both missing refs and corrected missing refs.
|
void |
clearCorrectedMissingRefs()
Clear the corrected missing refs cache.
|
IMissingRef[] |
getAllMissingRefs()
Returns the list of missing refs still managed (not corrected) by this manager.
|
IMissingRef[] |
getCorrectedMissingRefs()
Returns the list of missing refs corrected in this manager.
|
IMissingRef[] |
getMissingRefsFor(java.lang.Class sourceEntityClass,
java.lang.String pSourceEntityGlobalId)
Returns the missing refs managed in this manager whose origin entity matches Class sourceEntityClass, String pSourceEntityGlobalId.
|
IMissingRef[] |
getMissingRefsForObject(IRepositoryEntity pRepositoryEntity)
Returns the missing refs managed in this manager whose origin entity is this one.
|
boolean |
hasMissingRefs()
Does the manager have missing refs (corrected missing ref are NOT included).
|
void |
markAsFixed(IMissingRef pMissingRef)
Removes a missing ref from the missing refs cache, adds it to the corrected missing refs cache and propagates the event.
|
void |
removeMissingRefsListener(MissingRefsListener pListener)
Remove a missing refs listener from the manager.
|
public void addMissingRefs(java.util.Collection pMissingRefs)
pMissingRefs
- a collection of missing referencespublic void addMissingRefsListener(MissingRefsListener pListener)
pListener
- a missing refs listenerremoveMissingRefsListener(oracle.odi.missingref.MissingRefsListener)
public void removeMissingRefsListener(MissingRefsListener pListener)
pListener
- a missing refs listeneraddMissingRefsListener(oracle.odi.missingref.MissingRefsListener)
public void clearAll()
public void clearCorrectedMissingRefs()
public void markAsFixed(IMissingRef pMissingRef)
pMissingRef
- a missing refpublic IMissingRef[] getAllMissingRefs()
public IMissingRef[] getCorrectedMissingRefs()
public IMissingRef[] getMissingRefsFor(java.lang.Class sourceEntityClass, java.lang.String pSourceEntityGlobalId)
sourceEntityClass
- the class of the source entitypSourceEntityGlobalId
- the global id of the source entitypublic IMissingRef[] getMissingRefsForObject(IRepositoryEntity pRepositoryEntity)
pRepositoryEntity
- a repository entitypublic boolean hasMissingRefs()