Plumtree Portal UI  
 

SearchFormFactory.AddFilterStatement Method 

Add an advanced search-style filter to the search form. For example: factory.AddFilterStatement(PT_INTRINSICS.PT_PROPERTY_PROVIDERCLSID, PT_FILTEROPS.PT_FILTEROP_CONTAINS, "61266621"); This will add a filter for things with a provider classid that contains "61266621". Note that you can make multiple calls to this method to produce a set of filter statements. The default is for these to be 'and-ed' together, but you can change that by calling SetFilterClauseOperator. You should call this before calling GetForm.

public virtual void AddFilterStatement(
   int operand,
   int operatorId,
   string value
);

Parameters

operand
Any integer property id
operatorId
Something from PT_FILTEROPS
value
A string value.

Exceptions

Exception Type Condition
HTMLException

See Also

SearchFormFactory Class | com.plumtree.portaluiinfrastructure.search Namespace