public class InMemoryCartFactory extends java.lang.Object implements CartFactory
CartFactory that creates InMemoryCartModels.| Constructor and Description |
|---|
InMemoryCartFactory() |
| Modifier and Type | Method and Description |
|---|---|
CartModel |
createCart()
Creates a new, implementation dependent
CartModel instance. |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setKeyGenerator(KeyGenerator keyGenerator) |
void |
setModelService(ModelService modelService) |
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.public void setKeyGenerator(KeyGenerator keyGenerator)
public void setModelService(ModelService modelService)
public void setUserService(UserService userService)
public void setCommonI18NService(CommonI18NService commonI18NService)
Copyright © 2018 SAP SE. All Rights Reserved.