IDocStorageService Interface |
At this time there are two document storage implementations based on this interface:
Namespace: NetQuarry.Services
The IDocStorageService type exposes the following members.
Name | Description | |
---|---|---|
MapperKey |
Gets mapper key for this Doc Storage Service.
| |
StorageDB |
Gets storage database ID for this Doc Storage Service.
|
Name | Description | |
---|---|---|
DeleteDocuments(IAppContext, ListString) |
Deletes documents from the document storage repository.
| |
DeleteDocuments(IAppContext, String) |
Deletes a document from the document storage repository.
| |
GetDocName |
Get the filename of the specified document.
| |
LoadAttachment |
Loads a specific document into a Attachment object.
| |
LoadAttachmentCollection |
Loads documents related to the relatedID param into a collection of Attachment objects.
| |
LoadDoc |
Retieve the specified document as an array of bytes
| |
SaveDoc(IAppContext, String, String, String, String, String, String, String) |
Save a document to the document storage repository.
Note, prior to platform v3.5.9 the default behaviour of this method was to delete the source file.
Beginning with platform v3.5.9 the default behaviour is to not delete the original source file.
Use SaveDoc(IAppContext, String, String, String, String, String, String, String, DocStorageOptions)
with DeleteSourceFile if you do want the source file deleted.
| |
SaveDoc(IAppContext, Stream, InputStreamType, String, String, String, String, String, String) |
Save a document to the document storage repository.
| |
SaveDoc(IAppContext, String, String, String, String, String, String, String, DocStorageOptions) |
Save a document to the document storage repository.
| |
SaveDocumentFromUrl |
Save a document to the document storage repository where the source is a URL
| |
SaveFile |
Saves a file to the document storage repository
| |
SetDocumentType |
Sets the application-specific document type for the specified document.
| |
WriteDocToResponse(IAppContext, String, String, String, Boolean) |
Retieve the specified document and write it to the response.
| |
WriteDocToResponse(IAppContext, String, String, String, Boolean, Int32) |
Retieve the specified document and write it to the response.
|