Interface VFSServlet.FileDAO

All Known Implementing Classes:
VFSServlet.JdbcFileDAO
Enclosing class:
VFSServlet

public static interface VFSServlet.FileDAO
abstraction to write into VFS, client has finally to call commit()
  • Method Details

    • getWrittenFiles

      Collection<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(String uri, InputStream openStream)
      writes file
      Parameters:
      uri -
      openStream -
    • delete

      void delete(Collection<String> uris)
      deletes uris
      Parameters:
      uris -
    • commit

      void commit()
      for implementations with transaction handling