Class UploadCleanup
- java.lang.Object
-
- de.businesscode.bcdui.upload.data.steps.UploadCleanup
-
- All Implemented Interfaces:
IUploadStep
public class UploadCleanup extends java.lang.Object implements IUploadStep
-
-
Field Summary
Fields Modifier and Type Field Description static int
NUMBER_OF_DAYS
static java.lang.String
STEP_ID
protected UploadControl
uc
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description UploadCleanup(UploadControl uc, java.lang.String userId)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process()
remove outdated data from the 4 upload tables-
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 final java.lang.String STEP_ID
- See Also:
- Constant Field Values
-
NUMBER_OF_DAYS
public static final int NUMBER_OF_DAYS
- See Also:
- Constant Field Values
-
uc
protected final UploadControl uc
-
userId
protected final java.lang.String userId
-
-
Constructor Detail
-
UploadCleanup
public UploadCleanup(UploadControl uc, java.lang.String userId)
Constructor- Parameters:
uc
-userId
-
-
-
Method Detail
-
process
public void process() throws UploadException, java.sql.SQLException
remove outdated data from the 4 upload tables- Specified by:
process
in interfaceIUploadStep
- Throws:
java.lang.Exception
UploadException
java.sql.SQLException
-
-