Class Upload2TargetBs
java.lang.Object
de.businesscode.bcdui.upload.data.steps.Upload2TargetBs
- All Implemented Interfaces:
IUploadStep
This class is responsible for transferring data from bcdui_upload_rowcol into the target BindingSet
It relies on correct format of the data in bcdui_upload_rowcol. Rows having entries in bcd_dataupload_validation are skipped.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
extend
(StringBuilder insList, StringBuilder fromList, List<Object> params) override this method to extend the INSERT / FROM lists, i.e. to inject custom data when writing to target table, the list is VTL syntax, scoped bindingsets: $target = target, $rowCol = bcd_dataupload_rowcol, $val = bcd_dataupload_validationvoid
process()
GoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.businesscode.bcdui.upload.data.steps.IUploadStep
setParams
-
Field Details
-
STEP_ID
-
-
Constructor Details
-
Upload2TargetBs
Constructor- Parameters:
uc
-userId
-
-
-
Method Details
-
process
Go- Specified by:
process
in interfaceIUploadStep
- Throws:
Exception
SQLException
IOException
UploadException
-
extend
override this method to extend the INSERT / FROM lists, i.e. to inject custom data when writing to target table, the list is VTL syntax, scoped bindingsets: $target = target, $rowCol = bcd_dataupload_rowcol, $val = bcd_dataupload_validation- Parameters:
insList
- - must not contain aliasesfromList
- - may contain params placeholdersparams
- - adjacent to fromList; must not remove params from list or change order.
-