Deleting entity-specific rules
If your solution allows deletion of items or categories in Product Master that have entity-specific rules, then your solution might need to perform clean up action on those rules in IBM® WebSphere® Operational Decision Manager. Similar clean-up might be wanted if new items or categories are dropped from a collaboration area after entity-specific rules are created for those entities.
com.ibm.ccd.solution.wodm.api.WODMAPI
interface. A reference to the class that is
implemented this interface can be obtained through the static method
getWODMAPIInstance()
in WODMInstanceHelper
class.The WODMAPI
interface includes a set of deleteRules()
methods that allow your solution to
delete all the rules that are associated with the item or category in WebSphere® Operational
Decision Manager.
These methods can be started from your solution code that is run in different contexts (such as the post processing extension point for the catalog) or a custom tool in your solution to allow business users to delete existing items or categories.