Whether or not the document store is successfully initialized.
The monikers that represent the document store policy. This will only be available once the Document Store is initialized.
The monikers returned by the document store self endpoint. This will be available once the Document Store is initialized.
Indicates whether the Document Store is supported on this version of Essentials. This can only be true once the Document Store is initialized.
A filter for searching documents owned by the current user.
The monikers that represent the current user. This will be available once the Document Store is initialized.
These fields can be filtered using the 'matches' filter type as they are full text fields
Process the Core Document so that dates are Date objects (and anything else to keep the Document consistent).
The Core Document to process.
The same Document.
Process the Self Result on initialization, so we can setup the policy and user if avilable.
The Self Result to process.
Verify that the Document ID is valid, throwing an exception if it isn't.
The Document ID.
Verify that the Document Store is supported, throwing an exception if it isn't.
Whether or not the current user can create content.
Get the Document from the Document Store with the given ID.
The ID of the Document to get.
Whether or not to retrieve the document content.
The format of the document content.
A utilities.Thenable of the Document with the given ID.
Get the URL raw content can be found at for the Document, or for the given Document ID
assuming that document exists. If the mime-type of the Document is an image
this can be used as the src
of an img
tag.
A URL.
Get the root url.
Whether or not the document store has a policy matching the predicate.
The predicate to match against some policy grant.
Whether or not the policy grant exists.
Tries to verify whether or not the document is owned by the current user. If the document does not contain sufficient meta data, this will return true.
The document to check ownership of.
Whether or not the current user owns the document.
Tries to verify whether or not the document has been updated to be shared publicly. If the document does not contain sufficient meta data, this will return false.
The document to check whether it has been shared publicly.
Whether or not the document has been shared publicly.
Verifies whether or not the document is read only for the current user. If the document does not contain the access property, this returns false.
The document to check read only status for.
Whether or not the document is read only for the current user.
A thenable for a document store initialization attempt. This is different from onInitialized() in that it will reject for a single attempt failure. This call may itself trigger an attempt.
A thenable for when the document store is initialized. This will resolve when/if the document store initializes or rejects if the document store can not be supported. While being offline prevents the document store from initializing this will remain pending.
Perform a request to the document store.
Whether or not to use POST for the request.
A utilities.Thenable of the batch request response.
Search the Document Store and get all matching Documents. Only Documents the user has permission to access will be returned.
The parameters of the search.
A utilities.Thenable of the search result containing the documents.
Sets the guest link used on requests to the document store.
The guest link.
Update the Document in the Document Store with the given ID to have the given values. Only values present in the values object are updated.
The ID of the Document to update.
The values to update.
A utilities.Thenable of the Document with its updated values.
Process the ajax result and throw the Error if it is an error.
Process the Read Document Result so we can extract and attach the document content.
The Read Document Result to process.
The format that the content is in.
The resulting Document.
Interface to the Geocortex Essentials Document Store. Allows full create, read, update, delete operations on documents that persist between sessions. Not supported on versions of Essentials before 4.5. Check the
supported
member after the Site is initialized.