Package de.hybris.platform.impex
Interface ImpExImportCUDHandler
- All Known Implementing Classes:
DefaultImpExImportCUDHandler,SLImpexImportCUDHandler
public interface ImpExImportCUDHandler
Provides methods for (C)reate, (U)pdate and (D)elete of items during ImpEx import process.
-
Method Summary
Modifier and TypeMethodDescriptionProcess creation of new item.voidProcess delete operation.voidProcess update operation.
-
Method Details
-
delete
Process delete operation.- Parameters:
toRemove- Item to removevalueLine- the value line- Throws:
ConsistencyCheckException- the consistency check exception
-
update
Process update operation.- Parameters:
toUpdate- Item to updatevalues- the map of Item values where key is attribute name and value is new value to updatevalueLine- the value line- Throws:
ImpExException- the ImpEx exception
-
create
Item create(ComposedType targetType, Map<String, Object> values, ValueLine valueLine) throws ImpExExceptionProcess creation of new item.- Parameters:
targetType- the target typevalues- the map of valuesvalueLine- the value line- Returns:
- the item
- Throws:
ImpExException- the ImpEx exception
-