In This Topic ▼

DocumentFactory Class Methods

Summary

For a list of all members of this type, see DocumentFactory members

Public Methods

Name Description
Public Method abortUploadDocument Informs the cache to stop allowing uploads of the document to this uri.
Public Method beginUpload Starts uploading a document to the cache.
Public Method beginUploadDocument Starts uploading a document to the cache.
Public Method cancelFromPrepareAjax Raises a prepareAjax event and returns whether the AJAX should be cancelled.
Public Method checkCacheInfo Retrieves information for a document in the cache using its ID.
Public Method create Creates a new empty virtual document.
Public Method deleteFromCache Deletes the specified Document from the cache.
Public Method downloadDocumentData Downloads the document data from the cache.
Public Method endUpload Finishes uploading a document to the cache.
Public Method isUploadDocumentUri Gets a value that indicate whether the URL points to a special LEAD cache scheme.
Public Method loadFromCache Retrieves the document matching the given documentId string from the cache.
Public Method loadFromFile Loads a document from a File object.
Public Method loadFromUri Loads a document from existing data stored in a remote URL.
Public Method saveToCache Saves the document to the cache.
Public Method uploadDocument Uploads the specified data to the cache.
Public Method uploadFile Uploads a new document to the server.
Public Method verifyService Makes a parameter-less call to the Document Service to verify a proper connection.

Help Version 20.0.2019.4.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly