Click or drag to resize

IDocStorageService Methods

The IDocStorageService type exposes the following members.

Methods
  NameDescription
Public methodDeleteDocuments(IAppContext, ListString)
Deletes documents from the document storage repository.
Public methodDeleteDocuments(IAppContext, String)
Deletes a document from the document storage repository.
Public methodGetDocName
Get the filename of the specified document.
Public methodLoadAttachment
Loads a specific document into a Attachment object.
Public methodLoadAttachmentCollection
Loads documents related to the relatedID param into a collection of Attachment objects.
Public methodLoadDoc
Retieve the specified document as an array of bytes
Public methodSaveDoc(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.
Public methodSaveDoc(IAppContext, Stream, InputStreamType, String, String, String, String, String, String)
Save a document to the document storage repository.
Public methodSaveDoc(IAppContext, String, String, String, String, String, String, String, DocStorageOptions)
Save a document to the document storage repository.
Public methodSaveDocumentFromUrl
Save a document to the document storage repository where the source is a URL
Public methodSaveFile
Saves a file to the document storage repository
Public methodSetDocumentType
Sets the application-specific document type for the specified document.
Public methodWriteDocToResponse(IAppContext, String, String, String, Boolean)
Retieve the specified document and write it to the response.
Public methodWriteDocToResponse(IAppContext, String, String, String, Boolean, Int32)
Retieve the specified document and write it to the response.
Top
See Also