|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CostCenterContainer
Implemented by a class that contains and manages CostCenter objects. This interface defines methods for getting, adding, and removing CostCenter objects.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
java.util.List getCostCenters()
void addCostCenter(CostCenter pCostCenter) throws DuplicateCostCenterException, InvalidParameterException
DuplicateCostCenterException
InvalidParameterException
void addCostCenter(CostCenter pCostCenter, int pIndex) throws DuplicateCostCenterException, InvalidParameterException
DuplicateCostCenterException
InvalidParameterException
CostCenter removeCostCenter(java.lang.String pCostCenterId) throws CostCenterNotFoundException, InvalidParameterException
CostCenterNotFoundException
InvalidParameterException
void removeAllCostCenters()
CostCenter getCostCenter(java.lang.String pCostCenterId) throws CostCenterNotFoundException, InvalidParameterException
CostCenterNotFoundException
InvalidParameterException
int getCostCenterCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |