Class DefaultItemModelFactory
- java.lang.Object
-
- de.hybris.platform.inboundservices.persistence.impl.DefaultItemModelFactory
-
- All Implemented Interfaces:
ItemModelFactory
public class DefaultItemModelFactory extends java.lang.Object implements ItemModelFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultItemModelFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemModelcreateItem(PersistenceContext context)Creates newItemModelinstance.protected ModelServicegetModelService()voidsetModelService(ModelService service)
-
-
-
Method Detail
-
createItem
public ItemModel createItem(PersistenceContext context)
Creates newItemModelinstance.- Specified by:
createItemin interfaceItemModelFactory- Parameters:
context- context containing information about exact type of the instance to be created.- Returns:
- a new item model of the type specified by context.
- Throws:
SystemException- if new instance could not be created
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService service)
-
-