Class NewItemServiceImpl
java.lang.Object
de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
de.hybris.platform.cockpit.services.impl.NewItemServiceImpl
- All Implemented Interfaces:
NewItemService
- Direct Known Subclasses:
WorkflowNewItemServiceImpl
-
Field Summary
Fields inherited from class de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
modelService, typeService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNewItem(ObjectValueContainer valueContainer, ObjectTemplate template) createNewItemJalo(ObjectValueContainer valueContainer, ObjectTemplate template) Deprecated.since 6.3protected TypedObjectcreateNewItemServiceLayer(ObjectValueContainer valueContainer, ObjectTemplate template) booleanvoidsetDefaultValues(ObjectValueContainer valueContainer, ObjectTemplate template) voidsetI18nService(I18NService i18NService) voidsetMediaUpdateService(MediaUpdateService mediaUpdateService) voidsetModelLocalizedValue(ItemModel model, String qualifier, String languageIso, Object value) voidsetModelSingleValue(ItemModel model, String qualifier, Object value) voidsetSystemService(SystemService systemService) protected voidsetTemplate(ObjectValueContainer objectValueContainer, ObjectTemplate template) voidsetUseServiceLayer(boolean useServiceLayer) voidsetValueHandlerRegistry(ObjectValueHandlerRegistry valueHandlerRegistry) Methods inherited from class de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
getEnum, getEnums, getLocalizedLabel, getLocalizedLabel, getModelService, getTypeService, setCockpitTypeService, setLabelResolver, setModelService
-
Constructor Details
-
NewItemServiceImpl
public NewItemServiceImpl()
-
-
Method Details
-
createNewItem
public TypedObject createNewItem(ObjectValueContainer valueContainer, ObjectTemplate template) throws ValueHandlerException - Specified by:
createNewItemin interfaceNewItemService- Throws:
ValueHandlerException
-
createNewItemJalo
@Deprecated public TypedObject createNewItemJalo(ObjectValueContainer valueContainer, ObjectTemplate template) throws ValueHandlerException Deprecated.since 6.3- Throws:
ValueHandlerException
-
createNewItemServiceLayer
protected TypedObject createNewItemServiceLayer(ObjectValueContainer valueContainer, ObjectTemplate template) throws ValueHandlerException - Throws:
ValueHandlerException
-
setModelSingleValue
public void setModelSingleValue(ItemModel model, String qualifier, Object value) throws AttributeNotSupportedException - Throws:
AttributeNotSupportedException
-
setModelLocalizedValue
public void setModelLocalizedValue(ItemModel model, String qualifier, String languageIso, Object value) throws AttributeNotSupportedException - Throws:
AttributeNotSupportedException
-
setDefaultValues
- Specified by:
setDefaultValuesin interfaceNewItemService
-
setTemplate
-
setMediaUpdateService
-
getMediaUpdateService
-
setSystemService
-
getSystemService
-
getMandatoryAttributes
- Specified by:
getMandatoryAttributesin interfaceNewItemService
-
getValueHandlerRegistry
-
setValueHandlerRegistry
-
setI18nService
-
getI18NService
-
setUseServiceLayer
public void setUseServiceLayer(boolean useServiceLayer) -
isUseServiceLayer
public boolean isUseServiceLayer()
-