|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommerceItemContainer
Implemented by a class that contains and manages CommerceItem objects. This interface defines methods for getting, adding, and removing CommerceItem objects.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary | |
---|---|
void |
addCommerceItem(CommerceItem pCommerceItem)
Add the CommerceItem to the container. |
void |
addCommerceItem(CommerceItem pCommerceItem,
int pIndex)
Add the CommerceItem to the container at the given index. |
CommerceItem |
getCommerceItem(java.lang.String pCommerceItemId)
Returns the CommerceItem whose id is pCommerceItemId. |
int |
getCommerceItemCount()
Returns the number of CommerceItems in the container. |
java.util.List |
getCommerceItems()
Returns a List of CommerceItems |
java.util.List |
getCommerceItemsByCatalogRefId(java.lang.String pCatalogRefId)
Returns a List of CommerceItems whose catalogRefId is pCatalogRefId. |
long |
getTotalCommerceItemCount()
Returns the number of individual CommerceItems in the container. |
void |
removeAllCommerceItems()
Removes all the CommerceItems in the container. |
CommerceItem |
removeCommerceItem(java.lang.String pCommerceItemId)
Removes an CommerceItem whose id is passed in. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
java.util.List getCommerceItems()
void addCommerceItem(CommerceItem pCommerceItem) throws DuplicateCommerceItemException, InvalidParameterException
DuplicateCommerceItemException
InvalidParameterException
void addCommerceItem(CommerceItem pCommerceItem, int pIndex) throws DuplicateCommerceItemException, InvalidParameterException
DuplicateCommerceItemException
InvalidParameterException
CommerceItem removeCommerceItem(java.lang.String pCommerceItemId) throws CommerceItemNotFoundException, InvalidParameterException
CommerceItemNotFoundException
InvalidParameterException
void removeAllCommerceItems()
CommerceItem getCommerceItem(java.lang.String pCommerceItemId) throws CommerceItemNotFoundException, InvalidParameterException
CommerceItemNotFoundException
InvalidParameterException
java.util.List getCommerceItemsByCatalogRefId(java.lang.String pCatalogRefId) throws CommerceItemNotFoundException, InvalidParameterException
CommerceItemNotFoundException
InvalidParameterException
int getCommerceItemCount()
long getTotalCommerceItemCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |