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, update
getId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId
public 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 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