public interface GenericDocumentService
Modifier and Type | Method and Description |
---|---|
List<DocumentInfo> |
getAllDocuments()
Returns all generic documents.
|
CompressedData |
getCompressedSavedDocumentState(long savedDocumentId)
Returns the content of a saved document.
|
List<DocumentInfo> |
getDocuments(DocumentParameters parameters)
Returns all generic documents for the parameters.
|
List<DocumentInfo> |
getNonParametricDocuments()
Returns generic documents with no parameters only.
|
SavedDocument |
getSavedDocument(long savedDocumentId,
boolean includeContent)
Returns the saved document.
|
SavedDocumentList |
getSavedDocuments(SavedDocumentCriteria criteria)
Returns all saved documents according to criteria.
|
ByteData |
getSavedDocumentState(long savedDocumentId)
Returns the content of a saved document.
|
void |
setCompressedDocumentSavedState(long savedDocumentId,
CompressedData data)
Sets the saved document state.
|
void |
setSavedDocumentState(long savedDocumentId,
ByteData data)
Sets the saved document state.
|
List<DocumentInfo> getAllDocuments() throws ErrorException
ErrorException
List<DocumentInfo> getNonParametricDocuments() throws ErrorException
ErrorException
List<DocumentInfo> getDocuments(DocumentParameters parameters) throws ErrorException
parameters
- ErrorException
SavedDocumentList getSavedDocuments(SavedDocumentCriteria criteria)
criteria
- SavedDocument getSavedDocument(long savedDocumentId, boolean includeContent) throws SavedDocumentNotFoundException
savedDocumentId
- includeContent
- SavedDocumentNotFoundException
ByteData getSavedDocumentState(long savedDocumentId) throws SavedDocumentNotFoundException
savedDocumentId
- SavedDocumentNotFoundException
CompressedData getCompressedSavedDocumentState(long savedDocumentId) throws SavedDocumentNotFoundException
savedDocumentId
- SavedDocumentNotFoundException
void setSavedDocumentState(long savedDocumentId, ByteData data) throws SavedDocumentNotFoundException
savedDocumentId
- data
- SavedDocumentNotFoundException
void setCompressedDocumentSavedState(long savedDocumentId, CompressedData data) throws SavedDocumentNotFoundException
savedDocumentId
- data
- SavedDocumentNotFoundException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.