com.plumtree.portalpages.browsing.search.results
Class SearchResultDP

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.AFormDP
      extended by com.plumtree.portalpages.common.uiparts.PlumtreeDP
          extended by com.plumtree.portalpages.browsing.search.results.SearchResultDP
All Implemented Interfaces:
IDisplayPage, IMVCObject

public class SearchResultDP
extends PlumtreeDP

Author:
CraigS

Field Summary
protected  SearchPageModeHelper _pageMode
           
static java.lang.String HTML_FORM_NAME
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.portalpages.common.uiparts.PlumtreeDP
JAVASCRIPT_INITIALIZE_EVENTS, m_bAddMainForm, m_nLeftWidth, m_nLeftWidthAlone, m_nRightWidth, m_nRightWidthAlone, m_nTableSpacing
 
Fields inherited from class com.plumtree.uiinfrastructure.form.AFormDP
GET, HTMLFORM_NAME, JAVASCRIPT_SETUP_FOR_SUBMIT_TO_CONTROL, JAVASCRIPT_SUBMIT_FORM, JAVASCRIPT_SUBMIT_TO_CONTROL, m_asOwner, MULTIPART_ENCODING, POST
 
Constructor Summary
SearchResultDP()
           
 
Method Summary
protected  HTMLScriptCollection DisplayDelayedJavaScriptFromChild()
           
protected  HTMLScriptCollection DisplayJavaScriptFromChild()
          This is a helper method that all classes that inherit from AFormDP can override if they like.
 java.lang.String GetName()
          Return the name of the MVC object.
 java.lang.String GetSubtitleForBanner()
          This string will be added as the subtitle in a banner that has a subtitle.
 java.lang.String GetTitleForBanner()
          This string will be added as the title in a banner that has a title.
 HTMLElement PageDisplay()
          This is a helper method that all classes that inherit from PlumtreeDP need to implement.
 void SetPageModeHelper(SearchPageModeHelper pageMode)
           
 
Methods inherited from class com.plumtree.portalpages.common.uiparts.PlumtreeDP
Display, DisplayBody, DisplayHead, DisplayJavaScriptToHead, DisplayLayout, DisplayLayout, GetAddMainForm, GetBasicJavascript, GetFormTitle, GetInitializeEventsJavaScript, GetMetaRefresh, GetNavScheme, RegisterNavScheme, SetAddMainForm
 
Methods inherited from class com.plumtree.uiinfrastructure.form.AFormDP
AddToValidationFunction, DisplayForm, DisplayHTMLAfterForm, DisplayHTMLBeforeForm, DisplayHTMLinHEAD, DisplayJavascript, Get508RepostURL, GetCloseOnCancel, GetFormPageType, GetOnLoad, GetOwner, GetRepostControlName, GetRepostTypeIsPost, GetStatusViewEnabled, GetStatusViewRepostValues, GetUseJavascript, GetWindowFocusEnabled, Init, InsertJavascriptBeforeFormSubmit, PartialContentDisplay, RemoveFromValidationFunction, SetMultiPartEncoding, SetShow508FormFooter, SetStatusViewEnabled, SetStatusViewRepostValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
See Also:
Constant Field Values

HTML_FORM_NAME

public static final java.lang.String HTML_FORM_NAME
See Also:
Constant Field Values

_pageMode

protected SearchPageModeHelper _pageMode
Constructor Detail

SearchResultDP

public SearchResultDP()
Method Detail

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 PlumtreeDP
Returns:
the name of the object.
See Also:
com.plumtree.portaluiinfrastructure.activityspace.IDisplayPage#GetName()

SetPageModeHelper

public void SetPageModeHelper(SearchPageModeHelper pageMode)

GetSubtitleForBanner

public java.lang.String GetSubtitleForBanner()
Description copied from class: PlumtreeDP
This string will be added as the subtitle in a banner that has a subtitle. For example, if you were on a my page named "Green Page", then return "Green Page" here.

Specified by:
GetSubtitleForBanner in class PlumtreeDP
Returns:
SubHeader
See Also:
PlumtreeDP.GetSubtitleForBanner()

GetTitleForBanner

public java.lang.String GetTitleForBanner()
Description copied from class: PlumtreeDP
This string will be added as the title in a banner that has a title. For example, if this is a my page, return "My Pages" here. If you think you don't need a title, then you need to seriously rethink why you are inheriting from PlumtreeDP. Because the WHOLE POINT of PlumtreeDP is that it has a banner.

Specified by:
GetTitleForBanner in class PlumtreeDP
Returns:
Header
See Also:
PlumtreeDP.GetTitleForBanner()

PageDisplay

public HTMLElement PageDisplay()
Description copied from class: PlumtreeDP
This is a helper method that all classes that inherit from PlumtreeDP need to implement. The method should add whatever HTML the child class wants to display to the body argument. The parent class will then add that HTML to the HTMLPage after filling in the banner and navigation.

Specified by:
PageDisplay in class PlumtreeDP
Returns:
HTML of the page
See Also:
PlumtreeDP.PageDisplay()

DisplayDelayedJavaScriptFromChild

protected HTMLScriptCollection DisplayDelayedJavaScriptFromChild()

DisplayJavaScriptFromChild

protected HTMLScriptCollection DisplayJavaScriptFromChild()
Description copied from class: AFormDP
This is a helper method that all classes that inherit from AFormDP can override if they like. The method provides a hook into the head so that DP's can add javascript. Simply override and return and HTMLScript. Also, it is best to return the results of the DisplayJavaScript functions from the appropriate views. Override this method to Display javascript from child IViews

Overrides:
DisplayJavaScriptFromChild in class AFormDP
Returns:
HTMLScriptCollection the Javascript from the Child IViews



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.