com.plumtree.portaluiinfrastructure.search
Class TypeFilterControl
java.lang.Object
com.plumtree.portaluiinfrastructure.search.SearchResultControl
com.plumtree.portaluiinfrastructure.search.TypeFilterControl
- All Implemented Interfaces:
- IControl, IManagedObject, IMVCObject
public class TypeFilterControl
- extends SearchResultControl
- Author:
- CraigS
Method Summary |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed
objects. |
protected Redirect |
ExecuteSearchControl(XPHashtable args,
java.lang.String key)
Execute method that subclasses should implement; unlike Execute()
it's allowed to throw a SearchExecutionException. |
java.lang.String |
GetName()
Return the name of the MVC object. |
static ILinkElement |
makeURL(ISearchResultModelRO model,
AActivitySpace parent)
Factory method to make a drilldown link. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STR_MVC_CLASS_NAME
public static final java.lang.String STR_MVC_CLASS_NAME
- See Also:
- Constant Field Values
FILTER_DATA
public static final java.lang.String FILTER_DATA
- See Also:
- Constant Field Values
TypeFilterControl
public TypeFilterControl()
GetName
public java.lang.String GetName()
- Description copied from interface:
IMVCObject
- Return the name of the MVC object.
- Specified by:
GetName
in interface IMVCObject
- Specified by:
GetName
in class SearchResultControl
- Returns:
- the name of the object.
- See Also:
com.plumtree.portaluiinfrastructure.activityspace.IControl#GetName()
makeURL
public static ILinkElement makeURL(ISearchResultModelRO model,
AActivitySpace parent)
- Factory method to make a drilldown link.
- Parameters:
model
- Current batch of search resultslinkText
- Desired link textcategory
- Desired category to drill down into
Create
public java.lang.Object Create()
- Description copied from class:
SearchResultControl
- This method is used by the ASManager to return new instances of managed
objects.
- Specified by:
Create
in interface IManagedObject
- Specified by:
Create
in class SearchResultControl
- Returns:
- A new instance of the managed class (i.e. return new Foo();)
- See Also:
IManagedObject.Create()
ExecuteSearchControl
protected Redirect ExecuteSearchControl(XPHashtable args,
java.lang.String key)
throws SearchExecutionException
- Description copied from class:
SearchResultControl
- Execute method that subclasses should implement; unlike Execute()
it's allowed to throw a SearchExecutionException. The key argument
indicates the page on which this control's URL was located; this
lets us handle the case where the user hits BACK before clicking
on something, and (for example) drills down into a different set
of categories than the set being displayed on the current page.
- Specified by:
ExecuteSearchControl
in class SearchResultControl
- Throws:
SearchExecutionException
- See Also:
com.plumtree.portalpages.search.SearchResultControl#ExecuteSearchControl()