Class 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 step
      void refreshStep()  
      void save()
      Does a complete refresh of all steps for the upload
      void writeStepsResponse​(java.io.Writer writer, java.lang.String uploadId)
      Write list of steps in for a a Wrs to writer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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

      • 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