Class UploadControlSteps
- java.lang.Object
-
- de.businesscode.bcdui.upload.data.UploadControlSteps
-
public class UploadControlSteps extends java.lang.Object
Handles access to bcd_dataupload_control_step i.e., provides a list of steps so far and can add new steps
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UploadControlSteps.Step
Plain POJO representing an upload set with detail data
-
Constructor Summary
Constructors Constructor Description UploadControlSteps(java.lang.String uploadId)
Constructor, reads all steps from bcd_dataupload_controlstep
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendStep(UploadControlSteps.Step step)
Add a new stepvoid
refreshStep()
void
save()
Does a complete refresh of all steps for the uploadvoid
writeStepsResponse(java.io.Writer writer, java.lang.String uploadId)
Write list of steps in for a a Wrs to writer
-
-
-
Constructor Detail
-
UploadControlSteps
public UploadControlSteps(java.lang.String uploadId) throws UploadException
Constructor, reads all steps from bcd_dataupload_controlstep- Parameters:
uploadId
-- Throws:
java.lang.Exception
UploadException
-
-
Method Detail
-
appendStep
public void appendStep(UploadControlSteps.Step step)
Add a new step- Parameters:
step
-
-
refreshStep
public void refreshStep()
-
writeStepsResponse
public void writeStepsResponse(java.io.Writer writer, java.lang.String uploadId) throws java.io.IOException
Write list of steps in for a a Wrs to writer- Parameters:
writer
-uploadId
-- Throws:
java.lang.Exception
java.io.IOException
-
save
public void save() throws UploadException
Does a complete refresh of all steps for the upload- Throws:
java.lang.Exception
UploadException
-
-