DocumentValidationModule

The document extension to manage documents validation. It allows the user to see documents in validation by clicking on the "Show document in validation" button in the search window. If the user is a moderator, he/she can also click on the "Validate" button in the document browser to validate it.

Constructor

new DocumentValidationModule(provider, requestService, configServer, parentElementValidateButton)

Creates the document validation module. Creates a validation service to manage HTTP requests, a validation source to change the retrieving URL and finally the view elements.

Parameters:
NameTypeDescription
providerobject

document provider

requestServiceRequestService

The request service

configServerobject

The server configuration

parentElementValidateButtonHTMLElement

Where to add the validate button

Classes

DocumentValidationModule