org.opencrx.kernel.product1.cci
Interface AbstractProduct
- All Superinterfaces:
- AddressContainer, AlertSender, Auditee, BasicObject, Cloneable, ContextCapable, ContractPositionConstrained, CrxObject, DepotReferenceHolder, ExtentCapable, Importer, Indexed, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, SubscriptionTarget, ViewCapable, XmlExporter
- All Known Subinterfaces:
- AbstractBundledProduct, AbstractProductBundle, Asset, BundledProduct, BundledProductType, ComplexProductBundle, ComplexProductBundleType, PriceOverrideEnabled, Product, ProductBundle, ProductBundleContainer, ProductBundleType, ProductOffering
- All Known Implementing Classes:
- AbstractBundledProductImpl, AbstractProductBundleImpl, AbstractProductImpl, AssetImpl, BundledProductImpl, BundledProductTypeImpl, ComplexProductBundleImpl, ComplexProductBundleTypeImpl, PriceOverrideEnabledImpl, ProductBundleContainerImpl, ProductBundleImpl, ProductBundleTypeImpl, ProductImpl, ProductOfferingImpl
public interface AbstractProduct
- extends DepotReferenceHolder, CrxObject, AddressContainer, ContractPositionConstrained
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.opencrx.kernel.generic.cci.CrxObject |
addAdditionalExternalLink, addAdditionalExternalLink, addAttachedDocument, addAttachedDocument, addMedia, addMedia, addNote, addNote, addPropertySet, addPropertySet, addRating, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAttachedDocument, getAttachedDocument, getAttachedDocument, getAttachedDocument, getCategory, getCategory, getDisabledReason, getExternalLink, getExternalLink, getMedia, getMedia, getMedia, getMedia, getNote, getNote, getNote, getNote, getPropertySet, getPropertySet, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getRating, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, isUserBoolean4, isUserBoolean4, removeAdditionalExternalLink, removeAttachedDocument, removeMedia, removeNote, removePropertySet, removeRating, setCategory, setCategory, setDisabled, setDisabledReason, setExternalLink, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4, setUserString4 |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.opencrx.kernel.base.cci.SecureObject |
addOwningGroup, addOwningGroup, addOwningGroup, addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwner, getOwningGroup, getOwningGroup, getOwningUser, removeAllOwningGroup, removeAllOwningGroup, removeOwningGroup, removeOwningGroup, removeOwningGroup, removeOwningUser, setAccessLevel, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser, setOwningUser |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.opencrx.kernel.product1.cci.ContractPositionConstrained |
getDefaultPositions, getDefaultQuantity, getItemNumber, getMaxPositions, getMaxQuantity, getMinMaxQuantityHandling, getMinPositions, getMinQuantity, getOffsetQuantity, isAllowModification, isAllowRemoval, setAllowModification, setAllowRemoval, setDefaultPositions, setDefaultQuantity, setItemNumber, setMaxPositions, setMaxQuantity, setMinMaxQuantityHandling, setMinPositions, setMinQuantity, setOffsetQuantity |
getAlternateProductNumber
List getAlternateProductNumber()
- Returns:
- A list containing all elements for this attribute.
- Throws:
JmiException - If the values cannot be retrieved for some reason.
getAlternateProductNumber
String getAlternateProductNumber(int index)
- Parameters:
index - The index of the element to return.
- Returns:
- The element at the specified position in the list of all values for this attribute.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setAlternateProductNumber
void setAlternateProductNumber(List newValue)
- Parameters:
newValue - A list containing all the new elements for this attribute.
- Throws:
JmiException - If the values cannot be set for some reason.
setAlternateProductNumber
void setAlternateProductNumber(String[] newValue)
- Parameters:
newValue - An array containing all the new elements for this attribute.
- Throws:
JmiException - If the values cannot be set for some reason.
getAssignedAccount
AccountAssignmentProduct getAssignedAccount(String id)
- Retrieves the value for the reference
assignedAccount for
the specified qualifier attribute value.
- Parameters:
id - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this reference.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
getAssignedAccount
Collection getAssignedAccount()
- Retrieves a collection containing all the elements for the reference
assignedAccount.
- Returns:
- A collection containing all the elements for this reference.
- Throws:
JmiException - If the values cannot be retrieved for some reason.
getAssignedAccount
List getAssignedAccount(AccountAssignmentProductFilter filter)
- Retrieves the value for the reference
assignedAccount for
the specified filter.
- Parameters:
filter - filter which is applied to the set of referenced objects.
- Returns:
- The filtered collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
getAssignedAccount
List getAssignedAccount(AccountAssignmentProductQuery query)
- Retrieves the value for the reference
assignedAccount for
the specified query.
- Parameters:
predicate - predicate which is applied to the set of referenced objects.
- Returns:
- The filtered collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
addAssignedAccount
void addAssignedAccount(String id,
AccountAssignmentProduct newValue)
- Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
addAssignedAccount
void addAssignedAccount(AccountAssignmentProduct newValue)
- Parameters:
newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
removeAssignedAccount
void removeAssignedAccount(String id)
- Throws:
JmiException - If the value cannot be removed for some reason.
getBasePrice
ProductBasePrice getBasePrice(String id)
- Retrieves the value for the reference
basePrice for the
specified qualifier attribute value.
- Parameters:
id - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this reference.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
getBasePrice
Collection getBasePrice()
- Retrieves a collection containing all the elements for the reference
basePrice.
- Returns:
- A collection containing all the elements for this reference.
- Throws:
JmiException - If the values cannot be retrieved for some reason.
getBasePrice
List getBasePrice(ProductBasePriceFilter filter)
- Retrieves the value for the reference
basePrice for the
specified filter.
- Parameters:
filter - filter which is applied to the set of referenced objects.
- Returns:
- The filtered collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
getBasePrice
List getBasePrice(ProductBasePriceQuery query)
- Retrieves the value for the reference
basePrice for the
specified query.
- Parameters:
predicate - predicate which is applied to the set of referenced objects.
- Returns:
- The filtered collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
addBasePrice
void addBasePrice(String id,
ProductBasePrice newValue)
- Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
addBasePrice
void addBasePrice(ProductBasePrice newValue)
- Parameters:
newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
removeBasePrice
void removeBasePrice(String id)
- Throws:
JmiException - If the value cannot be removed for some reason.
getClassification
ProductClassification getClassification(int index)
- Retrieves the value for the reference
classification for
the specified qualifier attribute value.
- Parameters:
index - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this reference.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
getClassification
Collection getClassification()
- Retrieves the objects referenced by
classification.
- Returns:
- The collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
addClassification
void addClassification(int index,
ProductClassification newValue)
- Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
addClassification
void addClassification(ProductClassification newValue)
- Parameters:
newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
removeClassification
void removeClassification(int index)
- Throws:
JmiException - If the value cannot be removed for some reason.
getDefaultPriceLevel
PriceLevel getDefaultPriceLevel()
- Retrieves the value for the optional reference
defaultPriceLevel.
- Returns:
- The possibly null value for this reference.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setDefaultPriceLevel
void setDefaultPriceLevel(PriceLevel newValue)
- Sets a new value for the reference
defaultPriceLevel.
- Parameters:
newValue - The non-null new value for this reference.
- Throws:
JmiException - If the value cannot be set for some reason.
removeDefaultPriceLevel
void removeDefaultPriceLevel()
- Removes the value for the optional reference
defaultPriceLevel.
- Throws:
JmiException - If the value cannot be removed for some reason.
getDefaultUom
Uom getDefaultUom()
- Retrieves the value for the optional reference
defaultUom.
- Returns:
- The possibly null value for this reference.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setDefaultUom
void setDefaultUom(Uom newValue)
- Sets a new value for the reference
defaultUom.
- Parameters:
newValue - The non-null new value for this reference.
- Throws:
JmiException - If the value cannot be set for some reason.
removeDefaultUom
void removeDefaultUom()
- Removes the value for the optional reference
defaultUom.
- Throws:
JmiException - If the value cannot be removed for some reason.
getDescription
String getDescription()
- Returns:
- The possibly null value for attribute
description.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setDescription
void setDescription(String newValue)
- Sets a new value for the attribute
description.
- Parameters:
newValue - The possibly null new value for attribute description.
- Throws:
JmiException - If the value cannot be set for some reason.
getDetailedDescription
String getDetailedDescription()
- Returns:
- The possibly null value for attribute
detailedDescription.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setDetailedDescription
void setDetailedDescription(String newValue)
- Sets a new value for the attribute
detailedDescription.
- Parameters:
newValue - The possibly null new value for attribute detailedDescription.
- Throws:
JmiException - If the value cannot be set for some reason.
getName
String getName()
- Retrieves the value for the attribute
name.
- Returns:
- The non-null value for attribute
name.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setName
void setName(String newValue)
- Sets a new value for the attribute
name.
- Parameters:
newValue - The non-null new value for attribute name.
- Throws:
JmiException - If the value cannot be set for some reason.
getPriceUom
Uom getPriceUom(int index)
- Retrieves the value for the reference
priceUom for the
specified qualifier attribute value.
- Parameters:
index - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this reference.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
getPriceUom
Collection getPriceUom()
- Retrieves the objects referenced by
priceUom.
- Returns:
- The collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
addPriceUom
void addPriceUom(int index,
Uom newValue)
- Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
addPriceUom
void addPriceUom(Uom newValue)
- Parameters:
newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
removePriceUom
void removePriceUom(int index)
- Throws:
JmiException - If the value cannot be removed for some reason.
getProductNumber
String getProductNumber()
- Retrieves the value for the attribute
productNumber.
- Returns:
- The non-null value for attribute
productNumber.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setProductNumber
void setProductNumber(String newValue)
- Sets a new value for the attribute
productNumber.
- Parameters:
newValue - The non-null new value for attribute productNumber.
- Throws:
JmiException - If the value cannot be set for some reason.
getProductState
short getProductState()
- Retrieves the value for the attribute
productState.
- Returns:
- The non-null value for attribute
productState.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setProductState
void setProductState(short newValue)
- Sets a new value for the attribute
productState.
- Parameters:
newValue - The non-null new value for attribute productState.
- Throws:
JmiException - If the value cannot be set for some reason.
getProductUsage
ActivityTracker getProductUsage()
- Retrieves the value for the optional reference
productUsage.
- Returns:
- The possibly null value for this reference.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setProductUsage
void setProductUsage(ActivityTracker newValue)
- Sets a new value for the reference
productUsage.
- Parameters:
newValue - The non-null new value for this reference.
- Throws:
JmiException - If the value cannot be set for some reason.
removeProductUsage
void removeProductUsage()
- Removes the value for the optional reference
productUsage.
- Throws:
JmiException - If the value cannot be removed for some reason.
getSalesTaxType
SalesTaxType getSalesTaxType()
- Retrieves the value for the optional reference
salesTaxType.
- Returns:
- The possibly null value for this reference.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setSalesTaxType
void setSalesTaxType(SalesTaxType newValue)
- Sets a new value for the reference
salesTaxType.
- Parameters:
newValue - The non-null new value for this reference.
- Throws:
JmiException - If the value cannot be set for some reason.
removeSalesTaxType
void removeSalesTaxType()
- Removes the value for the optional reference
salesTaxType.
- Throws:
JmiException - If the value cannot be removed for some reason.
This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.