|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.order.scheduled.ComplexScheduledOrderProperty
atg.commerce.order.scheduled.ScheduleProperty
atg.commerce.order.scheduled.PeriodicScheduleProperty
public class PeriodicScheduleProperty
This class represents the schedule property in the scheduledOrder repository. The schedule property will be a Periodic Schedule. The property is mapped to the user fields on the User Interface which are for Periodic Schedule such as the Period Type and Period value.
atg.b2bcommerce.order.scheduled.ScheduleProperty| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
static long |
MONTH_MSECS
The month can't be represented by milliseconds since different months has different lengths Need special treatment |
static java.lang.String[] |
PERIOD_TYPES
A list of possible values that the property PERIOD_TYPE can take |
| Fields inherited from class atg.commerce.order.scheduled.ScheduleProperty |
|---|
sResourceBundle |
| Constructor Summary | |
|---|---|
PeriodicScheduleProperty()
|
|
| Method Summary | |
|---|---|
protected Schedule |
createScheduleFromUserInput(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method creates the Schedule object from the user inputs. |
java.lang.String |
getReadableScheduleString(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
Schedule pSchedule)
This method returns a human-readable schedule String. |
protected void |
initializeUserInputField(java.lang.String pUserInputFieldName)
This method initializes the user input values for a particular user input. |
void |
initializeUserInputFields()
This method initializes all the user inputs. |
protected void |
remapNullScheduleToUserInputFields(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method maps to the user inputs when no schedule exists. |
protected void |
remapPeriodicMonthScheduleToUserInputFields(atg.service.scheduler.PeriodicMonthSchedule pSchedule)
This method maps the PeriodicMonthSchedule to the user inputs |
protected void |
remapPeriodicScheduleToUserInputFields(PeriodicSchedule pSchedule)
This method maps the PeriodicSchedule to the user inputs |
protected void |
remapScheduleStringToUserInput(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
Schedule pSchedule)
This method remaps the human-readable schedule string to the user input |
protected void |
remapScheduleToUserInputFields(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
Schedule pSchedule)
This method maps the Schedule Object to the user inputs. |
protected void |
verifyPeriod(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method verifies the period user input value. |
protected void |
verifyPeriodType(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method verifies the period type user input value. |
void |
verifyUserInputFields(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method verifies the values of the user input. |
| Methods inherited from class atg.commerce.order.scheduled.ScheduleProperty |
|---|
getComplexScheduledOrderPropertyValue, remapValueFromScheduledOrder, remapValueFromUserInputFields |
| Methods inherited from class atg.commerce.order.scheduled.ComplexScheduledOrderProperty |
|---|
getFormHandler, getScheduledOrderPropertyName, getUserInputField, getUserInputFieldNames, getUserInputFields, setFormHandler, setScheduledOrderPropertyName, setUserInputField, setUserInputFieldNames, setUserInputFields |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
public static final java.lang.String[] PERIOD_TYPES
PERIOD_TYPE can take
public static final long MONTH_MSECS
| Constructor Detail |
|---|
public PeriodicScheduleProperty()
| Method Detail |
|---|
public void verifyUserInputFields(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
verifyUserInputFields in class ComplexScheduledOrderPropertypRequest - the servlet's requestpResponse - the servlet's response
protected void verifyPeriodType(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
pRequest - the servlet's requestpResponse - the servlet's response
protected void verifyPeriod(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
pRequest - the servlet's requestpResponse - the servlet's response
protected Schedule createScheduleFromUserInput(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
createScheduleFromUserInput in class SchedulePropertypRequest - the servlet's requestpResponse - the servlet's response
PeriodicSchedule,
PeriodicMonthSchedule
protected void remapScheduleToUserInputFields(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
Schedule pSchedule)
remapScheduleToUserInputFields in class SchedulePropertypSchedule - the Schedule ObjectpRequest - the servlet's requestpResponse - the servlet's response
protected void remapScheduleStringToUserInput(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
Schedule pSchedule)
pSchedule - the Schedule Object
protected void remapNullScheduleToUserInputFields(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
remapNullScheduleToUserInputFields in class SchedulePropertypRequest - the servlet's requestpResponse - the servlet's responseprotected void remapPeriodicMonthScheduleToUserInputFields(atg.service.scheduler.PeriodicMonthSchedule pSchedule)
pSchedule - the PeriodicMonthSchedule objectprotected void remapPeriodicScheduleToUserInputFields(PeriodicSchedule pSchedule)
pSchedule - the PeriodicSchedule object
public java.lang.String getReadableScheduleString(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
Schedule pSchedule)
getReadableScheduleString in class SchedulePropertypSchedule - the schedule object
public void initializeUserInputFields()
initializeUserInputFields in class ComplexScheduledOrderPropertyprotected void initializeUserInputField(java.lang.String pUserInputFieldName)
pUserInputFieldName - the user input field name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||