Class UploadBindingItemValidate
java.lang.Object
de.businesscode.bcdui.upload.data.steps.UploadBindingItemValidate
- All Implemented Interfaces:
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 ClassesModifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final int
protected final Connection
protected int
protected final String
static String
protected final UploadControl
protected final String
protected final String
-
Constructor Summary
ConstructorsConstructorDescriptionUploadBindingItemValidate
(UploadControl uploadControl, String userId) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
STEP_ID
-
errorCount
protected int errorCount -
skipHeader
-
uc
-
con
-
uploadId
-
colCount
protected final int colCount -
userId
-
-
Constructor Details
-
UploadBindingItemValidate
Constructor- Parameters:
uploadControl
-userId
-- Throws:
Exception
UploadException
-
-
Method Details
-
process
- Specified by:
process
in interfaceIUploadStep
- Throws:
Exception
UploadException
SQLException
-
applyCheck
protected int applyCheck(int colNum, UploadBindingItemValidate.Check check, int comp) throws SQLException - Throws:
SQLException
-