|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.order.CommerceIdentifierImpl atg.commerce.order.CommerceItemImpl atg.commerce.order.ConfigurableCommerceItem
public class ConfigurableCommerceItem
An implementation of a class which represents a ConfigurableCommerceItem. This class represents a Commerce item which is the base sku of a "packaged" product such as a computer which can be configured as a user chooses.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.commerce.order.CommerceItemImpl |
---|
mAuxiliaryData |
Constructor Summary | |
---|---|
ConfigurableCommerceItem()
|
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. |
java.lang.String |
getNotes()
Returns property notes |
java.lang.String |
getReconfigurationData()
Returns property reconfigurationData |
long |
getTotalCommerceItemCount()
Returns the number of individual CommerceItems in the container. |
void |
removeAllCommerceItems()
Removes all the CommerceItems |
CommerceItem |
removeCommerceItem(java.lang.String pCommerceItemId)
Removes a CommerceItem whose id is passed in. |
void |
setNotes(java.lang.String pNotes)
Sets property notes |
void |
setReconfigurationData(java.lang.String pReconfigurationData)
Sets property reconfigurationData |
void |
setRepositoryItem(MutableRepositoryItem pRepositoryItem)
Sets the repositoryItem |
Methods inherited from class atg.commerce.order.CommerceIdentifierImpl |
---|
getId, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface atg.commerce.order.CommerceIdentifier |
---|
getId |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ConfigurableCommerceItem()
Method Detail |
---|
public java.lang.String getNotes()
public void setNotes(java.lang.String pNotes)
pNotes
- the value to set for property notespublic java.lang.String getReconfigurationData()
public void setReconfigurationData(java.lang.String pReconfigurationData)
pReconfigurationData
- the value to set for property reconfigurationDatapublic java.util.List getCommerceItems()
getCommerceItems
in interface CommerceItemContainer
public void addCommerceItem(CommerceItem pCommerceItem) throws DuplicateCommerceItemException, InvalidParameterException
addCommerceItem
in interface CommerceItemContainer
DuplicateCommerceItemException
InvalidParameterException
public void addCommerceItem(CommerceItem pCommerceItem, int pIndex) throws DuplicateCommerceItemException, InvalidParameterException
addCommerceItem
in interface CommerceItemContainer
DuplicateCommerceItemException
InvalidParameterException
public CommerceItem removeCommerceItem(java.lang.String pCommerceItemId) throws CommerceItemNotFoundException, InvalidParameterException
removeCommerceItem
in interface CommerceItemContainer
CommerceItemNotFoundException
InvalidParameterException
public void removeAllCommerceItems()
removeAllCommerceItems
in interface CommerceItemContainer
public CommerceItem getCommerceItem(java.lang.String pCommerceItemId) throws CommerceItemNotFoundException, InvalidParameterException
getCommerceItem
in interface CommerceItemContainer
CommerceItemNotFoundException
InvalidParameterException
public java.util.List getCommerceItemsByCatalogRefId(java.lang.String pCatalogRefId) throws CommerceItemNotFoundException, InvalidParameterException
getCommerceItemsByCatalogRefId
in interface CommerceItemContainer
CommerceItemNotFoundException
InvalidParameterException
public int getCommerceItemCount()
getCommerceItemCount
in interface CommerceItemContainer
public long getTotalCommerceItemCount()
getTotalCommerceItemCount
in interface CommerceItemContainer
public void setRepositoryItem(MutableRepositoryItem pRepositoryItem)
setRepositoryItem
in interface ChangedProperties
setRepositoryItem
in class CommerceItemImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |