Package de.businesscode.bcdui.vfs.web
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 callcommit()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
commit()
for implementations with transaction handlingvoid
delete(java.util.Collection<java.lang.String> uris)
deletes urisjava.util.Collection<java.lang.String>
getWrittenFiles()
this method must not be called prior tocommit()
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 tocommit()
- 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
-
-