You can define update policies for any of the seven update policy elements. You do not need to specify a policy for each element.
In the Projects window, expand the Configuration node in the project you want to modify, and then double-click the Best Record file.
The file opens in the NetBeans XML editor.
Scroll to the UpdateManagerConfig section of the file.
Do any of the following:
To modify the merge policy for enterprise objects, change the value of the EnterpriseMergePolicy element to the fully qualified name of the new Java class.
For example:
<EnterpriseMergePolicy>com.stc.eindex.user.MyEntMergePolicy </EnterpriseMergePolicy> |
To modify the unmerge policy for enterprise objects, change the value of the EnterpriseUnmergePolicy element to the fully qualified name of the new Java class.
For example:
<EnterpriseUnmergePolicy>com.stc.eindex.user.MyEntUnmergePolicy </EnterpriseUnmergePolicy> |
To modify the update policy for enterprise objects, change the value of the EnterpriseUpdatePolicy element to the fully qualified name of the new Java class.
For example:
<EnterpriseUpdatePolicy>com.stc.eindex.user.MyEntUpdatePolicy </EnterpriseUpdatePolicy> |
To modify the create policy for enterprise objects, change the value of the EnterpriseCreatePolicy element to the fully qualified name of the new Java class.
For example:
<EnterpriseCreatePolicy>com.stc.eindex.user.MyCreatePolicy </EnterpriseCreatePolicy> |
To modify the merge policy for system objects, change the value of the SystemMergePolicy element to the fully qualified name of the new merge policy Java class.
For example:
<SystemMergePolicy>com.stc.eindex.user.MySysMergePolicy </SystemMergePolicy> |
To modify the unmerge policy for system objects, change the value of the SystemUnmergePolicy element to the fully qualified name of the new Java class.
For example:
<SystemUnmergePolicy>com.stc.eindex.user.MySysUnmergePolicy </SystemUnmergePolicy> |
To modify the assumed match policy, change the value of the UndoAssumeMatchPolicy element to the fully qualified name of the new Java class.
For example:
<UndoAssumeMatchPolicy>com.stc.eindex.user.MyUndoAsmMatchPolicy </UndoAssumeMatchPolicy> |
Save and close the file.