public interface IMissingRefService
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection |
findMissingReferences(java.lang.Class pOdiEntityClass,
java.io.Serializable pOdiEntityId,
boolean pApplyToChildren)
Query the missing references for the given entity type and identifier.
|
void |
markAsFixed(java.util.Collection pMissingRefs)
Mark the given missing references collection as fixed.
|
void |
markAsFixed(IMissingRef pMissingRef)
Mark the given missing reference as fixed.
|
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 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 findMissingReferences(java.lang.Class 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