Skip navigation links

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

E17060-03


oracle.odi.missingref.support
Class MissingRefServiceImpl

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

All Implemented Interfaces:
IMissingRefService

public final class MissingRefServiceImpl
extends java.lang.Object
implements IMissingRefService

Default IMissingRefService implementation.

Since:
11.1.1.3.0

Constructor Summary
MissingRefServiceImpl(OdiInstance pOdiInstance)
          Constructs a MissingRefServiceImpl object.

 

Method Summary
 java.util.Collection<IMissingRef> findEntityMissingReferences(java.lang.Class<? extends IRepositoryEntity> pOdiEntityClass, java.io.Serializable pOdiEntityId, boolean pApplyToChildren)
           
 java.util.Collection<IMissingRef> findMissingReferences(java.lang.Class<? extends IOdiEntity> pOdiEntityClass, java.io.Serializable pOdiEntityId, boolean pApplyToChildren)
          Query the missing references for the given entity type and identifier.
 void markAsFixed(java.util.Collection<IMissingRef> pMissingRefs)
          Mark the given missing references collection as fixed.
 void markAsFixed(IMissingRef pMissingRef)
          Mark the given missing reference as fixed.

 

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

 

Constructor Detail

MissingRefServiceImpl

public MissingRefServiceImpl(OdiInstance pOdiInstance)
Constructs a MissingRefServiceImpl object.
Parameters:
pOdiInstance - an OdiInstance object

Method Detail

findMissingReferences

public java.util.Collection<IMissingRef> findMissingReferences(java.lang.Class<? extends IOdiEntity> pOdiEntityClass,
                                                               java.io.Serializable pOdiEntityId,
                                                               boolean pApplyToChildren)
Query the missing references for the given entity type and identifier.

Returns an empty collection if no missing reference was found.

This method doesn't need to be called within a surrounding transaction.

Specified by:
findMissingReferences in interface IMissingRefService
Parameters:
pOdiEntityClass - the entity java class
pOdiEntityId - the entity internal identifier
pApplyToChildren - true to apply the query to children of the entity, false otherwise
Returns:
the collection of missing references for the given entity

findEntityMissingReferences

public java.util.Collection<IMissingRef> findEntityMissingReferences(java.lang.Class<? extends IRepositoryEntity> pOdiEntityClass,
                                                                     java.io.Serializable pOdiEntityId,
                                                                     boolean pApplyToChildren)

markAsFixed

public void markAsFixed(IMissingRef pMissingRef)
Mark the given missing reference as fixed. This will basically remove the related information from the repository. You should have already repaired the broken relationship described by the given IMissinRef instance.

This method needs to be called within a surrounding transaction. If no transaction is started, this method will throw an IllegalTransactionStateException.

Specified by:
markAsFixed in interface IMissingRefService
Parameters:
pMissingRef - The missing reference that has been corrected and therefore no longer exist
See Also:
markAsFixed(Collection)

markAsFixed

public void markAsFixed(java.util.Collection<IMissingRef> pMissingRefs)
Mark the given missing references collection as fixed.
Specified by:
markAsFixed in interface IMissingRefService
Parameters:
pMissingRefs - the collection of missing refs that have been corrected and therefore no longer exist
See Also:
markAsFixed(IMissingRef)

Skip navigation links

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

E17060-03


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