public class CostCenterContainerService extends GenericService implements CostCenterMapContainer, CommerceIdentifierCostCenterContainer, atg.commerce.order.CostCenterConstants
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
SERVICE_INFO_KEYCICC_MAP, CLEAR_ALL, CLEAR_COST_CENTER_CONTAINER, CLEAR_COST_CENTER_MAP, COST_CENTERS, INIT_CC, INIT_ITEM_COSTCENTERS, INIT_ORDER_COSTCENTERS, INIT_SHIPPING_COSTCENTERS, INIT_TAX_COSTCENTERS, LOAD_COSTCENTERS, MSG_INVALID_SPLIT_QUANTITY, ONE_COST_CENTER, ORDER, OUTPUT, USE_AMOUNTDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
CostCenterContainerService()
Creates a new
CostCenterContainerService instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommerceIdentifierCostCenter(java.lang.String pCommerceIdentifierId,
CommerceIdentifierCostCenter pCommerceIdentifierCostCenter)
The
addCommerceIdentifierCostCenter method adds the supplied
CommerceIdentifierCostCenter by the supplied name. |
void |
addCostCenter(java.lang.String pCostCenterName,
CostCenter pCostCenter)
The
addCostCenter method adds the given CostCenter to the Map by
the supplied name. |
java.util.List |
getAllCommerceIdentifierCostCenters()
The
getAllCommerceIdentifierCostCenters method returns all the
CommerceIdentifierCostCenters in this container. |
java.util.Map |
getCommerceIdentifierCostCenterMap()
Return the CommerceIdentifierCostCenterMap property.
|
java.util.List |
getCommerceIdentifierCostCenters(java.lang.String pCommerceIdentifierId)
The
getCommerceIdentifierCostCenters method returns the List of
CommerceIdentifierCostCenters corresponding to the supplied CommerceIdentifierId. |
CostCenter |
getCostCenter(java.lang.String pCostCenterName)
The
getCostCenter method returns the CostCenter with the
supplied name. |
java.util.Map |
getCostCenterMap()
Return the CostCenterMap property.
|
java.lang.String |
getDefaultCostCenterName()
Return the DefaultCostCenterName property.
|
void |
removeAllCommerceIdentifierCostCenters()
The
removeAllCommerceIdentifierCostCenters method clears the
CommerceIdentifierCostCenterMap. |
void |
removeAllCostCenters()
The
removeAllCostCenters method removes all CostCenters in this container. |
void |
removeCommerceIdentifierCostCenters(java.lang.String pCommerceIdentifierId)
The
removeCommerceIdentifierCostCenters method removes the
CommerceIdentifierCostCenters corresponding to the supplied CommerceIdentifierId. |
void |
removeCostCenter(java.lang.String pCostCenterName)
The
removeCostCenter method removes the CostCenter corresponding to
the supplied name. |
void |
setCommerceIdentifierCostCenterMap(java.util.Map pCommerceIdentifierCostCenterMap)
Set the CommerceIdentifierCostCenterMap property.
|
void |
setCostCenterMap(java.util.Map pCostCenterMap)
Set the CostCenterMap property.
|
void |
setDefaultCostCenterName(java.lang.String pDefaultCostCenterName)
Set the DefaultCostCenterName property.
|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic CostCenterContainerService()
CostCenterContainerService instance.public void setCommerceIdentifierCostCenterMap(java.util.Map pCommerceIdentifierCostCenterMap)
pCommerceIdentifierCostCenterMap - a Map valuepublic java.util.Map getCommerceIdentifierCostCenterMap()
getCommerceIdentifierCostCenterMap in interface CommerceIdentifierCostCenterContainerMap valuepublic void setCostCenterMap(java.util.Map pCostCenterMap)
pCostCenterMap - a Map valuepublic java.util.Map getCostCenterMap()
getCostCenterMap in interface CostCenterMapContainerMap valuepublic java.util.List getCommerceIdentifierCostCenters(java.lang.String pCommerceIdentifierId)
getCommerceIdentifierCostCenters method returns the List of
CommerceIdentifierCostCenters corresponding to the supplied CommerceIdentifierId.getCommerceIdentifierCostCenters in interface CommerceIdentifierCostCenterContainerpCommerceIdentifierId - a String valueList valuepublic java.util.List getAllCommerceIdentifierCostCenters()
getAllCommerceIdentifierCostCenters method returns all the
CommerceIdentifierCostCenters in this container.getAllCommerceIdentifierCostCenters in interface CommerceIdentifierCostCenterContainerList valuepublic void addCommerceIdentifierCostCenter(java.lang.String pCommerceIdentifierId,
CommerceIdentifierCostCenter pCommerceIdentifierCostCenter)
addCommerceIdentifierCostCenter method adds the supplied
CommerceIdentifierCostCenter by the supplied name.addCommerceIdentifierCostCenter in interface CommerceIdentifierCostCenterContainerpCommerceIdentifierId - a String valuepCommerceIdentifierCostCenter - a CommerceIdentifierCostCenter valuepublic void removeAllCommerceIdentifierCostCenters()
removeAllCommerceIdentifierCostCenters method clears the
CommerceIdentifierCostCenterMap.removeAllCommerceIdentifierCostCenters in interface CommerceIdentifierCostCenterContainerpublic void removeCommerceIdentifierCostCenters(java.lang.String pCommerceIdentifierId)
removeCommerceIdentifierCostCenters method removes the
CommerceIdentifierCostCenters corresponding to the supplied CommerceIdentifierId.removeCommerceIdentifierCostCenters in interface CommerceIdentifierCostCenterContainerpCommerceIdentifierId - a String valuepublic CostCenter getCostCenter(java.lang.String pCostCenterName)
getCostCenter method returns the CostCenter with the
supplied name.getCostCenter in interface CostCenterMapContainerpCostCenterName - a String valueCostCenter valuepublic void addCostCenter(java.lang.String pCostCenterName,
CostCenter pCostCenter)
addCostCenter method adds the given CostCenter to the Map by
the supplied name.addCostCenter in interface CostCenterMapContainerpCostCenterName - a String valuepCostCenter - a CostCenter valuepublic void removeAllCostCenters()
removeAllCostCenters method removes all CostCenters in this container.removeAllCostCenters in interface CostCenterMapContainerpublic void removeCostCenter(java.lang.String pCostCenterName)
removeCostCenter method removes the CostCenter corresponding to
the supplied name.removeCostCenter in interface CostCenterMapContainerpCostCenterName - a String valuepublic void setDefaultCostCenterName(java.lang.String pDefaultCostCenterName)
setDefaultCostCenterName in interface CostCenterMapContainerpDefaultCostCenterName - a String valuepublic java.lang.String getDefaultCostCenterName()
getDefaultCostCenterName in interface CostCenterMapContainerString value