public class CalendarScheduleProperty extends ScheduleProperty
atg.b2bcommerce.order.scheduled.ScheduleProperty| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION  | 
sResourceBundle| Constructor and Description | 
|---|
CalendarScheduleProperty()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
allFalse(java.lang.String pPropertyName,
        int startIndex)
This method checks whether the values of a property are all false 
 | 
protected int | 
countTrueValues(boolean[] pValues,
               int startIndex)
This method counts the true value of a boolean array 
 | 
protected Schedule | 
createScheduleFromUserInput(DynamoHttpServletRequest pRequest,
                           DynamoHttpServletResponse pResponse)
This method creates the Schedule object from the user inputs. 
 | 
protected java.lang.String | 
getReadableDailyScheduleString(Schedule pSchedule)
This method returns a human-readable daily schedule String. 
 | 
protected java.lang.String | 
getReadableDaysOfTheWeek(boolean[] pDays)
This method returns a human-readable day of the week String. 
 | 
protected java.lang.String | 
getReadableMonthlyScheduleString(Schedule pSchedule)
This method returns a human-readable monthly schedule String. 
 | 
protected java.lang.String | 
getReadableOccurancesOfTheMonth(boolean[] pNumbers)
Deprecated. 
 
because of misspelling 
 | 
protected java.lang.String | 
getReadableOccurrencesOfTheMonth(boolean[] pNumbers)
This method returns a human-readable occurrence of the month String. 
 | 
java.lang.String | 
getReadableScheduleString(DynamoHttpServletRequest pRequest,
                         DynamoHttpServletResponse pResponse,
                         Schedule pSchedule)
This method returns a human-readable schedule String. 
 | 
protected java.lang.String | 
getReadableStringList(boolean[] pInclude,
                     java.lang.String[] pStringList)
This method translates a boolean array to a String. 
 | 
protected java.lang.String | 
getReadableWeeklyScheduleString(Schedule pSchedule)
This method returns a human-readable weekly schedule String. 
 | 
protected void | 
handleDailyMode(CalendarSchedule schedule)
This method sets the properties of the schedule object if the schedule
 mode is Daily. 
 | 
protected void | 
handleMonthlyMode(CalendarSchedule schedule)
This method sets the properties of the schedule object if the schedule
 mode is Monthly. 
 | 
protected void | 
handleWeeklyMode(CalendarSchedule schedule)
This method sets the properties of the schedule object if the schedule
 mode is Weekly. 
 | 
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 | 
remapDaysOfTheWeekToUserInput(CalendarSchedule pSchedule)
This method maps to the daysOfTheWeek user input field from the schedule
 object. 
 | 
protected void | 
remapNullScheduleToUserInputFields(DynamoHttpServletRequest pRequest,
                                  DynamoHttpServletResponse pResponse)
This method maps to the user inputs when no schedule exists. 
 | 
protected void | 
remapOccuranceInMonthToUserInput(CalendarSchedule pSchedule)
Deprecated. 
 
because of misspelling 
 | 
protected void | 
remapOccurrenceInMonthToUserInput(CalendarSchedule pSchedule)
This method maps to the occurrenceInMonth user input field from the schedule
 object. 
 | 
protected void | 
remapScheduleModeToUserInput(CalendarSchedule pSchedule)
This method maps to the scheduleMode user field from the schedule
 object. 
 | 
protected void | 
remapScheduleStringToUserInput(DynamoHttpServletRequest pRequest,
                              DynamoHttpServletResponse pResponse,
                              CalendarSchedule 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 Calendar Schedule Object to the user inputs. 
 | 
protected void | 
verifyDailyMode(DynamoHttpServletRequest pRequest,
               DynamoHttpServletResponse pResponse)
This method verifies the values of the user input when the schedule mode
 is daily schedule mode. 
 | 
protected void | 
verifyMonthlyMode(DynamoHttpServletRequest pRequest,
                 DynamoHttpServletResponse pResponse)
This method verifies the values of the user input when the schedule mode
 is Monthly schedule mode. 
 | 
void | 
verifyUserInputFields(DynamoHttpServletRequest pRequest,
                     DynamoHttpServletResponse pResponse)
This method verifies the values of the user input. 
 | 
protected void | 
verifyWeeklyMode(DynamoHttpServletRequest pRequest,
                DynamoHttpServletResponse pResponse)
This method verifies the values of the user input when the schedule mode
 is weekly schedule mode. 
 | 
getComplexScheduledOrderPropertyValue, remapValueFromScheduledOrder, remapValueFromUserInputFieldsgetFormHandler, getScheduledOrderPropertyName, getUserInputField, getUserInputFieldNames, getUserInputFields, setFormHandler, setScheduledOrderPropertyName, setUserInputField, setUserInputFieldNames, setUserInputFieldsprotected void remapNullScheduleToUserInputFields(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
remapNullScheduleToUserInputFields in class SchedulePropertypRequest - the servlet's requestpResponse - the servlet's responsepublic void verifyUserInputFields(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
verifyUserInputFields in class ComplexScheduledOrderPropertypRequest - the servlet's requestpResponse - the servlet's responseprotected void verifyDailyMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
pRequest - the servlet's requestpResponse - the servlet's responseprotected void verifyWeeklyMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
pRequest - the servlet's requestpResponse - the servlet's responseprotected void verifyMonthlyMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
pRequest - the servlet's requestpResponse - the servlet's responseprotected void handleDailyMode(CalendarSchedule schedule)
schedule - the schedule objectprotected void handleWeeklyMode(CalendarSchedule schedule)
schedule - the schedule objectprotected void handleMonthlyMode(CalendarSchedule schedule)
schedule - the schedule objectprotected Schedule createScheduleFromUserInput(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
remapValueFromUserInputFields will use the schedule object
 to map the user input to the schedule property of the repository.createScheduleFromUserInput in class SchedulePropertypRequest - the servlet's requestpResponse - the servlet's responseprotected void remapDaysOfTheWeekToUserInput(CalendarSchedule pSchedule)
pSchedule - the schedule objectprotected void remapOccuranceInMonthToUserInput(CalendarSchedule pSchedule)
remapOccurrenceInMonthToUserInputprotected void remapOccurrenceInMonthToUserInput(CalendarSchedule pSchedule)
pSchedule - the schedule objectprotected void remapScheduleModeToUserInput(CalendarSchedule pSchedule)
pSchedule - the schedule objectprotected void remapScheduleStringToUserInput(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse, CalendarSchedule pSchedule)
pSchedule - the Schedule Objectprotected void remapScheduleToUserInputFields(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse, Schedule pSchedule)
remapScheduleToUserInputFields in class SchedulePropertypSchedule - the Schedule ObjectpRequest - the servlet's requestpResponse - the servlet's responseprotected boolean allFalse(java.lang.String pPropertyName,
               int startIndex)
pPropertyName - the property name whose value will be evaluatedstartIndex - the start index of the property value array to be evaluatedprotected int countTrueValues(boolean[] pValues,
                  int startIndex)
pValues - the boolean array to be evaluatedstartIndex - the start index of the array to be evaluatedpublic java.lang.String getReadableScheduleString(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse, Schedule pSchedule)
getReadableScheduleString in class SchedulePropertypSchedule - the schedule objectprotected java.lang.String getReadableDailyScheduleString(Schedule pSchedule)
pSchedule - the schedule objectprotected java.lang.String getReadableWeeklyScheduleString(Schedule pSchedule)
pSchedule - the schedule objectprotected java.lang.String getReadableMonthlyScheduleString(Schedule pSchedule)
pSchedule - the schedule objectprotected java.lang.String getReadableDaysOfTheWeek(boolean[] pDays)
pDays - a boolean array indicating which days are selectedprotected java.lang.String getReadableOccurancesOfTheMonth(boolean[] pNumbers)
getReadableOccurrencesOfTheMonthprotected java.lang.String getReadableOccurrencesOfTheMonth(boolean[] pNumbers)
pNumbers - a boolean array indicating which occurrences are selectedprotected java.lang.String getReadableStringList(boolean[] pInclude,
                                     java.lang.String[] pStringList)
pInclude - a boolean array to be translatedpStringList - a String array as the translation is looking forpublic void initializeUserInputFields()
initializeUserInputFields in class ComplexScheduledOrderPropertyprotected void initializeUserInputField(java.lang.String pUserInputFieldName)
pUserInputFieldName - the user input field name