|
||||||||||
| 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 |
addAssignedAccount(String id,
AccountAssignment assignedAccount)
Adds the specified element to the set of the values for the reference assignedAccount using a reassignable qualifier. |
|
void |
addPriceModifier(boolean idIsPersistent,
String id,
PriceModifier priceModifier)
Adds the specified element to the set of the values for the reference priceModifier. |
|
void |
addPriceModifier(String id,
PriceModifier priceModifier)
Adds the specified element to the set of the values for the reference priceModifier using a reassignable qualifier. |
|
ProcessPricesResult |
calculatePrices(CalculatePricesParams in)
|
|
ProcessPricesResult |
createInitialPrices(CreateInitialPricesParams in)
|
|
|
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 in)
|
|
ProcessPricesResult |
removePrices(RemovePricesParams in)
|
|
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 |
|---|
calculatePrices, createInitialPrices, getAssignedAccount, getDescription, getName, getPriceCurrency, getPriceListEntry, getPriceModifier, getValidFrom, getValidTo, isFinal, removePriceLevels, removePrices, setDescription, setFinal, setName, setPaymentMethod, setPriceCurrency, setPriceUsage, setShippingMethod, setValidFrom, setValidTo |
| Methods inherited from interface org.opencrx.kernel.account1.jmi1.AbstractFilterAccount |
|---|
addAccountFilterProperty, addAccountFilterProperty, countFilteredAccount, getAccountFilterProperty, getAccountFilterProperty, getAccountFilterProperty, getFilteredAccount, getFilteredAccount, getFilteredAccount |
| Methods inherited from interface org.opencrx.kernel.account1.cci2.AbstractFilterAccount |
|---|
getAccountFilterProperty, getFilteredAccount |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.AlertSender |
|---|
sendAlert |
| Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender |
|---|
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_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
|---|
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Exporter |
|---|
exportItem, exportItemAdvanced |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter |
|---|
exportItem, exportItemAdvanced |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Importer |
|---|
importItem |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Importer |
|---|
importItem |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed |
|---|
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed |
|---|
getIndexEntry |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject |
|---|
addOwningGroup, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwningUser, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
|---|
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser |
| Methods inherited from interface org.openmdx.base.cci2.ContextCapable |
|---|
getContext |
| Methods inherited from interface org.openmdx.base.jmi1.Creatable |
|---|
getCreatedBy |
| Methods inherited from interface org.openmdx.base.cci2.Creatable |
|---|
getCreatedAt |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.base.jmi1.Modifiable |
|---|
getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.Modifiable |
|---|
getModifiedAt |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
|---|
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, 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, addProductFilterProperty, countFilteredProduct, getFilteredProduct, getFilteredProduct, getFilteredProduct, getProductFilterProperty, getProductFilterProperty, getProductFilterProperty |
| Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractFilterProduct |
|---|
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.
idIsPersistent - 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.
void addAssignedAccount(String id,
AccountAssignment assignedAccount)
assignedAccount using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
id - 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 in)
ProcessPricesResult createInitialPrices(CreateInitialPricesParams in)
List<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.
idIsPersistent - 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.
idIsPersistent - 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.
void addPriceModifier(String id,
PriceModifier priceModifier)
priceModifier using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
id - 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 in)
ProcessPricesResult removePrices(RemovePricesParams in)
List<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 | |||||||||