public class DefaultPriceService extends AbstractBusinessService implements PriceService
PriceService.AbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultPriceService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Invoked by a BeanFactory after it has set all bean properties supplied.
|
java.util.List<PriceInformation> |
getPriceInformations(PriceCriteria priceCriteria)
Calculates all applicable prices for given criteria.
|
java.util.List<PriceInformation> |
getPriceInformationsForProduct(ProductModel product)
Returns all available
PriceInformation for the given ProductModel and the current session user. |
void |
setApplicationContext(ApplicationContext ctx) |
void |
setTimeService(TimeService timeService) |
void |
setUserService(UserService userService) |
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagergetCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic java.util.List<PriceInformation> getPriceInformationsForProduct(ProductModel product)
PriceServicePriceInformation for the given ProductModel and the current session user.getPriceInformationsForProduct in interface PriceServiceproduct - the productpublic java.util.List<PriceInformation> getPriceInformations(PriceCriteria priceCriteria)
PriceServicegetPriceInformations in interface PriceServicepublic void setTimeService(TimeService timeService)
public void setUserService(UserService userService)
public void setApplicationContext(ApplicationContext ctx)
throws BeansException
BeansExceptionpublic void afterPropertiesSet()
throws java.lang.Exception
AbstractServicesuper.afterPropertiesSet() before or the java serialization won't work.afterPropertiesSet in class AbstractServicejava.lang.ExceptionInitializingBean#afterPropertiesSet()Copyright © 2018 SAP SE. All Rights Reserved.