Package de.hybris.platform.impex
Interface ImpExImportCUDHandler
-
- All Known Implementing Classes:
DefaultImpExImportCUDHandler,SLImpexImportCUDHandler
public interface ImpExImportCUDHandlerProvides methods for (C)reate, (U)pdate and (D)elete of items during ImpEx import process.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Itemcreate(ComposedType targetType, java.util.Map<java.lang.String,java.lang.Object> values, ValueLine valueLine)Process creation of new item.voiddelete(Item toRemove, ValueLine valueLine)Process delete operation.voidupdate(Item toUpdate, java.util.Map<java.lang.String,java.lang.Object> values, ValueLine valueLine)Process update operation.
-
-
-
Method Detail
-
delete
void delete(Item toRemove, ValueLine valueLine) throws ConsistencyCheckException
Process delete operation.- Parameters:
toRemove- Item to removevalueLine- the value line- Throws:
ConsistencyCheckException- the consistency check exception
-
update
void update(Item toUpdate, java.util.Map<java.lang.String,java.lang.Object> values, ValueLine valueLine) throws ImpExException
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, java.util.Map<java.lang.String,java.lang.Object> values, ValueLine valueLine) throws ImpExException
Process creation of new item.- Parameters:
targetType- the target typevalues- the map of valuesvalueLine- the value line- Returns:
- the item
- Throws:
ImpExException- the ImpEx exception
-
-