public class ConfigurableCommerceItem extends CommerceItemImpl implements CommerceItemContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
mAuxiliaryData| Constructor and Description |
|---|
ConfigurableCommerceItem() |
| Modifier and Type | Method and Description |
|---|---|
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
|
addChangedProperty, addCostCenterRelationship, addCostCenterRelationship, addPaymentGroupRelationship, addPaymentGroupRelationship, addShippingGroupRelationship, addShippingGroupRelationship, clearChangedProperties, createAuxiliaryData, getAuxiliaryData, getCatalogId, getCatalogKey, getCatalogRefId, getChangedProperties, getCommerceItemClassType, getCostCenterRelationship, getCostCenterRelationshipCount, getCostCenterRelationships, getPaymentGroupRelationship, getPaymentGroupRelationshipCount, getPaymentGroupRelationships, getPriceInfo, getPriceInfoRepositoryItem, getPropertyValue, getQuantity, getRepositoryItem, getReturnedQuantity, getSaveAllProperties, getShippingGroupRelationship, getShippingGroupRelationshipContainer, getShippingGroupRelationshipCount, getShippingGroupRelationships, getState, getStateAsString, getStateAsUserResource, getStateDetail, isChanged, removeAllCostCenterRelationships, removeAllPaymentGroupRelationships, removeAllShippingGroupRelationships, removeCostCenterRelationship, removePaymentGroupRelationship, removeShippingGroupRelationship, setCatalogId, setCatalogKey, setCatalogRefId, setChanged, setCommerceItemClassType, setPriceInfo, setPriceInfoRepositoryItem, setPropertyValue, setQuantity, setSaveAllProperties, setState, setStateAsString, setStateDetail, toString, updategetId, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdpublic static final java.lang.String CLASS_VERSION
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 CommerceItemContainerpublic void addCommerceItem(CommerceItem pCommerceItem) throws DuplicateCommerceItemException, InvalidParameterException
addCommerceItem in interface CommerceItemContainerDuplicateCommerceItemExceptionInvalidParameterExceptionpublic void addCommerceItem(CommerceItem pCommerceItem, int pIndex) throws DuplicateCommerceItemException, InvalidParameterException
addCommerceItem in interface CommerceItemContainerDuplicateCommerceItemExceptionInvalidParameterExceptionpublic CommerceItem removeCommerceItem(java.lang.String pCommerceItemId) throws CommerceItemNotFoundException, InvalidParameterException
removeCommerceItem in interface CommerceItemContainerCommerceItemNotFoundExceptionInvalidParameterExceptionpublic void removeAllCommerceItems()
removeAllCommerceItems in interface CommerceItemContainerpublic CommerceItem getCommerceItem(java.lang.String pCommerceItemId) throws CommerceItemNotFoundException, InvalidParameterException
getCommerceItem in interface CommerceItemContainerCommerceItemNotFoundExceptionInvalidParameterExceptionpublic java.util.List getCommerceItemsByCatalogRefId(java.lang.String pCatalogRefId)
throws CommerceItemNotFoundException,
InvalidParameterException
getCommerceItemsByCatalogRefId in interface CommerceItemContainerCommerceItemNotFoundExceptionInvalidParameterExceptionpublic int getCommerceItemCount()
getCommerceItemCount in interface CommerceItemContainerpublic long getTotalCommerceItemCount()
getTotalCommerceItemCount in interface CommerceItemContainerpublic void setRepositoryItem(MutableRepositoryItem pRepositoryItem)
setRepositoryItem in interface ChangedPropertiessetRepositoryItem in class CommerceItemImpl