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

java.lang.Object
  extended by com.plumtree.portalpages.browsing.search.results.SearchResultView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView
Direct Known Subclasses:
DrilldownView, FollowupSearchView, OrganizationView, SearchBannerView, SearchFooterView, SearchSummaryView

public abstract class SearchResultView
extends java.lang.Object
implements IView

Author:
CraigS

Field Summary
protected  ISearchResultModelRO _model
           
protected  AActivitySpace m_asOwner
           
static java.lang.String SPACE
           
static java.lang.String SPACE2
           
static java.lang.String SPACE3
           
static java.lang.String SPACE4
           
 
Constructor Summary
SearchResultView()
           
 
Method Summary
abstract  java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
abstract  HTMLElement DisplaySearchView()
          DisplaySearchView() should be implemented by all subclasses and should perform the same function as the regular Display() method, but is allowed to throw a SearchModelException or an HTMLException.
abstract  java.lang.String GetName()
          Return the name of the MVC object.
 void Init(IModelRO model, AActivitySpace parent)
          This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).
protected  boolean is508()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPACE

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

SPACE2

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

SPACE3

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

SPACE4

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

m_asOwner

protected AActivitySpace m_asOwner

_model

protected ISearchResultModelRO _model
Constructor Detail

SearchResultView

public SearchResultView()
Method Detail

Create

public abstract java.lang.Object Create()
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Returns:
A new instance of the managed class (i.e. return new Foo();)

DisplaySearchView

public abstract HTMLElement DisplaySearchView()
DisplaySearchView() should be implemented by all subclasses and should perform the same function as the regular Display() method, but is allowed to throw a SearchModelException or an HTMLException. SearchModelException indicates a problem with usage of the portalinfrastructure classes, not a problem with the search itself (which are SearchExecutionExceptions; call ISearchResultModelRO.GetError()).


Display

public HTMLElement Display()
Description copied from interface: IView
This method returns the HTMLElement that encompasses the output of the View.

Specified by:
Display in interface IView
See Also:
com.plumtree.portaluiinfrastructure.activityspace.IView#Display()

DisplayJavascript

public HTMLScript DisplayJavascript()
Description copied from interface: IView
This method returns the HTMLScript that encompasses the Javascript on the page. This method should be called by IDisplayPages and the resulting Javascript should be put in the HTMLHead element. This can return null.

Specified by:
DisplayJavascript in interface IView
See Also:
com.plumtree.portaluiinfrastructure.activityspace.IView#DisplayJavascript()

GetName

public abstract java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Returns:

Init

public void Init(IModelRO model,
                 AActivitySpace parent)
Description copied from interface: IView
This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).

Specified by:
Init in interface IView
See Also:
com.plumtree.portaluiinfrastructure.activityspace.IView#Init(IModelRO, AActivitySpace)

is508

protected boolean is508()
Returns:



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