public class ItemDeleteEligibilityRuleValidator extends AbstractGiftListRulesValidator
ItemDeleteEligibilityRuleValidator class validates whether
registrants can remove gift items with purchase records from the gift list.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
| Constructor and Description |
|---|
ItemDeleteEligibilityRuleValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validateOnDelete(java.lang.Object noun,
java.lang.Object nounPart,
java.lang.Integer rule)
Validates the rule when a gift list item is being deleted
|
validateOnCreate, validateOnUpdatepublic static final java.lang.String COPYRIGHT
public boolean validateOnDelete(java.lang.Object noun,
java.lang.Object nounPart,
java.lang.Integer rule)
throws GiftListRuleValidationException
validateOnDelete in interface GiftListRulesValidatorvalidateOnDelete in class AbstractGiftListRulesValidatornoun - The GiftList noun that needs to be validated.nounPart - The GiftList noun part to use to validate the
part data against a rule, rather than using the whole GiftList
noun.rule - The rule name.GiftListRuleValidationException