| 
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMissingRefService
This interface provide all the method needed to manage missing references.
| Method Summary | |
|---|---|
 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.  | 
| Method Detail | 
|---|
void markAsFixed(IMissingRef pMissingRef)
This method needs to be called within a surrounding transaction. If no transaction is started, this method will throw an IllegalTransactionStateException.
pMissingRef - The missing reference that has been corrected and therefore no longer existjava.lang.IllegalArgumentException - if the given missing ref is nullIllegalTransactionStateException - if no transaction is startedmarkAsFixed(Collection)void markAsFixed(java.util.Collection<IMissingRef> pMissingRefs)
pMissingRefs - the collection of missing refs that have been corrected and therefore no longer existjava.lang.IllegalArgumentException - if the given collection is nullIllegalTransactionStateException - if no transaction is startedmarkAsFixed(IMissingRef)
java.util.Collection<IMissingRef> findMissingReferences(java.lang.Class<? extends IOdiEntity> pOdiEntityClass,
                                                        java.io.Serializable pOdiEntityId,
                                                        boolean pApplyToChildren)
Returns an empty collection if no missing ref was found.
This method doesn't need to be called within a surrounding transaction.
pOdiEntityClass - the entity java classpOdiEntityId - the entity internal identifierpApplyToChildren - true to apply the query to children of the entity, false otherwisejava.lang.IllegalArgumentException - if the given class is nulljava.lang.IllegalArgumentException - if the given entity id is null
  | 
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||