public class ValidateGiftRegistryValuesCmdImpl extends BusinessObjectDocumentCmdImpl implements ValidateGiftRegistryValuesCmd
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.
|
Constructor and Description |
---|
ValidateGiftRegistryValuesCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | checkDateCanBePastDate(GiftRegistryVO pGrVO)
This method will validate the registry event date to ensure date can be updated to the past business rules: EC_RULE_EVENT_DATE_IN_PAST
|
protected void | checkDateNotAfterMaxAdvanceDays(GiftRegistryVO pGrVO)
This method will validate the registry event date to ensure date is not after the maximum advance days business rules: EC_RULE_DAYS_EVENT_DATE_VALID_IN_FUTURE
|
protected void | checkDateNotBeforeMinAdvanceDays(GiftRegistryVO pGrVO)
This method will validate the registry event date to ensure date is not before the minimum advance days business rules: EC_RULE_DAYS_EVENT_DATE_VALID_IN_PAST
|
protected void | checkExceedMaxRegistries(GiftRegistryVO pGrVO)
Check to see if a new gift registry is being created and if so, check against the gift registry rule: EC_RULE_MAXIMUM_NUM_OF_REGISTRIES
|
void | performExecute()
Executes this task command.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void performExecute() throws ECException
protected void checkExceedMaxRegistries(GiftRegistryVO pGrVO) throws ECApplicationException, ECSystemException
protected void checkDateNotBeforeMinAdvanceDays(GiftRegistryVO pGrVO) throws ECException
protected void checkDateNotAfterMaxAdvanceDays(GiftRegistryVO pGrVO) throws ECApplicationException, ECSystemException
protected void checkDateCanBePastDate(GiftRegistryVO pGrVO) throws ECApplicationException, ECSystemException