Package de.businesscode.bcdui.upload.data.steps
package de.businesscode.bcdui.upload.data.steps
-
ClassDescriptionSteps to be able to be added to UploadServlet as init param, format see there Need a Constructor getting (UploadControl uc, String userId) If writing, call UploadControl#addStepResult() at the end of process()JSON literal helper to write safe JSON objectThis 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.This class applies all validations which are possible based on the assigned BindingSet i.e. entries in mapping Validation issues are written to bcd_dataupload_validationRetrieves the rows with errors together with their errors as CSV It prepends the headerThis class tries to guess the data content semantics in bcd_dataupload_rowcol and updates bcd_dataupload_control 1.Trims and NULL-ifies columns in rowcol table which are of type NUMERIC, DATE or TIMESTAMP according to mapping information.Base class for inserting a file available as BLOB column- and cell wise to bcd_dataupload_rowcolResponsible to insert a CSV file available as BLOB column-wise to staging Detects file encoding (ISO-8859-1, UTF-8 and UTF-16), row and cell boundaries, i.e. cell delimiter and quoteChar Does not convert number or date format, does not detect headerResponsible to read an Excel xlsx file from a BLOB and write it row and cell to bcd_dataupload_rowcol