public class GiftRegistryValuesAuditCmdImpl extends GiftRegistryAddressAuditCmdImpl implements GiftRegistryValuesAuditCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
GiftRegistryValuesAuditCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | checkDateCanBePastDate()
This method will validate the registry event date to ensure date can be updated to the past, as defined in the business rule: EC_RULE_EVENT_DATE_IN_PAST
|
protected void | checkDateNotAfterMaxAdvanceDays()
This method will validate the registry event date to ensure the date is not after the maximum advance days business rule: EC_RULE_DAYS_EVENT_DATE_VALID_IN_FUTURE
|
protected void | checkDateNotBeforeMinAdvanceDays()
This method will validate the registry event date to ensure the date is not before the minimum advance days, as defined in the business rule: EC_RULE_DAYS_EVENT_DATE_VALID_IN_PAST
|
java.sql.Date | getEventDate()
Gets the event date
|
java.lang.Integer | getEventDay()
Gets the event day
|
java.lang.Integer | getEventMonth()
Gets the event month
|
java.lang.Integer | getEventTypeId()
Gets event type ID
|
java.lang.Integer | getEventYear()
Gets the event year
|
java.lang.String | getExternalId()
Gets the external ID
|
java.lang.Integer | getStoreId()
Gets the store ID
|
protected java.sql.Date | makeDate(int year, int month, int day)
Makes a day based on the given year, month, and day
|
void | performExecute()
Audits part of the input values for creating or updating a gift registry.
|
void | setEventDate(java.sql.Date date)
Sets the event date for a gift registry
|
void | setEventDay(java.lang.Integer day)
Sets the day of an event
|
void | setEventMonth(java.lang.Integer month)
Sets the month of an event
|
void | setEventTypeId(java.lang.Integer aEventTypeId)
Set event type ID
|
void | setEventYear(java.lang.Integer year)
Sets the year of an event
|
void | setExternalId(java.lang.String aExternalId)
Sets the External ID
|
void | setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties
|
void | setStoreId(java.lang.Integer aStoreId)
Sets store Id
|
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
protected void checkDateNotBeforeMinAdvanceDays() throws ECException
protected void checkDateNotAfterMaxAdvanceDays() throws ECApplicationException, ECSystemException
protected void checkDateCanBePastDate() throws ECApplicationException, ECSystemException
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public java.lang.Integer getEventTypeId()
public void setEventTypeId(java.lang.Integer aEventTypeId)
public java.sql.Date getEventDate()
public java.lang.Integer getEventYear()
public java.lang.Integer getEventMonth()
public java.lang.Integer getEventDay()
public void setEventDate(java.sql.Date date)
public void setEventYear(java.lang.Integer year)
public void setEventMonth(java.lang.Integer month)
public void setEventDay(java.lang.Integer day)
public void setExternalId(java.lang.String aExternalId)
public java.lang.String getExternalId()
public java.lang.Integer getStoreId()
public void setStoreId(java.lang.Integer aStoreId)
protected java.sql.Date makeDate(int year, int month, int day)