Interface VFSServlet.FileDAO

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void commit()
      for implementations with transaction handling
      void delete​(java.util.Collection<java.lang.String> uris)
      deletes uris
      java.util.Collection<java.lang.String> getWrittenFiles()
      this method must not be called prior to commit()
      void write​(java.lang.String uri, java.io.InputStream openStream)
      writes file
    • Method Detail

      • getWrittenFiles

        java.util.Collection<java.lang.String> getWrittenFiles()
        this method must not be called prior to commit()
        Returns:
        collection of finally written files into filesystem with their absolute path
      • write

        void write​(java.lang.String uri,
                   java.io.InputStream openStream)
        writes file
        Parameters:
        uri -
        openStream -
      • delete

        void delete​(java.util.Collection<java.lang.String> uris)
        deletes uris
        Parameters:
        uris -
      • commit

        void commit()
        for implementations with transaction handling