Class MatchAndMergeRegistry
java.lang.Object
com.orchestranetworks.addon.mame.registration.MatchAndMergeRegistry
Provides a way to register custom function for field or record
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract MergeFunctionDeclaration
getFieldMergeFunction
(String functionName) getPrimaryKeyFieldMergeFunction
(String pkMergeFunctionName) abstract RecordSelectionFunctionDeclaration
getRecordSelectionFunction
(String functionName) abstract void
registerMergeFunction
(MergeFunctionDeclaration mergeFunction) Ensures merge function registration in the add-on'sMerge Function
table.abstract void
registerPrimaryKeyFieldMergeFunction
(PrimaryKeyFieldMergeFunctionDeclaration pkMergeFunctionDeclaration) Register a custom primary key generator.abstract void
registerRecordSelectionFunction
(RecordSelectionFunctionDeclaration recordSelectionFunctionDeclaration) Ensures record selection function registration in the add-on'sRecord selection functions
table.
-
Constructor Details
-
MatchAndMergeRegistry
public MatchAndMergeRegistry()
-
-
Method Details
-
registerMergeFunction
public abstract void registerMergeFunction(MergeFunctionDeclaration mergeFunction) throws com.orchestranetworks.service.OperationException Ensures merge function registration in the add-on'sMerge Function
table.- Parameters:
mergeFunction
- A merge function- Throws:
com.orchestranetworks.service.OperationException
-
getFieldMergeFunction
-
registerRecordSelectionFunction
public abstract void registerRecordSelectionFunction(RecordSelectionFunctionDeclaration recordSelectionFunctionDeclaration) throws com.orchestranetworks.service.OperationException Ensures record selection function registration in the add-on'sRecord selection functions
table.- Throws:
com.orchestranetworks.service.OperationException
-
getRecordSelectionFunction
-
registerPrimaryKeyFieldMergeFunction
public abstract void registerPrimaryKeyFieldMergeFunction(PrimaryKeyFieldMergeFunctionDeclaration pkMergeFunctionDeclaration) throws com.orchestranetworks.service.OperationException Register a custom primary key generator.- Throws:
com.orchestranetworks.service.OperationException
-
getPrimaryKeyFieldMergeFunction
public abstract PrimaryKeyFieldMergeFunctionDeclaration getPrimaryKeyFieldMergeFunction(String pkMergeFunctionName)
-