Ask the imaging service whether the user can add an image for the current document
(optional) the artifact id of the profile that will be used to image
A boolean that indicates whether it is possible to add an image for the current document If no profile id is passed in, checks if user has access to any valid profile ids. If profile id is passed in, checks specifically if user has access to that profile, and that it allows the document's native type.
Ask the imaging service whether imaging is possible for the current document
(optional) the artifact id of the profile that will be used to image
A boolean that indicates whether imaging is possible for the current document If no profile id is passed in, checks if user has access to any valid profile ids. If profile id is passed in, checks specifically if user has access to that profile, and that it allows the document's native type.
Ask the imaging service whether deleting images is possible for the current document
A boolean that indicates whether it is possible to delete images for the current document
Ask the imaging service whether the user can replace the image for the current document
(optional) the artifact id of the profile that will be used to image
A boolean that indicates whether it is possible to replace the image for the current document If no profile id is passed in, checks if user has access to any valid profile ids. If profile id is passed in, checks specifically if user has access to that profile, and that it allows the document's native type.
Attempts to create an image for the current document
Artifact ID of the profile to use to create the image
A promise that resolves to true if image creation was successfully started
Attempts to delete all images for the current document
A promise that resolves to true if image deletion was successful
Get the imaging profiles that the user has permission for
A promise that resolves to the available imaging profiles
Inform the review interface that a new image file has been uploaded
A promise that resolves when the review interface has finished handling the new image
Unregisters an event handler
Event to unregister from
Event handler function. If not passed in, it removes all event handlers.
Boolean indicating if the event handler was registered as a one-time event handler (Defaults to false)
Registers an event handler
Event to listen for
Event handler function
Registers an event handler that is only run once
Event to listen for
Event handler function
Class for creating and deleting images