Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IDocumentProvider.AttachToDocument Method 

Returns a specific document for further querying and retrieval.

IDocument AttachToDocument(
   string documentLocation,
   string locale,
   string signature,
   DocumentFormat format
);

Parameters

documentLocation
The path to the requested document. This could be a UNC path for a file crawler, or an application-specific string for other repositories.
locale
The user's locale.
signature
The portal's last known signature for this document.
format
The DocumentFormat flag indicating the type of retrieval to perform.

Return Value

An implementation of the IDocument interface.

Remarks

In most cases, documentLocation is ChildDocument.Location, except when submitting a remote document, in which case the developer supplies the documentLocation. Keep in mind that IDocumentProvider does not have access to CrawlInfo, so any crawler values required in IDocumentProvider.AttachToDocument should be added to the location string in ChildDocument to be parsed in AttachToDocument.

See Also

IDocumentProvider Interface | Plumtree.Remote.Crawler Namespace | Location