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 enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final Connectionprotected intprotected final Stringstatic Stringprotected final UploadControlprotected final Stringprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionUploadBindingItemValidate(UploadControl uploadControl, String userId) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected intapplyCheck(int colNum, UploadBindingItemValidate.Check check, int comp) voidprocess()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
ExceptionUploadException
-
-
Method Details
-
process
- Specified by:
processin interfaceIUploadStep- Throws:
ExceptionUploadExceptionSQLException
-
applyCheck
protected int applyCheck(int colNum, UploadBindingItemValidate.Check check, int comp) throws SQLException - Throws:
SQLException
-