|
|||||||||
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.markers.ValidateMarkerByPossibleValue atg.markers.ConfigurableMarkerValidator atg.markers.bp.BusinessProcessConfiguration atg.commerce.markers.bp.OrderBasedProcessConfiguration
public class OrderBasedProcessConfiguration
Business Process configuration class for a process based on orders.
The following are the properties of a OrderBasedProcessConfiguration.
The findOrder method is called by the business process manager to get the order to be marked. This method defaults to the shopping cart's current order.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected OrderMarkerManager |
mOrderMarkerManager
|
protected java.lang.String |
mShoppingCartPath
|
Fields inherited from class atg.markers.bp.BusinessProcessConfiguration |
---|
mBusinessProcessName, mDuplicationMode, mEnabled, mGenerateEvents, mMarkedItemType, mMarkerItemType, mMarkerPropertyName, mMarkerValidatorContainer, mStageNames |
Fields inherited from class atg.markers.ValidateMarkerByPossibleValue |
---|
mAcceptAllValues, mNullValueValid |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.markers.bp.BusinessProcessConstants |
---|
BUSINESS_PROCESS_RESOURCE_NAME, sBusinessProcessResourceBundle |
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 | |
---|---|
OrderBasedProcessConfiguration()
|
Method Summary | |
---|---|
Order |
findOrder()
Finds the order to be used for the business process. |
java.lang.String |
getMarkedItemType()
This extension will return the default marked item type of the configured OrderMarkerManager if the property is not already configured. |
MarkerValidatorContainer |
getMarkerValidatorContainer()
Gets the MarkerValidator that contains this marker validator. |
OrderMarkerManager |
getOrderMarkerManager()
Returns the OrderMarkerManager to use for the business process. |
java.lang.String |
getShoppingCartPath()
Returns property ShoppingCartPath |
void |
setOrderMarkerManager(OrderMarkerManager pOrderMarkerManager)
The OrderMarkerManager to use for this business process |
void |
setShoppingCartPath(java.lang.String pShoppingCartPath)
Sets property ShoppingCartPath |
void |
validateConfiguration()
Validates the property settings for the configuration component |
Methods inherited from class atg.markers.ConfigurableMarkerValidator |
---|
getValidValuesForKey, setPossibleValues |
Methods inherited from class atg.markers.ValidateMarkerByPossibleValue |
---|
isAcceptAllValues, isValidMarker, isValidValueForKey, setAcceptAllValues, setNullValueValid |
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 final java.lang.String CLASS_VERSION
protected OrderMarkerManager mOrderMarkerManager
protected java.lang.String mShoppingCartPath
Constructor Detail |
---|
public OrderBasedProcessConfiguration()
Method Detail |
---|
public java.lang.String getMarkedItemType()
getMarkedItemType
in class BusinessProcessConfiguration
public void setOrderMarkerManager(OrderMarkerManager pOrderMarkerManager)
public OrderMarkerManager getOrderMarkerManager()
If this property is not set in the property file configuration this method will automatically return the nucleus component /atg/commerce/markers/OrderMarkerManager.
public void setShoppingCartPath(java.lang.String pShoppingCartPath)
public java.lang.String getShoppingCartPath()
public Order findOrder()
By default this method returns the shopping cart's current order
public MarkerValidatorContainer getMarkerValidatorContainer()
getMarkerValidatorContainer
in class BusinessProcessConfiguration
public void validateConfiguration() throws BusinessProcessException
validateConfiguration
in class BusinessProcessConfiguration
BusinessProcessException
- for properties that aren't properly
configured.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |