DocumentFactory Class Members

Summary

The following tables list the members exposed by DocumentFactory.

Public Methods

Name Description
abortUploadDocument Informs the cache to stop allowing uploads of the document to this uri.
beginUpload Gets a uri on the cache to upload a document.
create Creates a new empty virtual document.
deleteFromCache Deletes the specified Document from the cache.
downloadDocument Downloads a document from the cache.
isUploadDocumentUri Gets a value that indicate whether the URL points to a special LEAD cache scheme.
loadFromCache Retrieves the document matching the given documentId string from the cache.
loadFromUri Loads a document from existing data stored in a remote URL.
saveToCache Saves the document to the cache.
uploadDocument Uploads the specified data to the cache.
uploadFile Uploads a new document to the server.
verifyService Makes a parameter-less call to the Documents Service to verify a proper connection.

Public Properties

Name Description
logErrors Indicate whether errors should be logged to the console.
serviceApiPath The path to the api endpoints of the service.
serviceHost The LEADTOOLS Documents Service host location.
servicePath The path from the host to the application root.
serviceUri Gets the full URL of the service.
serviceUserData User data to be passed to the service with the next Documents Service call.

Public Events

Name Description
prepareAjax Event that occurs before any AJAX request is made to the server to allow the user to examine or modify the parameters passed.
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents Assembly
Click or drag to resize