Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.5.0)

E17060-02


oracle.odi.missingref.support
Class MissingRefManager

java.lang.Object
  extended by oracle.odi.missingref.support.MissingRefManager


public class MissingRefManager
extends java.lang.Object

This class is used in UI side to cache and manipulate missing references.

Since:
11.1.1.3.0

Constructor Summary
MissingRefManager()
          FOR INTERNAL USE ONLY.

 

Method Summary
 void addMissingRefs(java.util.Collection<IMissingRef> 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.io.Serializable pSourceEntityId)
          Returns the missing refs managed in this manager whose origin entity matches Class sourceEntityClass, Serializable pSourceEntityId.
 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.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

MissingRefManager

public MissingRefManager()
FOR INTERNAL USE ONLY.

Method Detail

addMissingRefs

public void addMissingRefs(java.util.Collection<IMissingRef> pMissingRefs)
Add a collection of missing references to the missing refs cache and propagates the event.
Parameters:
pMissingRefs - a collection of missing references

addMissingRefsListener

public void addMissingRefsListener(MissingRefsListener pListener)
Add a missing refs listener to the manager.
Parameters:
pListener - a missing refs listener
See Also:
removeMissingRefsListener(oracle.odi.missingref.MissingRefsListener)

removeMissingRefsListener

public void removeMissingRefsListener(MissingRefsListener pListener)
Remove a missing refs listener from the manager.
Parameters:
pListener - a missing refs listener
See Also:
addMissingRefsListener(oracle.odi.missingref.MissingRefsListener)

clearAll

public void clearAll()
Clears the cache of both missing refs and corrected missing refs.

clearCorrectedMissingRefs

public void clearCorrectedMissingRefs()
Clear the corrected missing refs cache.

markAsFixed

public 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.
Parameters:
pMissingRef - a missing ref

getAllMissingRefs

public IMissingRef[] getAllMissingRefs()
Returns the list of missing refs still managed (not corrected) by this manager.
Returns:
an array of IMissingRef objects representing the all missing refs value

getCorrectedMissingRefs

public IMissingRef[] getCorrectedMissingRefs()
Returns the list of missing refs corrected in this manager.
Returns:
an array of IMissingRef objects representing the corrected missing refs values

getMissingRefsFor

public IMissingRef[] getMissingRefsFor(java.lang.Class sourceEntityClass,
                                       java.io.Serializable pSourceEntityId)
Returns the missing refs managed in this manager whose origin entity matches Class sourceEntityClass, Serializable pSourceEntityId.
Parameters:
sourceEntityClass - the class of the source entity
pSourceEntityId - the id of the source entity
Returns:
an array of IMissingRef objects for the source entity class and source entity id

getMissingRefsForObject

public IMissingRef[] getMissingRefsForObject(IRepositoryEntity pRepositoryEntity)
Returns the missing refs managed in this manager whose origin entity is this one.
Parameters:
pRepositoryEntity - a repository entity
Returns:
an array of IMissingRef objects for a repository entity

hasMissingRefs

public boolean hasMissingRefs()
Does the manager have missing refs (corrected missing ref are NOT included).
Returns:
true if this manager has a missing ref

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.5.0)

E17060-02


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.