|
jBPM :: Document Service 6.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentStorageService
Simple storage service definition
| Method Summary | |
|---|---|
boolean |
deleteDocument(Document document)
Deletes the File identified by the given id |
boolean |
deleteDocument(String id)
Deletes the File identified by the given id |
Document |
getDocument(String id)
Method to obtain a File for the given storage id |
Document |
saveDocument(Document document,
byte[] content)
Method to store the uploaded file on the system |
| Method Detail |
|---|
Document saveDocument(Document document,
byte[] content)
document - The document to store the contentcontent - The document content
Document getDocument(String id)
id - The Document id to obtain the Document
boolean deleteDocument(String id)
id - The Document id to delete
boolean deleteDocument(Document document)
document - The Document to delete
|
jBPM :: Document Service 6.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||