public abstract class AbstractBatchingCRUDHandler extends java.lang.Object implements BatchingImpExCRUDHandler
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
AbstractBatchingCRUDHandler.TriConsumer<T,D,U> |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBatchingCRUDHandler(ModelService modelService,
UserService userService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bulkCommit(java.util.Map<BatchData.ImportData,ItemModel> itemModels) |
protected void |
commit(BatchData.ImportData importData,
ItemModel itemModel) |
protected void |
fillModel(ItemModel itemModel,
java.util.Map<StandardColumnDescriptor,java.lang.Object> currentModeValues,
ProcessMode processMode) |
protected ModelService |
getModelService() |
protected void |
handleSpecialColumns(BatchData.ImportData importData,
ItemModel itemModel) |
protected void |
notifySpecialColumns(BatchData.ImportData importData,
ItemModel itemModel) |
protected abstract java.util.Set<BatchData.ImportData> |
process(java.util.Collection<BatchData.ImportData> importDatas,
AbstractBatchingCRUDHandler.TriConsumer<ItemModel,BatchData.ImportData,java.util.Set<BatchData.ImportData>> consumer) |
java.util.List<BatchData.ImportData> |
processByLine(java.util.List<BatchData.ImportData> importDatas) |
java.util.List<BatchData.ImportData> |
processInBulk(java.util.List<BatchData.ImportData> importDatas) |
protected void |
registerDocumentIds(BatchData.ImportData importData,
ItemModel itemModel) |
protected void |
setLocalizedModelValue(ItemModel model,
java.lang.String attribute,
java.lang.Object value) |
protected void |
setModelValue(ItemModel model,
java.lang.String attribute,
java.lang.Object value) |
protected AbstractBatchingCRUDHandler(ModelService modelService, UserService userService)
public java.util.List<BatchData.ImportData> processInBulk(java.util.List<BatchData.ImportData> importDatas)
processInBulk in interface BatchingImpExCRUDHandlerpublic java.util.List<BatchData.ImportData> processByLine(java.util.List<BatchData.ImportData> importDatas)
processByLine in interface BatchingImpExCRUDHandlerprotected abstract java.util.Set<BatchData.ImportData> process(java.util.Collection<BatchData.ImportData> importDatas, AbstractBatchingCRUDHandler.TriConsumer<ItemModel,BatchData.ImportData,java.util.Set<BatchData.ImportData>> consumer)
protected void bulkCommit(java.util.Map<BatchData.ImportData,ItemModel> itemModels)
protected void commit(BatchData.ImportData importData, ItemModel itemModel)
protected ModelService getModelService()
protected void fillModel(ItemModel itemModel, java.util.Map<StandardColumnDescriptor,java.lang.Object> currentModeValues, ProcessMode processMode)
protected void setModelValue(ItemModel model, java.lang.String attribute, java.lang.Object value)
protected void setLocalizedModelValue(ItemModel model, java.lang.String attribute, java.lang.Object value)
protected void registerDocumentIds(BatchData.ImportData importData, ItemModel itemModel)
protected void handleSpecialColumns(BatchData.ImportData importData, ItemModel itemModel)
protected void notifySpecialColumns(BatchData.ImportData importData, ItemModel itemModel)
Copyright © 2018 SAP SE. All Rights Reserved.