public interface CostCenterContainer
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
void |
addCostCenter(CostCenter pCostCenter)
Add the CostCenter to the container.
|
void |
addCostCenter(CostCenter pCostCenter,
int pIndex)
Add the CostCenter to the container at the specified index.
|
CostCenter |
getCostCenter(java.lang.String pCostCenterId)
Returns the CostCenter whose id is pCostCenterId.
|
int |
getCostCenterCount()
Returns the number of CostCenters in the container.
|
java.util.List |
getCostCenters()
Returns a List of CostCenters
|
void |
removeAllCostCenters()
Removes all the CostCenters in the container.
|
CostCenter |
removeCostCenter(java.lang.String pCostCenterId)
Removes a CostCenter whose id is passed in.
|
static final java.lang.String CLASS_VERSION
java.util.List getCostCenters()
void addCostCenter(CostCenter pCostCenter) throws DuplicateCostCenterException, InvalidParameterException
void addCostCenter(CostCenter pCostCenter, int pIndex) throws DuplicateCostCenterException, InvalidParameterException
CostCenter removeCostCenter(java.lang.String pCostCenterId) throws CostCenterNotFoundException, InvalidParameterException
void removeAllCostCenters()
CostCenter getCostCenter(java.lang.String pCostCenterId) throws CostCenterNotFoundException, InvalidParameterException
int getCostCenterCount()