WebCenter Interaction API  
 

IPTFederatedSearchAgent Members

IPTFederatedSearchAgent overview

Public Instance Methods

public methodDoBasicSearch Run a search against this portal. Call Initialize() before calling this method. After this method has been called, call the various Get methods to obtain information about the results.
public methodGetCardImageURL Returns a URL for an icon associated with a particular result's type.
public methodGetDocumentURL Returns an URL that may be used to open the document corresponding to a search result.
public methodGetFieldsAsDouble Returns the value of a single field (property) of type double in a single search result.
public methodGetFieldsAsInt Returns the value of a single field (property) of type int in a single search result.
public methodGetFieldsAsObject Returns the value of a single field (property) in a single search result. Actual underlying result type depends on the property type.
public methodGetFieldsAsString Returns the value of a single field (property) of type String in a single search result.
public methodGetFieldsAsXPDateTime Returns the value of a single field (property) of date type in a single search result. Note that there is special-case behavior for the OBJECTCREATED and OBJECTLASTMODIFIED properties - although the portal considers these to be date properties, search actually returns them as Double instead, so call GetFieldsAsDouble. The method SearchResultModel.ConvertSearchDateTimeToXPDateTime converts this double to an XPDateTime (or see the Search Developer's Guide for code).
public methodGetMatchesReturned Get the number of results returned. This is NOT the same as the total number of matches for the query (see GetTotalMatches() for that); this is the number of items for which complete information was returned. (If the UI says "Results 1-10 of 123", this method returns 10.)
public methodGetTotalMatches Get the total number of matches for the query. Not all of these are necessarily returned; call GetResultsReturned() for that. If the UI says "Results 1-10 of 123", this method returns 123.
public methodInitialize Initializes object. Call this method first, before DoBasicSearch.

See Also

IPTFederatedSearchAgent Interface | com.plumtree.server Namespace