public interface GenericDocumentService
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DocumentInfo> |
getAllDocuments()
Returns all generic documents.
|
CompressedData |
getCompressedSavedDocumentState(long savedDocumentId)
Returns the content of a saved document.
|
java.util.List<DocumentInfo> |
getDocuments(DocumentParameters parameters)
Returns all generic documents for the parameters.
|
java.util.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.
|
java.util.List<DocumentInfo> getAllDocuments() throws ErrorException
ErrorExceptionjava.util.List<DocumentInfo> getNonParametricDocuments() throws ErrorException
ErrorExceptionjava.util.List<DocumentInfo> getDocuments(DocumentParameters parameters) throws ErrorException
parameters - ErrorExceptionSavedDocumentList getSavedDocuments(SavedDocumentCriteria criteria)
criteria - SavedDocument getSavedDocument(long savedDocumentId, boolean includeContent) throws SavedDocumentNotFoundException
savedDocumentId - includeContent - SavedDocumentNotFoundExceptionByteData getSavedDocumentState(long savedDocumentId) throws SavedDocumentNotFoundException
savedDocumentId - SavedDocumentNotFoundExceptionCompressedData getCompressedSavedDocumentState(long savedDocumentId) throws SavedDocumentNotFoundException
savedDocumentId - SavedDocumentNotFoundExceptionvoid setSavedDocumentState(long savedDocumentId,
ByteData data)
throws SavedDocumentNotFoundException
savedDocumentId - data - SavedDocumentNotFoundExceptionvoid setCompressedDocumentSavedState(long savedDocumentId,
CompressedData data)
throws SavedDocumentNotFoundException
savedDocumentId - data - SavedDocumentNotFoundExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.