offer | partitions | partition <n> | validation

The Validation Plugin Development Kit (PDK), delivered with Centralized Offer Management, allows third parties to develop custom validation logic for use in Centralized Offer Management. Properties in the partition[n] > validation category specify the classpath and class name of the custom validation program, and an optional configuration string.

validationClass

Description
The validationClass property specifies the name of the class used for validation in Centralized Offer Management. The path to the class is specified in the validationClasspath property. The class must be fully qualified with its package name. An example is as follows:
com.unica.campaign.core.validation.samples.SimpleCampaignValidator

The example indicates the SimpleCampaignValidator class from the sample code. This property is undefined by default, which causes Centralized Offer Management to perform no custom validation.

Default Value
No default value defined

validatorConfigString

Description
The validationConfigString property specifies a configuration string that is passed into the validation plugin when Centralized Offer Management loads it. The use of the configuration string may vary, depending on the plugin used.

This property is undefined by default.

Default Value
No default value defined

validationClasspath

Description
The validationClasspath property specifies the path to the class used for custom validation in Centralized Offer Management.
  • Use either a full path or a relative path. If the path is relative, the behavior depends on the application server that is running Centralized Offer Management. WebLogic uses the path to the domain work directory, which by default is C:\bea\user_projects\domains\mydomain.
  • If the path ends in a slash (forward slash / for UNIX™ or backslash \ for Windows™), Centralized Offer Management assumes that it points to the location of the Java™ plug-in class that should be used.
  • If the path does not end in a slash, Centralized Offer Management assumes that it is the name of a JAR file that contains the Java class. For example, the value /<CAMPAIGN_HOME>/devkits/validation/lib/validator.jar is the path on a UNIX platform that points to the JAR file that is provided with the plug-in developer's kit.

This property is undefined by default, which causes the property to be ignored.

Value
NO