|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AbstractPriceLevel
Abstract class AbstractPriceLevel
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.AbstractPriceLevel |
|---|
AbstractPriceLevel.Identity |
| Method Summary | ||
|---|---|---|
void |
addAssignedAccount(boolean idIsPersistent,
String id,
AccountAssignment assignedAccount)
Adds the specified element to the set of the values for the reference assignedAccount. |
|
void |
addPriceModifier(boolean idIsPersistent,
String id,
PriceModifier priceModifier)
Adds the specified element to the set of the values for the reference priceModifier. |
|
ProcessPricesResult |
calculatePrices(CalculatePricesParams params)
Note: This is an extension to the JMI 1 standard. In order to remain standard compliant you should use the non-struct signature.. |
|
ProcessPricesResult |
calculatePrices(Date includeProductsModifiedSince,
Short processingMode)
|
|
ProcessPricesResult |
createInitialPrices(CreateInitialPricesParams params)
Note: This is an extension to the JMI 1 standard. In order to remain standard compliant you should use the non-struct signature.. |
|
ProcessPricesResult |
createInitialPrices(Date includeProductsModifiedSince,
Uom priceUom,
short processingMode)
|
|
|
getAssignedAccount(AccountAssignmentQuery query)
Retrieves the value for the reference assignedAccount for
the specified query. |
|
AccountAssignment |
getAssignedAccount(boolean idIsPersistent,
String id)
Retrieves the value for the reference assignedAccount for
the specified qualifier attribute value. |
|
AccountAssignment |
getAssignedAccount(String id)
Retrieves the value for the reference assignedAccount for
the specified qualifier attribute value. |
|
AbstractPriceLevel |
getBasedOn()
Retrieves the value for the reference basedOn. |
|
List<Short> |
getPaymentMethod()
Retrieves a list containing all the elements for the attribute paymentMethod. |
|
PriceListEntry |
getPriceListEntry(boolean idIsPersistent,
String id)
Retrieves the value for the reference priceListEntry for
the specified qualifier attribute value. |
|
|
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. |
|
PriceModifier |
getPriceModifier(boolean idIsPersistent,
String id)
Retrieves the value for the reference priceModifier for
the specified qualifier attribute value. |
|
|
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<Short> |
getPriceUsage()
Retrieves a list containing all the elements for the attribute priceUsage. |
|
List<Short> |
getShippingMethod()
Retrieves a list containing all the elements for the attribute shippingMethod. |
|
ProcessPricesResult |
removePriceLevels(RemovePriceLevelsParams params)
Note: This is an extension to the JMI 1 standard. In order to remain standard compliant you should use the non-struct signature.. |
|
ProcessPricesResult |
removePriceLevels(short processingMode)
|
|
ProcessPricesResult |
removePrices(RemovePricesParams params)
Note: This is an extension to the JMI 1 standard. In order to remain standard compliant you should use the non-struct signature.. |
|
ProcessPricesResult |
removePrices(Short processingMode)
|
|
void |
setBasedOn(AbstractPriceLevel basedOn)
Sets a new value for the reference basedOn. |
|
void |
setPaymentMethod(List<Short> paymentMethod)
Clears paymentMethod and adds the members of the given
List. |
|
void |
setPriceUsage(List<Short> priceUsage)
Clears priceUsage and adds the members of the given List. |
|
void |
setShippingMethod(List<Short> shippingMethod)
Clears shippingMethod and adds the members of the given
List. |
|
| Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractPriceLevel |
|---|
addAssignedAccount, addPriceModifier, getAssignedAccount, getDescription, getName, getPriceCurrency, getPriceListEntry, getPriceModifier, getValidFrom, getValidTo, isFinal, setDescription, setFinal, setName, setPaymentMethod, setPriceCurrency, setPriceUsage, setShippingMethod, setValidFrom, setValidTo |
| Methods inherited from interface org.opencrx.kernel.account1.jmi1.AbstractFilterAccount |
|---|
addAccountFilterProperty, countFilteredAccount, countFilteredAccount, getAccountFilterProperty, getAccountFilterProperty, getAccountFilterProperty, getFilteredAccount, getFilteredAccount, getFilteredAccount |
| Methods inherited from interface org.opencrx.kernel.account1.cci2.AbstractFilterAccount |
|---|
addAccountFilterProperty, getAccountFilterProperty, getFilteredAccount |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.AlertSender |
|---|
sendAlert, sendAlert |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Auditee |
|---|
getAudit, getAudit, getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
|---|
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Cloneable |
|---|
clone_, clone_ |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Importer |
|---|
importItem, importItem |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed |
|---|
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex, updateIndex |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed |
|---|
getIndexEntry |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject |
|---|
addOwningGroup, addOwningGroup, checkPermissions, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeAllOwningGroup, removeOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevel, setOwningUser, setOwningUser, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
|---|
getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.XmlExporter |
|---|
exportXml, exportXml |
| Methods inherited from interface org.openmdx.base.jmi1.BasicObject |
|---|
getCreatedBy, getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.BasicObject |
|---|
getCreatedAt, getModifiedAt |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.jmi1.ViewCapable |
|---|
getView, getView, getView |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
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.jmi1.AbstractFilterProduct |
|---|
addProductFilterProperty, countFilteredProduct, countFilteredProduct, getFilteredProduct, getFilteredProduct, getFilteredProduct, getProductFilterProperty, getProductFilterProperty, getProductFilterProperty |
| Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractFilterProduct |
|---|
addProductFilterProperty, getFilteredProduct, getProductFilterProperty |
| Method Detail |
|---|
<T extends AccountAssignment> List<T> getAssignedAccount(AccountAssignmentQuery query)
assignedAccount for
the specified query.
Note: This is an extension to the JMI 1 standard.java.jdo.Query
query - predicate which is applied to the set of referenced objects.
true.
AccountAssignment getAssignedAccount(boolean idIsPersistent,
String id)
assignedAccount for
the specified qualifier attribute value.
getAssignedAccount in interface AbstractPriceLevelidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
AccountAssignment getAssignedAccount(String id)
assignedAccount for
the specified qualifier attribute value.
This method is equivalent to the preferred invocation
getAssignedAccount(false,id).
id - The value for the qualifier attribute that qualifies this reference.
void addAssignedAccount(boolean idIsPersistent,
String id,
AccountAssignment assignedAccount)
assignedAccount.
Note: This is an extension to the JMI 1 standard.
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.assignedAccount - The element to be appended.AbstractPriceLevel getBasedOn()
basedOn.
getBasedOn in interface AbstractPriceLevelnull – value for this reference.void setBasedOn(AbstractPriceLevel basedOn)
basedOn.
setBasedOn in interface AbstractPriceLevelbasedOn - The non-null new value for this reference.
ProcessPricesResult calculatePrices(CalculatePricesParams params)
throws RefException
RefException
ProcessPricesResult calculatePrices(Date includeProductsModifiedSince,
Short processingMode)
calculatePrices in interface AbstractPriceLevel
ProcessPricesResult createInitialPrices(CreateInitialPricesParams params)
throws RefException
RefException
ProcessPricesResult createInitialPrices(Date includeProductsModifiedSince,
Uom priceUom,
short processingMode)
createInitialPrices in interface AbstractPriceLevelList<Short> getPaymentMethod()
paymentMethod.
getPaymentMethod in interface AbstractPriceLevelvoid setPaymentMethod(List<Short> paymentMethod)
paymentMethod and adds the members of the given
List.
This method is equivalent to
list.clear(); list.addAll(paymentMethod);Note: This is an extension to the JMI 1 standard.
paymentMethod - collection to be copied.<T extends PriceListEntry> List<T> getPriceListEntry(PriceListEntryQuery query)
priceListEntry for
the specified query.
Note: This is an extension to the JMI 1 standard.java.jdo.Query
query - predicate which is applied to the set of referenced objects.
true.
PriceListEntry getPriceListEntry(boolean idIsPersistent,
String id)
priceListEntry for
the specified qualifier attribute value.
getPriceListEntry in interface AbstractPriceLevelidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
PriceListEntry getPriceListEntry(String id)
priceListEntry for
the specified qualifier attribute value.
This method is equivalent to the preferred invocation
getPriceListEntry(false,id).
id - The value for the qualifier attribute that qualifies this reference.
<T extends PriceModifier> List<T> getPriceModifier(PriceModifierQuery query)
priceModifier for
the specified query.
Note: This is an extension to the JMI 1 standard.java.jdo.Query
query - predicate which is applied to the set of referenced objects.
true.
PriceModifier getPriceModifier(boolean idIsPersistent,
String id)
priceModifier for
the specified qualifier attribute value.
getPriceModifier in interface AbstractPriceLevelidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
PriceModifier getPriceModifier(String id)
priceModifier for
the specified qualifier attribute value.
This method is equivalent to the preferred invocation
getPriceModifier(false,id).
id - The value for the qualifier attribute that qualifies this reference.
void addPriceModifier(boolean idIsPersistent,
String id,
PriceModifier priceModifier)
priceModifier.
Note: This is an extension to the JMI 1 standard.
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.priceModifier - The element to be appended.List<Short> getPriceUsage()
priceUsage.
getPriceUsage in interface AbstractPriceLevelvoid setPriceUsage(List<Short> priceUsage)
priceUsage and adds the members of the given List.
This method is equivalent to
list.clear(); list.addAll(priceUsage);Note: This is an extension to the JMI 1 standard.
priceUsage - collection to be copied.
ProcessPricesResult removePriceLevels(RemovePriceLevelsParams params)
throws RefException
RefExceptionProcessPricesResult removePriceLevels(short processingMode)
removePriceLevels in interface AbstractPriceLevel
ProcessPricesResult removePrices(RemovePricesParams params)
throws RefException
RefExceptionProcessPricesResult removePrices(Short processingMode)
removePrices in interface AbstractPriceLevelList<Short> getShippingMethod()
shippingMethod.
getShippingMethod in interface AbstractPriceLevelvoid setShippingMethod(List<Short> shippingMethod)
shippingMethod and adds the members of the given
List.
This method is equivalent to
list.clear(); list.addAll(shippingMethod);Note: This is an extension to the JMI 1 standard.
shippingMethod - collection to be copied.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||