|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.nucleus.TimedOperationService atg.nucleus.servlet.ServletService atg.nucleus.servlet.HttpServletService atg.servlet.DynamoServlet atg.commerce.order.scheduled.ScheduledOrderInfo
public class ScheduledOrderInfo
This droplet provides info related to a given scheduled order item
input params
output parameters
oparams
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static ParameterName |
INPUT_PARAM_LOCALE
the input parameter name for the schdule item parameter |
static ParameterName |
INPUT_PARAM_SCHEDULE_ITEM
the input parameter name for the schdule item parameter |
static ParameterName |
INPUT_PARAM_SCHEDULE_ITEM_ID
the input parameter name for the schdule item id parameter |
protected ScheduledOrderTools |
mScheduleOrderTools
|
static java.lang.String |
OPARAM_OUTPUT
the name for the output oparam |
static java.lang.String |
OUTPUT_PARAM_READABLEDULE_SCHEDULE
the name for the readableSchedule output parameter. |
static java.lang.String |
OUTPUT_PARAM_SCHEDULE
the name for the schedule output parameter. |
static java.lang.String |
OUTPUT_PARAM_SCHEDULE_CLASSNAME
the name for the readableSchedule output parameter. |
static java.lang.String |
OUTPUT_PARAM_SCHEDULED_ORDER_ITEM
the name for the readableSchedule output parameter. |
Fields inherited from class atg.servlet.DynamoServlet |
---|
mAllowCleanupRequest, mParameters |
Fields inherited from class atg.nucleus.servlet.ServletService |
---|
SERVLET_INFO_KEY |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
ScheduledOrderInfo()
|
Method Summary | |
---|---|
java.util.Locale |
getDefaultLocale()
Returns property DefaultLocale. |
protected java.lang.String |
getReadableSchedule(CalendarSchedule pSchedule,
java.util.Locale pLocale)
Generates the readable string representation of the CalendarSchedule. |
protected java.lang.String |
getReadableSchedule(PeriodicSchedule pSchedule,
java.util.Locale pLocale)
Generates the readable string representation of the PeriodicSchedule. |
protected java.lang.String |
getReadableSchedule(Schedule pSchedule,
java.util.Locale pLocale)
Generates the readable string representation of the Schedule. |
ScheduledOrderTools |
getScheduledOrderTools()
returns a reference the scheduled order tools |
java.util.Locale |
getUserLocale(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Returns the locale associated with the request. |
boolean |
isUseRequestLocale()
Returns property UseRequestLocale |
void |
service(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Looks up the scheduled order items in the repository |
void |
setDefaultLocale(java.util.Locale pDefaultLocale)
Sets property DefaultLocale |
void |
setInfoParametersForScheduledOrderItem(RepositoryItem pScheduledOrderItem,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Called once for each scheduled order item to set output parameters with related info |
void |
setScheduledOrderTools(ScheduledOrderTools pScheduleOrderTools)
|
void |
setUseRequestLocale(boolean pUseRequestLocale)
Sets property UseRequestLocale |
Methods inherited from class atg.servlet.DynamoServlet |
---|
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, service, service, setParameter |
Methods inherited from class atg.nucleus.servlet.ServletService |
---|
destroy, getServletConfig, getServletInfo, init, setServletInfo |
Methods inherited from class atg.nucleus.TimedOperationService |
---|
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
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 ParameterName INPUT_PARAM_SCHEDULE_ITEM_ID
public static final ParameterName INPUT_PARAM_SCHEDULE_ITEM
public static final ParameterName INPUT_PARAM_LOCALE
public static final java.lang.String OUTPUT_PARAM_SCHEDULED_ORDER_ITEM
public static final java.lang.String OUTPUT_PARAM_READABLEDULE_SCHEDULE
public static final java.lang.String OUTPUT_PARAM_SCHEDULE
public static final java.lang.String OUTPUT_PARAM_SCHEDULE_CLASSNAME
public static final java.lang.String OPARAM_OUTPUT
protected ScheduledOrderTools mScheduleOrderTools
Constructor Detail |
---|
public ScheduledOrderInfo()
Method Detail |
---|
public ScheduledOrderTools getScheduledOrderTools()
public void setScheduledOrderTools(ScheduledOrderTools pScheduleOrderTools)
public void setDefaultLocale(java.util.Locale pDefaultLocale)
public java.util.Locale getDefaultLocale()
public void setUseRequestLocale(boolean pUseRequestLocale)
public boolean isUseRequestLocale()
public java.util.Locale getUserLocale(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
locale
. This value can be
either a java.util.Locale object or a String which represents the locale.
Next if the useRequestLocale
property is true, then the locale
of the request will be returned. Finally, if the locale cannot be determined,
the the defaultLocale
property is used.
public void service(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
service
in class DynamoServlet
pRequest
- the request to be processedpResponse
- the response object for this request
javax.servlet.ServletException
- an application specific error occurred
processing this request
java.io.IOException
- an error occurred reading data from the request
or writing data to the response.public void setInfoParametersForScheduledOrderItem(RepositoryItem pScheduledOrderItem, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
pScheduledOrderItem
- pRequest
- protected java.lang.String getReadableSchedule(Schedule pSchedule, java.util.Locale pLocale)
pSchedule
- the SchedulepLocale
- the locale to use for resourcing the readable value
#getReadableSchedule(CalendarSchedule)
,
#getReadableSchedule(PeriodicSchedule)
protected java.lang.String getReadableSchedule(PeriodicSchedule pSchedule, java.util.Locale pLocale)
By default this method returns the toString implementation of the
PeriodicSchedule
object
pSchedule
- the PeriodicSchedulepLocale
- the locale to use for resourcing the readable value
protected java.lang.String getReadableSchedule(CalendarSchedule pSchedule, java.util.Locale pLocale)
By default this method returns the toString implementation of the
CalendarSchedule
object
pSchedule
- the PeriodicSchedulepLocale
- the locale to use for resourcing the readable value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |