|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.b2bcommerce.order.scheduled.ComplexScheduledOrderProperty atg.b2bcommerce.order.scheduled.ScheduleProperty
public abstract class ScheduleProperty
This abstract class represents the schedule property in the scheduledOrder item descriptor. The property is mapped to the user fields on the user interface(JHTML) which are specific for this property. It implements some of the major methods inherited from the ComplexScheduledOrderProperty class, but since there are different kinds of schedules and each one has different user input fields, some methods still remain abstract and left for the subclasses which represents distinct schedules to fully implement.
ComplexScheduledOrderProperty
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
protected static java.util.ResourceBundle |
sResourceBundle
Resource Bundle |
Constructor Summary | |
---|---|
ScheduleProperty()
|
Method Summary | |
---|---|
protected abstract Schedule |
createScheduleFromUserInput(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method create the schedule object from the user inputs. |
java.lang.Object |
getComplexScheduledOrderPropertyValue()
This method returns the schedule object of the scheduled Order. |
abstract java.lang.String |
getReadableScheduleString(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
Schedule pSchedule)
This method translates the schedule object into a human readable string. |
protected abstract void |
remapNullScheduleToUserInputFields(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method maps to the user inputs when no schedule exists. |
protected abstract void |
remapScheduleToUserInputFields(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
Schedule pSchedule)
This method maps the Schedule Object to the user inputs. |
void |
remapValueFromScheduledOrder(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method maps the schedule property in the repository to the user inputs. |
void |
remapValueFromUserInputFields(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method maps the user inputs to the schedule property in the repository. |
Methods inherited from class atg.b2bcommerce.order.scheduled.ComplexScheduledOrderProperty |
---|
getFormHandler, getScheduledOrderPropertyName, getUserInputField, getUserInputFieldNames, getUserInputFields, initializeUserInputFields, setFormHandler, setScheduledOrderPropertyName, setUserInputField, setUserInputFieldNames, setUserInputFields, verifyUserInputFields |
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
protected static java.util.ResourceBundle sResourceBundle
Constructor Detail |
---|
public ScheduleProperty()
Method Detail |
---|
protected abstract Schedule createScheduleFromUserInput(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
pRequest
- the servlet's requestpResponse
- the servlet's responsepublic void remapValueFromScheduledOrder(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
remapScheduleToUserInputFields
method if the schedule
is not null and calls the remapNullScheduleToUserInputFiels
method
if it is null, to map the schedule to the user inputs.
remapValueFromScheduledOrder
in class ComplexScheduledOrderProperty
pRequest
- the servlet's requestpResponse
- the servlet's responseprotected abstract void remapScheduleToUserInputFields(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse, Schedule pSchedule)
pRequest
- the servlet's requestpResponse
- the servlet's responsepSchedule
- the Schedule Objectprotected abstract void remapNullScheduleToUserInputFields(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
pRequest
- the servlet's requestpResponse
- the servlet's responsepublic void remapValueFromUserInputFields(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
remapValueFromUserInputFields
in class ComplexScheduledOrderProperty
pRequest
- the servlet's requestpResponse
- the servlet's responsepublic abstract java.lang.String getReadableScheduleString(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse, Schedule pSchedule)
pSchedule
- the schedule object
public java.lang.Object getComplexScheduledOrderPropertyValue()
getComplexScheduledOrderPropertyValue
in class ComplexScheduledOrderProperty
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |