public class ProcLoadRelationshipObjects extends LoadProperties implements PipelineProcessor
ShippingGroup
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ProcLoadRelationshipObjects() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommerceItemProperty()
Returns the commerceItemProperty name.
|
java.lang.String |
getCostCenterProperty()
Returns the costCenterProperty name.
|
java.lang.String |
getLoggingIdentifier()
Returns property LoggingIdentifier
|
java.lang.String |
getOrderProperty()
Returns the orderProperty name.
|
java.lang.String |
getPaymentGroupProperty()
Returns the paymentGroupProperty name.
|
java.lang.String |
getRelationshipsProperty()
Returns the relationshipsProperty name.
|
int[] |
getRetCodes()
Returns the valid return codes
1 - The processor completed
|
java.lang.String |
getShippingGroupProperty()
Returns the shippingGroupProperty name.
|
protected void |
invalidateCache(ItemDescriptorImpl desc,
MutableRepositoryItem mutItem)
This method invalidates the item from the cache if invalidateCache is true
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This method loads the Relationship objects from the OrderRepository into the Order object.
|
void |
setCommerceItemProperty(java.lang.String pCommerceItemProperty)
Sets the commerceItemProperty name.
|
void |
setCostCenterProperty(java.lang.String pCostCenterProperty)
Sets the costCenterProperty name.
|
void |
setLoggingIdentifier(java.lang.String pLoggingIdentifier)
Sets property LoggingIdentifier
|
void |
setOrderProperty(java.lang.String pOrderProperty)
Sets the orderProperty name.
|
void |
setPaymentGroupProperty(java.lang.String pPaymentGroupProperty)
Sets the paymentGroupProperty name.
|
void |
setRelationshipsProperty(java.lang.String pRelationshipsProperty)
Sets the relationshipsProperty name.
|
void |
setShippingGroupProperty(java.lang.String pShippingGroupProperty)
Sets the shippingGroupProperty name.
|
getLoadProperties, getMappedPropertyName, getPropertyDescriptorToBeanPropertyMap, setLoadProperties, setPropertyDescriptorToBeanPropertyMap
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
public java.lang.String getRelationshipsProperty()
public void setRelationshipsProperty(java.lang.String pRelationshipsProperty)
public java.lang.String getPaymentGroupProperty()
public void setPaymentGroupProperty(java.lang.String pPaymentGroupProperty)
public java.lang.String getCostCenterProperty()
public void setCostCenterProperty(java.lang.String pCostCenterProperty)
public java.lang.String getShippingGroupProperty()
public void setShippingGroupProperty(java.lang.String pShippingGroupProperty)
public java.lang.String getCommerceItemProperty()
public void setCommerceItemProperty(java.lang.String pCommerceItemProperty)
public java.lang.String getOrderProperty()
public void setOrderProperty(java.lang.String pOrderProperty)
public void setLoggingIdentifier(java.lang.String pLoggingIdentifier)
setLoggingIdentifier
in class ApplicationLoggingImpl
public java.lang.String getLoggingIdentifier()
getLoggingIdentifier
in class ApplicationLoggingImpl
public int runProcess(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
runProcess
in interface PipelineProcessor
pParam
- a HashMap which must contain an Order, order repository item, OrderRepository
and OrderManager objectpResult
- a PipelineResult object which stores any information which must
be returned from this method invokationjava.lang.Exception
- throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult)
protected void invalidateCache(ItemDescriptorImpl desc, MutableRepositoryItem mutItem)