public class ValidateGiftRegistryValuesCmdImpl extends BusinessObjectDocumentCmdImpl implements ValidateGiftRegistryValuesCmd
UpdateGiftRegistryBOD
and then validate the gift items. Validation
is based on the defined business rules stored in the GRREGRULES table.UpdateGiftRegistryCmd
UpdateGiftRegistryBOD
ECApplicationException
if an error occurs.GiftRegistryVO
along with a GiftRegistryMessage
will be added to the
error hashtable. If an error occurs when validating a gift item, the GiftRegistryItemVO
along with a GiftRegistryMessage
will be added to a hashtable.
The hashtable will be returned to as part of the ECApplicationException
.ECApplicationException
is thrown with possible messages:GiftRegistryMessage._ERR_GIFT_REGISTRY_QUANTITY_INVALID
GiftRegistryMessage._ERR_GIFT_REGISTRY_FAILED_DURING_VALIDATION
GiftRegistryMessage._ERR_GIFT_REGISTRY_RULE_VIOLATED
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The class name of this class
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ValidateGiftRegistryValuesCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Executes this task 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 static final java.lang.String CLASSNAME
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException