public class DummyPriceFactory extends AbstractPriceFactory
Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator| Constructor and Description |
|---|
DummyPriceFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
createEssentialData(Map params,
JspContext jspc) |
void |
createProjectData(Map params,
JspContext jspc) |
PriceValue |
getBasePrice(AbstractOrderEntry entry)
override to define the base price of an order entry
|
static AbstractPriceFactory |
getInstance() |
String |
getName() |
List |
getProductDiscountInformations(SessionContext ctx,
Product product,
Date date,
boolean net)
override this to show all discounts which may apply to the given product
|
List |
getProductPriceInformations(SessionContext ctx,
Product product,
Date date,
boolean net)
Override this to show all prices available for the given product
|
List |
getProductTaxInformations(SessionContext ctx,
Product product,
Date date)
override this to show all taxes which apply to the given product
|
getAllPriceInformations, getAllPriceInformations, getDiscountValues, getDiscountValues, getProductDiscountInformations, getProductPriceInformations, getProductTaxInformations, getTaxValues, isNetUsercheckBeforeItemRemoval, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getDefaultAttributeModes, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceafterItemCreation, beforeItemCreation, destroy, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, unwrap, unwrap, wrappublic static final String BEAN_NAME
public static AbstractPriceFactory getInstance()
public PriceValue getBasePrice(AbstractOrderEntry entry) throws JaloPriceFactoryException
AbstractPriceFactorygetBasePrice in interface PriceFactorygetBasePrice in class AbstractPriceFactoryJaloPriceFactoryExceptionpublic List getProductDiscountInformations(SessionContext ctx, Product product, Date date, boolean net) throws JaloPriceFactoryException
AbstractPriceFactorygetProductDiscountInformations in interface PriceFactorygetProductDiscountInformations in class AbstractPriceFactoryproduct - the productDiscountInformation objectsJaloPriceFactoryException - if price calculation error occuredpublic List getProductPriceInformations(SessionContext ctx, Product product, Date date, boolean net) throws JaloPriceFactoryException
AbstractPriceFactorygetProductPriceInformations in interface PriceFactorygetProductPriceInformations in class AbstractPriceFactoryproduct - the productnet - the net/gross state of the requested pricesPriceInformation objectsJaloPriceFactoryException - if price calculation error occuredpublic List getProductTaxInformations(SessionContext ctx, Product product, Date date) throws JaloPriceFactoryException
AbstractPriceFactorygetProductTaxInformations in interface PriceFactorygetProductTaxInformations in class AbstractPriceFactoryproduct - the productTaxInformation objectsJaloPriceFactoryException - if price calculation error occuredpublic void createProjectData(Map params, JspContext jspc)
createProjectData in class Extensionpublic void createEssentialData(Map params, JspContext jspc)
createEssentialData in class ExtensionCopyright © 2017 SAP SE. All Rights Reserved.