So far this document has focused on implementing the synchronize
fetch action, but a connector can implement other fetch actions in addition to, or instead of, synchronize
. We have already seen how to implement synchronize
by overriding the synchronize
method in ConnectorBase
. ConnectorBase
also has virtual methods for the other fetch actions. To implement any fetch action, override the appropriate ConnectorBase
features()
function
Retrieve Documents from a Repository
Update Documents in a Repository
Insert a Stub into a Repository
Retrieve Group Information from a Repository
Retrieve the URI of a Document
A full implementation of a File System Connector is available in the ExampleFileSystemConnector
project in the CodeSamples
solution. This connector supports the actions Synchronize (Full Synchronize or from a list of Identifiers), Collect, Delete, Insert and View.
|