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 TypeMethodDescriptionvoidcommit()for implementations with transaction handlingvoiddelete(Collection<String> uris) deletes uristhis method must not be called prior tocommit()voidwrite(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
-