Repository API Callback Functions
Adapter integrators may find it necessary to expand the functionality of the default Repository Adapter behavior by using ACL functions that Arbortext Editor executes before calling the equivalent function within the Repository API. The following table lists the callback functions and their corresponding Repository API function(s):
Callback function
|
Repository API function
|
|
N/A
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The ACL startup file for the adapter registers callbacks for events such as autosave, checkin, lock, and getfile. This allows the adapter to, for example, save an object if the autosave preference has been set, extend checkin to capture user comments before the actual check-in occurs, instruct lock to inquire about version selection and allow getfile to accommodate different graphic rendition formats.
The ud parameter can be used to pass user defined information to a callback; strings must match the adapter encoding. The Adapters use 16–bit Unicode strings.