|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ReconcileService is the core interface for the reconcile process. It exposes methods to reconcile objects of different types.
| Method Summary | |
void |
executeActionPlan(ReconcileActionPlan actPlan)
Method executeActionPlan. |
MatchingStrategy |
findMatchingStrategy(ReconcileSource source,
ReconcileTarget target,
java.lang.String matchingStrategyName)
Method findMatchingStrategy. |
ReconcileActionPlan |
getActionPlan(ReconcileSource source,
ReconcileTarget target,
ReconcileStrategy recStrategy,
java.lang.String matchStrategy)
Method getActionPlan. |
java.lang.String[] |
getAvailableMatchingStrategies(ReconcileSource source,
ReconcileTarget target)
Method getAvailableMatchingStrategies. |
ReconcileStrategy |
getReconcileStrategy()
Method getReconcileStrategy. |
boolean |
isReconcilable(ReconcileSource src,
ReconcileTarget tgt)
Method isReconcilable. |
void |
reconcile(ReconcileSource source,
ReconcileTarget target,
ReconcileStrategy recStrategy,
java.lang.String matchStrategy)
Method reconcile. |
| Method Detail |
public void reconcile(ReconcileSource source,
ReconcileTarget target,
ReconcileStrategy recStrategy,
java.lang.String matchStrategy)
throws InvalidSourceException,
InvalidTargetException,
IncompatibleTypesException
source - source of metadatatarget - target object whose metadata needs to be updatedrecStrategy - the reconcile strategy to be used for reconciliationmatchStrategy - the matching strategy to compare the source and targetInvalidSourceException - if the source is not validInvalidTargetException - if the target is not validIncompatibleTypesException - if the source and target types cannot be reconciled
public boolean isReconcilable(ReconcileSource src,
ReconcileTarget tgt)
throws InvalidSourceException,
InvalidTargetException
source - source object of metadatatarget - target object whose metadata needs to be updatedInvalidSourceException - if the source is not validInvalidTargetException - if the target is not valid
public ReconcileActionPlan getActionPlan(ReconcileSource source,
ReconcileTarget target,
ReconcileStrategy recStrategy,
java.lang.String matchStrategy)
throws InvalidSourceException,
InvalidTargetException,
IncompatibleTypesException
source - source object of metadatatarget - target object whose metadata needs to be updatedrecStrategy - the reconcile strategy to be used for reconciliationmatchStrategythe - matching strategy to compare the source and targetInvalidSourceException - if the source is not validInvalidTargetException - if the target is not validIncompatibleTypesException - - if the source and target types cannot be reconciled
public void executeActionPlan(ReconcileActionPlan actPlan)
throws InvalidSourceException,
InvalidTargetException
actPlan - - the action plan computed for the specified source and
target combination.InvalidSourceException - if the source is not validInvalidTargetException - if the target is not validpublic ReconcileStrategy getReconcileStrategy()
public java.lang.String[] getAvailableMatchingStrategies(ReconcileSource source,
ReconcileTarget target)
source - source object of metadatatarget - target object whose metadata needs to be updated
public MatchingStrategy findMatchingStrategy(ReconcileSource source,
ReconcileTarget target,
java.lang.String matchingStrategyName)
throws MatchingStrategyNotFoundException
source - source object of metadatatarget - target object whose metadata needs to be updatedmatchingStrategyName - - the name of the matching strategyMatchingStrategyNotFoundException - - if the matching strategy specified by matchingStrategyName is not found.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||