Class UploadBindingItemValidate
- java.lang.Object
-
- de.businesscode.bcdui.upload.data.steps.UploadBindingItemValidate
-
- All Implemented Interfaces:
IUploadStep
public class UploadBindingItemValidate extends java.lang.Object implements IUploadStep
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_validation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UploadBindingItemValidate.Check
static class
UploadBindingItemValidate.Severity
-
Field Summary
Fields Modifier and Type Field Description protected int
colCount
protected java.sql.Connection
con
protected int
errorCount
protected java.lang.String
skipHeader
static java.lang.String
STEP_ID
protected UploadControl
uc
protected java.lang.String
uploadId
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description UploadBindingItemValidate(UploadControl uploadControl, java.lang.String userId)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
applyCheck(int colNum, UploadBindingItemValidate.Check check, int comp)
void
process()
-
Methods 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 Detail
-
STEP_ID
public static java.lang.String STEP_ID
-
errorCount
protected int errorCount
-
skipHeader
protected final java.lang.String skipHeader
-
uc
protected final UploadControl uc
-
con
protected final java.sql.Connection con
-
uploadId
protected final java.lang.String uploadId
-
colCount
protected final int colCount
-
userId
protected final java.lang.String userId
-
-
Constructor Detail
-
UploadBindingItemValidate
public UploadBindingItemValidate(UploadControl uploadControl, java.lang.String userId) throws UploadException
Constructor- Parameters:
uploadControl
-userId
-- Throws:
java.lang.Exception
UploadException
-
-
Method Detail
-
process
public void process() throws UploadException, java.sql.SQLException
- Specified by:
process
in interfaceIUploadStep
- Throws:
java.lang.Exception
UploadException
java.sql.SQLException
-
applyCheck
protected int applyCheck(int colNum, UploadBindingItemValidate.Check check, int comp) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-