public class DefaultCartFactory extends java.lang.Object implements CartFactory
CartFactory| Constructor and Description |
|---|
DefaultCartFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
CartModel |
createCart()
Creates a new, implementation dependent
CartModel instance. |
protected CartModel |
createCartInternal()
Creates a new
CartModel instance without persisting it. |
void |
setApplicationContext(ApplicationContext ctx) |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setKeyGenerator(KeyGenerator keyGenerator) |
void |
setModelService(ModelService modelService) |
void |
setUserNetCheckingStrategy(UserNetCheckingStrategy userNetCheckingStrategy) |
void |
setUserService(UserService userService) |
public CartModel createCart()
CartFactoryCartModel instance.createCart in interface CartFactoryCartModel - may be persisted or not, it depends on the used implementation. I.e
DefaultCartFactory saves the model.protected CartModel createCartInternal()
CartModel instance without persisting it.public void setKeyGenerator(KeyGenerator keyGenerator)
public void setModelService(ModelService modelService)
public void setUserService(UserService userService)
public void setCommonI18NService(CommonI18NService commonI18NService)
public void setUserNetCheckingStrategy(UserNetCheckingStrategy userNetCheckingStrategy)
public void setApplicationContext(ApplicationContext ctx)
public void afterPropertiesSet()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.