com.plumtree.portaluiinfrastructure.search
Class BreadcrumbControl
java.lang.Object
com.plumtree.portaluiinfrastructure.search.SearchResultControl
com.plumtree.portaluiinfrastructure.search.BreadcrumbControl
- All Implemented Interfaces:
- IControl, IManagedObject, IMVCObject
public class BreadcrumbControl
- 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 keyOnPage)
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 HTMLElement |
makeURL(ISearchResultModelRO model,
AActivitySpace parent,
java.lang.String urlText,
java.lang.String key)
Factory method to make a breadcrumb link for search results. |
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
KEY_OF_MODEL_TO_RESTORE_DATA
public static final java.lang.String KEY_OF_MODEL_TO_RESTORE_DATA
- See Also:
- Constant Field Values
BreadcrumbControl
public BreadcrumbControl()
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 HTMLElement makeURL(ISearchResultModelRO model,
AActivitySpace parent,
java.lang.String urlText,
java.lang.String key)
- Factory method to make a breadcrumb link for search results.
- Parameters:
model
- Current batch of search resultsparent
- ActivitySpace we're living inurlText
- Desired text within URLkey
- Key of model to display
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 keyOnPage)
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()