The Connections framework allows developers to create their own connections to external systems.
Administrators can define, edit, and delete connections through the administration section.
The Connection Framework gives a standard way of defining :
Connections are available on the administration section. Administrators can therefore manage control access to connections.
The XML connection definition file should be deployed on the custom/connections folder. Its name must be unique on the VDoc server. To prevent name conflicts it is recommended to use the following template: companyName-connectionType.xml (e.i. vdoc-education.xml). This XML definition file provides all the necessary information to describe a connection:
Error during retrieving content skip as ignoreDownloadError activated.
A runtime class is a Java class which will be called by the framework when an administrator clicks on the Validate button or at runtime level while a user changes the state of a workflow. A runtime class must extend the com.axemble.vdoc.sdk.connectors.BaseConnection class.
By creating a connection runtime class you need to implement two methods:
Two other methods could be overridden:
A runtime class is declared as follow:
Error during retrieving content skip as ignoreDownloadError activated.
The configuration definition allows developers to specify a list of <field> tags the administrator could use to properly configure a connection. These fields can be categorized into <section> tags. To make the configuration more dynamic an editor class could be specified.
Error during retrieving content skip as ignoreDownloadError activated.
An editor class is a Java class which allows developers to produce dynamic behaviors on the connection configuration properties (XML definition file). An editor class must extend the com.axemble.vdoc.sdk.connectors.BaseTreatmentConnectorEditor class.
The editor class works in the same way as the document or resource extensions. You can override the following standard methods:
Specifically to connection editor class, the connection Framework provides the following methods:
An editor class is declared as follow:
Error during retrieving content skip as ignoreDownloadError activated.
In order to localize the configuration of the error connection to different languages, you should always specify each string as a resource. The XML resource file should be deployed on the custom/internationalization folder. Its name must be unique on VDoc server. To prevent name conflicts it is recommended to use the following template: companyName-connectionType-resources.xml (e.i. vdoc-education-resources.xml). This file must contain every string used for the connection.
Error during retrieving content skip as ignoreDownloadError activated.