com.plumtree.portalpages.common.objects
Interface IObjectViewHelper

All Known Implementing Classes:
BrowseDocViewHelper, BrowseDocViewHelper_D, BundleSelectionViewHelper, CommunitySelectionViewHelper, EditDocViewHelper, MembersViewHelper, ObjMgrViewHelper, PortletSelectionViewHelper, SiteMapLinkViewHelper, SubCommunitiesViewHelper

public interface IObjectViewHelper

Author:
michaeld

Method Summary
 HTMLElement AddObjectViewHTML(IObjectModelRO model)
          Returns additional HTML as an html element for the object view to display.
 void Display508Object(int nObjectIndex, HTMLTable tableObjects, IObjectModelRO model, AActivitySpace parent)
          Displays the object in 508 mode at the given index in the query result.
 HTMLScriptCollection DisplayJavascriptCollection(AActivitySpace asOwner, IObjectModelRO model)
          Returns the javascript for this view helper.
 void DisplayObject(int nObjectIndex, int nRowIndex, HTMLTable tableObjects, IObjectModelRO model, AActivitySpace parent)
          Displays the object at the given index in the query result.
 java.lang.String GetThereAreNoItemsString(AActivitySpace asOwner)
          Return the message to display if there are no items.
 void SetExpandAnchor(HTMLAnchor anchor, IObjectModelRO model)
          This method is called by the ObjectView to fill out the anchor for the expand / collapse links on the object view header.
 

Method Detail

AddObjectViewHTML

HTMLElement AddObjectViewHTML(IObjectModelRO model)
Returns additional HTML as an html element for the object view to display.

Parameters:
model -
Returns:
HTMLElement

Display508Object

void Display508Object(int nObjectIndex,
                      HTMLTable tableObjects,
                      IObjectModelRO model,
                      AActivitySpace parent)
Displays the object in 508 mode at the given index in the query result. This must be overridden by all subclasses.

Parameters:
nObjectIndex - nObjectIndex
tableObjects - tableObjects
model -

DisplayJavascriptCollection

HTMLScriptCollection DisplayJavascriptCollection(AActivitySpace asOwner,
                                                 IObjectModelRO model)
Returns the javascript for this view helper.

Parameters:
asOwner -
model -
Returns:
HTMLScriptCollection

DisplayObject

void DisplayObject(int nObjectIndex,
                   int nRowIndex,
                   HTMLTable tableObjects,
                   IObjectModelRO model,
                   AActivitySpace parent)
Displays the object at the given index in the query result. This must be overridden by all subclasses. nRowIndex is used to determine which StyleClass to use.

Parameters:
nObjectIndex - nObjectIndex
nObjectIndex - nRowIndex
tableObjects - tableObjects
model -

SetExpandAnchor

void SetExpandAnchor(HTMLAnchor anchor,
                     IObjectModelRO model)
This method is called by the ObjectView to fill out the anchor for the expand / collapse links on the object view header.

Parameters:
HTMLAnchor - the anchor to be filled out.
IObjectModelRO - the model

GetThereAreNoItemsString

java.lang.String GetThereAreNoItemsString(AActivitySpace asOwner)
Return the message to display if there are no items. Return an empty string if you want to use the default.

Returns:
String



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