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 call
commit()
-
Method Summary
Modifier and TypeMethodDescriptionvoid
commit()
for implementations with transaction handlingvoid
delete
(Collection<String> uris) deletes uristhis method must not be called prior tocommit()
void
write
(String uri, InputStream openStream) writes file
-
Method Details
-
getWrittenFiles
Collection<String> getWrittenFiles()this method must not be called prior tocommit()
- Returns:
- collection of finally written files into filesystem with their absolute path
-
write
writes file- Parameters:
uri
-openStream
-
-
delete
deletes uris- Parameters:
uris
-
-
commit
void commit()for implementations with transaction handling
-