public class CheckGiftRegistryItemEligibilityCmdImpl extends BusinessObjectDocumentCmdImpl implements CheckGiftRegistryItemEligibilityCmd
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.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CheckGiftRegistryItemEligibilityCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Executes this command.
|
getResultBOD, setRequestBOD
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResultBOD, setRequestBOD
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public CheckGiftRegistryItemEligibilityCmdImpl()
public void performExecute() throws ECApplicationException, ECSystemException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECApplicationException
ECSystemException