|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PriceLevel
| Method Summary | |
|---|---|
void |
addAssignedAccount(AccountAssignment newValue)
|
void |
addAssignedAccount(String id,
AccountAssignment newValue)
|
void |
addPriceModifier(PriceModifier newValue)
|
void |
addPriceModifier(String id,
PriceModifier newValue)
|
ProcessPricesResult |
calculatePrices(CalculatePricesParams params)
|
ProcessPricesResult |
calculatePrices(Short processingMode)
|
ProcessPricesResult |
clonePriceLevel(ClonePriceLevelParams params)
|
ProcessPricesResult |
clonePriceLevel(String nameReplacementRegex,
String nameReplacementValue,
Short processingMode,
Date validFrom,
Date validTo)
|
ProcessPricesResult |
createInitialPrices(CreateInitialPricesParams params)
|
ProcessPricesResult |
createInitialPrices(Uom priceUom,
short processingMode)
|
Collection |
getAssignedAccount()
Retrieves a collection containing all the elements for the reference assignedAccount. |
List |
getAssignedAccount(AccountAssignmentFilter filter)
Retrieves the value for the reference assignedAccount for
the specified filter. |
List |
getAssignedAccount(AccountAssignmentQuery query)
Retrieves the value for the reference assignedAccount for
the specified query. |
AccountAssignment |
getAssignedAccount(String id)
Retrieves the value for the reference assignedAccount for
the specified qualifier attribute value. |
PriceLevel |
getBasedOn()
Retrieves the value for the optional reference basedOn. |
String |
getDescription()
|
String |
getName()
Retrieves the value for the attribute name. |
List |
getPaymentMethod()
|
short |
getPaymentMethod(int index)
|
short |
getPriceCurrency()
Retrieves the value for the attribute priceCurrency. |
Collection |
getPriceListEntry()
Retrieves a collection containing all the elements for the reference priceListEntry. |
List |
getPriceListEntry(PriceListEntryFilter filter)
Retrieves the value for the reference priceListEntry for
the specified filter. |
List |
getPriceListEntry(PriceListEntryQuery query)
Retrieves the value for the reference priceListEntry for
the specified query. |
PriceListEntry |
getPriceListEntry(String id)
Retrieves the value for the reference priceListEntry for
the specified qualifier attribute value. |
Collection |
getPriceModifier()
Retrieves a collection containing all the elements for the reference priceModifier. |
List |
getPriceModifier(PriceModifierFilter filter)
Retrieves the value for the reference priceModifier for
the specified filter. |
List |
getPriceModifier(PriceModifierQuery query)
Retrieves the value for the reference priceModifier for
the specified query. |
PriceModifier |
getPriceModifier(String id)
Retrieves the value for the reference priceModifier for
the specified qualifier attribute value. |
List |
getPriceUsage()
|
short |
getPriceUsage(int index)
|
List |
getShippingMethod()
|
short |
getShippingMethod(int index)
|
Date |
getValidFrom()
|
Date |
getValidTo()
|
Boolean |
isFinal()
|
void |
removeAssignedAccount(String id)
|
void |
removeBasedOn()
Removes the value for the optional reference basedOn. |
ProcessPricesResult |
removePriceLevels(RemovePriceLevelsParams params)
|
ProcessPricesResult |
removePriceLevels(short processingMode)
|
void |
removePriceModifier(String id)
|
ProcessPricesResult |
removePrices(RemovePricesParams params)
|
ProcessPricesResult |
removePrices(Short processingMode)
|
void |
setBasedOn(PriceLevel newValue)
Sets a new value for the reference basedOn. |
void |
setDescription(String newValue)
Sets a new value for the attribute description. |
void |
setFinal_(Boolean newValue)
Sets a new value for the attribute isFinal. |
void |
setName(String newValue)
Sets a new value for the attribute name. |
void |
setPaymentMethod(List newValue)
|
void |
setPaymentMethod(short[] newValue)
|
void |
setPriceCurrency(short newValue)
Sets a new value for the attribute priceCurrency. |
void |
setPriceUsage(List newValue)
|
void |
setPriceUsage(short[] newValue)
|
void |
setShippingMethod(List newValue)
|
void |
setShippingMethod(short[] newValue)
|
void |
setValidFrom(Date newValue)
Sets a new value for the attribute validFrom. |
void |
setValidTo(Date newValue)
Sets a new value for the attribute validTo. |
| Methods inherited from interface org.opencrx.kernel.account1.cci.AbstractFilterAccount |
|---|
addAccountFilterProperty, addAccountFilterProperty, countFilteredAccount, countFilteredAccount, getAccountFilterProperty, getAccountFilterProperty, getAccountFilterProperty, getAccountFilterProperty, getFilteredAccount, getFilteredAccount, getFilteredAccount, getFilteredAccount, removeAccountFilterProperty |
| Methods inherited from interface org.opencrx.kernel.base.cci.AlertSender |
|---|
sendAlert, sendAlert |
| Methods inherited from interface org.opencrx.kernel.base.cci.Auditee |
|---|
getAudit, getAudit, getAudit, getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci.Cloneable |
|---|
clone_, clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci.Importer |
|---|
importItem, importItem |
| Methods inherited from interface org.opencrx.kernel.base.cci.Indexed |
|---|
getIndexEntry, getIndexEntry, getIndexEntry, getIndexEntry, updateIndex, updateIndex |
| 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.opencrx.kernel.base.cci.SubscriptionTarget |
|---|
addSubscription, addSubscription, addSubscriptionForParent, addSubscriptionForParent, removeSubscription, removeSubscription, removeSubscriptionForParent, removeSubscriptionForParent |
| Methods inherited from interface org.opencrx.kernel.base.cci.XmlExporter |
|---|
exportXml, exportXml |
| Methods inherited from interface org.openmdx.base.cci.BasicObject |
|---|
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci.ContextCapable |
|---|
getContext, getContext |
| Methods inherited from interface org.openmdx.base.cci.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.cci.ViewCapable |
|---|
getView, getView, getView, getView |
| 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 javax.jmi.reflect.RefObject |
|---|
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
| Methods inherited from interface javax.jmi.reflect.RefFeatured |
|---|
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
| Methods inherited from interface javax.jmi.reflect.RefBaseObject |
|---|
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
| Methods inherited from interface org.opencrx.kernel.product1.cci.AbstractFilterProduct |
|---|
addProductFilterProperty, addProductFilterProperty, countFilteredProduct, countFilteredProduct, getFilteredProduct, getFilteredProduct, getFilteredProduct, getFilteredProduct, getProductFilterProperty, getProductFilterProperty, getProductFilterProperty, getProductFilterProperty, removeProductFilterProperty |
| Method Detail |
|---|
AccountAssignment getAssignedAccount(String id)
assignedAccount for
the specified qualifier attribute value.
id - The value for the qualifier attribute that qualifies this reference.
JmiException - If the value cannot be retrieved for some reason.Collection getAssignedAccount()
assignedAccount.
JmiException - If the values cannot be retrieved for some reason.List getAssignedAccount(AccountAssignmentFilter filter)
assignedAccount for
the specified filter.
filter - filter which is applied to the set of referenced objects.
JmiException - If the value cannot be retrieved for some reason.List getAssignedAccount(AccountAssignmentQuery query)
assignedAccount for
the specified query.
predicate - predicate which is applied to the set of referenced objects.
JmiException - If the value cannot be retrieved for some reason.
void addAssignedAccount(String id,
AccountAssignment newValue)
id - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.
JmiException - If the value cannot be appended for some reason.void addAssignedAccount(AccountAssignment newValue)
newValue - The element to be appended.
JmiException - If the value cannot be appended for some reason.void removeAssignedAccount(String id)
JmiException - If the value cannot be removed for some reason.PriceLevel getBasedOn()
basedOn.
JmiException - If the value cannot be retrieved for some reason.void setBasedOn(PriceLevel newValue)
basedOn.
newValue - The non-null new value for this reference.
JmiException - If the value cannot be set for some reason.void removeBasedOn()
basedOn.
JmiException - If the value cannot be removed for some reason.
ProcessPricesResult calculatePrices(CalculatePricesParams params)
throws RefException
RefException
ProcessPricesResult calculatePrices(Short processingMode)
throws RefException
RefException
ProcessPricesResult clonePriceLevel(ClonePriceLevelParams params)
throws RefException
RefException
ProcessPricesResult clonePriceLevel(String nameReplacementRegex,
String nameReplacementValue,
Short processingMode,
Date validFrom,
Date validTo)
throws RefException
RefException
ProcessPricesResult createInitialPrices(CreateInitialPricesParams params)
throws RefException
RefException
ProcessPricesResult createInitialPrices(Uom priceUom,
short processingMode)
throws RefException
RefExceptionString getDescription()
description.
JmiException - If the value cannot be retrieved for some reason.void setDescription(String newValue)
description.
newValue - The possibly null new value for attribute description.
JmiException - If the value cannot be set for some reason.Boolean isFinal()
isFinal.
JmiException - If the value cannot be retrieved for some reason.void setFinal_(Boolean newValue)
isFinal.
newValue - The possibly null new value for attribute isFinal.
JmiException - If the value cannot be set for some reason.String getName()
name.
name.
JmiException - If the value cannot be retrieved for some reason.void setName(String newValue)
name.
newValue - The non-null new value for attribute name.
JmiException - If the value cannot be set for some reason.List getPaymentMethod()
JmiException - If the values cannot be retrieved for some reason.short getPaymentMethod(int index)
index - The index of the element to return.
JmiException - If the value cannot be retrieved for some reason.void setPaymentMethod(List newValue)
newValue - A list containing all the new elements for this attribute.
JmiException - If the values cannot be set for some reason.void setPaymentMethod(short[] newValue)
newValue - An array containing all the new elements for this attribute.
JmiException - If the values cannot be set for some reason.short getPriceCurrency()
priceCurrency.
priceCurrency.
JmiException - If the value cannot be retrieved for some reason.void setPriceCurrency(short newValue)
priceCurrency.
newValue - The non-null new value for attribute priceCurrency.
JmiException - If the value cannot be set for some reason.PriceListEntry getPriceListEntry(String id)
priceListEntry for
the specified qualifier attribute value.
id - The value for the qualifier attribute that qualifies this reference.
JmiException - If the value cannot be retrieved for some reason.Collection getPriceListEntry()
priceListEntry.
JmiException - If the values cannot be retrieved for some reason.List getPriceListEntry(PriceListEntryFilter filter)
priceListEntry for
the specified filter.
filter - filter which is applied to the set of referenced objects.
JmiException - If the value cannot be retrieved for some reason.List getPriceListEntry(PriceListEntryQuery query)
priceListEntry for
the specified query.
predicate - predicate which is applied to the set of referenced objects.
JmiException - If the value cannot be retrieved for some reason.PriceModifier getPriceModifier(String id)
priceModifier for
the specified qualifier attribute value.
id - The value for the qualifier attribute that qualifies this reference.
JmiException - If the value cannot be retrieved for some reason.Collection getPriceModifier()
priceModifier.
JmiException - If the values cannot be retrieved for some reason.List getPriceModifier(PriceModifierFilter filter)
priceModifier for
the specified filter.
filter - filter which is applied to the set of referenced objects.
JmiException - If the value cannot be retrieved for some reason.List getPriceModifier(PriceModifierQuery query)
priceModifier for
the specified query.
predicate - predicate which is applied to the set of referenced objects.
JmiException - If the value cannot be retrieved for some reason.
void addPriceModifier(String id,
PriceModifier newValue)
id - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.
JmiException - If the value cannot be appended for some reason.void addPriceModifier(PriceModifier newValue)
newValue - The element to be appended.
JmiException - If the value cannot be appended for some reason.void removePriceModifier(String id)
JmiException - If the value cannot be removed for some reason.List getPriceUsage()
JmiException - If the values cannot be retrieved for some reason.short getPriceUsage(int index)
index - The index of the element to return.
JmiException - If the value cannot be retrieved for some reason.void setPriceUsage(List newValue)
newValue - A list containing all the new elements for this attribute.
JmiException - If the values cannot be set for some reason.void setPriceUsage(short[] newValue)
newValue - An array containing all the new elements for this attribute.
JmiException - If the values cannot be set for some reason.
ProcessPricesResult removePriceLevels(RemovePriceLevelsParams params)
throws RefException
RefException
ProcessPricesResult removePriceLevels(short processingMode)
throws RefException
RefException
ProcessPricesResult removePrices(RemovePricesParams params)
throws RefException
RefException
ProcessPricesResult removePrices(Short processingMode)
throws RefException
RefExceptionList getShippingMethod()
JmiException - If the values cannot be retrieved for some reason.short getShippingMethod(int index)
index - The index of the element to return.
JmiException - If the value cannot be retrieved for some reason.void setShippingMethod(List newValue)
newValue - A list containing all the new elements for this attribute.
JmiException - If the values cannot be set for some reason.void setShippingMethod(short[] newValue)
newValue - An array containing all the new elements for this attribute.
JmiException - If the values cannot be set for some reason.Date getValidFrom()
validFrom.
JmiException - If the value cannot be retrieved for some reason.void setValidFrom(Date newValue)
validFrom.
newValue - The possibly null new value for attribute validFrom.
JmiException - If the value cannot be set for some reason.Date getValidTo()
validTo.
JmiException - If the value cannot be retrieved for some reason.void setValidTo(Date newValue)
validTo.
newValue - The possibly null new value for attribute validTo.
JmiException - If the value cannot be set for some reason.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||