Plumtree Portal UI  
 

IObjectTreeModel.SetQueryFilter Method (Int32, Int32, String[])

This method sets a filter on a specific class. This is used for things like distinguishing gadgets from gadget templates (which share the same classID). Hiding objects should be done with the ClassIDsToHide QS argument. This can only be called for filtering on data source or web service provider clsids. This will create a Query Filter as follows: [0][0] will be equal to nPropID [1][0] will be equal to PT_FILTEROPS.PT_FILTEROP_IN [2][0] will be equal to nValues Filters will only be applied to objects of type nClassID. This must be called after SetAccessLevel() and SetClassIDsToDisplay().

void SetQueryFilter(
   int nClassID,
   int nPropID,
   string[] sValues
);

Parameters

nClassID
nPropID
sValues

See Also

IObjectTreeModel Interface | com.plumtree.portaluiinfrastructure.tree Namespace | IObjectTreeModel.SetQueryFilter Overload List