net.firstpartners.rp.plugins.events
Interface IInterestedInResultsFilter

All Superinterfaces:
IPlugin
All Known Implementing Classes:
BasicIntelligence

public interface IInterestedInResultsFilter
extends IPlugin

Implemented by a plugin to mark if it is interested in filtering results. Give the sytstem the ability to decide which results to show to users.

Author:
brownpa

Method Summary
 ISearchResult filterAndSortSearchResults(ISearchResult someInfo)
          Gives the class a chance to update
 int preferredFilterOrder()
          What order we prefer the filter to be called in.
 
Methods inherited from interface net.firstpartners.rp.plugins.IPlugin
onLoad
 

Method Detail

filterAndSortSearchResults

ISearchResult filterAndSortSearchResults(ISearchResult someInfo)
                                         throws RpException
Gives the class a chance to update

Parameters:
someInfo -
Returns:
ISearchResult object
Throws:
RpException - Error occur in adding the information

preferredFilterOrder

int preferredFilterOrder()
                         throws RpException
What order we prefer the filter to be called in. lower number = filter first

Returns:
int with the preferred filter order
Throws:
RpException - Error occur in adding the information