public interface CheckGiftRegistryItemEligibilityCmd extends BusinessObjectDocumentCmd
GiftRegistryVO
based on business rules.ECApplicationException if an error occurs
The class will validate each of the gift items for the incoming UpdateGiftRegistryBOD
.
A check is done to validate that each item follows the defined business rules
stored in the GRREGRULES table
.
If an error occurs when validating a gift registry value object, the GiftRegistryItemVO
along with a GiftRegistryMessage
will be added to an error hashtable.
The hashtable will be returned to as part of the ECApplicationException
.
Possible exception messages include:
GiftRegistryMessage._ERR_GIFT_REGISTRY_ITEM_FAILED_DURING_VALIDATION
GiftRegistryMessage._ERR_GIFT_REGISTRY_ITEM_NOT_FOUND
GiftRegistryMessage._ERR_GIFT_REGISTRY_RULE_VIOLATED.'ruleNumber'
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
static java.lang.String |
defaultCommandClassName
The default implementation class
|
static java.lang.String |
NAME
The name of this interface
|
getResultBOD, setRequestBOD
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName