com.plumtree.portalpages.browsing.objectselection.communities
Class CommunitySelectionViewHelper

java.lang.Object
  extended by com.plumtree.portalpages.browsing.objectselection.communities.CommunitySelectionViewHelper
All Implemented Interfaces:
IObjectViewHelper

public class CommunitySelectionViewHelper
extends java.lang.Object
implements IObjectViewHelper

Author:
michaeld

Field Summary
static java.lang.String HTMLINPUT_SELECTION_OBJECT
          HTML Input Checkbox
static java.lang.String JAVASCRIPT_OPEN_INVITE
          Javascript Function: openInvite
static java.lang.String JAVASCRIPT_PREVIEW_COMMUNITY
          Javascript Function: previewGadget
static java.lang.String PREVIEW_COMMUNITY_SUBSPACE
          subspace key for preview community
 
Constructor Summary
CommunitySelectionViewHelper()
           
 
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 asOwner)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTMLINPUT_SELECTION_OBJECT

public static final java.lang.String HTMLINPUT_SELECTION_OBJECT
HTML Input Checkbox

See Also:
Constant Field Values

JAVASCRIPT_OPEN_INVITE

public static final java.lang.String JAVASCRIPT_OPEN_INVITE
Javascript Function: openInvite

See Also:
Constant Field Values

JAVASCRIPT_PREVIEW_COMMUNITY

public static final java.lang.String JAVASCRIPT_PREVIEW_COMMUNITY
Javascript Function: previewGadget

See Also:
Constant Field Values

PREVIEW_COMMUNITY_SUBSPACE

public static final java.lang.String PREVIEW_COMMUNITY_SUBSPACE
subspace key for preview community

See Also:
Constant Field Values
Constructor Detail

CommunitySelectionViewHelper

public CommunitySelectionViewHelper()
Method Detail

AddObjectViewHTML

public HTMLElement AddObjectViewHTML(IObjectModelRO model)
Description copied from interface: IObjectViewHelper
Returns additional HTML as an html element for the object view to display.

Specified by:
AddObjectViewHTML in interface IObjectViewHelper
Returns:
HTMLElement
See Also:
com.plumtree.portalpages.common.objects.IObjectViewHelper#AddObjectViewHTML()

GetThereAreNoItemsString

public java.lang.String GetThereAreNoItemsString(AActivitySpace asOwner)
Description copied from interface: IObjectViewHelper
Return the message to display if there are no items. Return an empty string if you want to use the default.

Specified by:
GetThereAreNoItemsString in interface IObjectViewHelper
Returns:
String
See Also:
IObjectViewHelper#GetThereAreNoItemsString(AActivitySpace)

Display508Object

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

Specified by:
Display508Object in interface IObjectViewHelper
Parameters:
nObjectIndex - nObjectIndex
tableObjects - tableObjects
See Also:
IObjectViewHelper.Display508Object(int, HTMLTable, IObjectModelRO, AActivitySpace)

DisplayJavascriptCollection

public HTMLScriptCollection DisplayJavascriptCollection(AActivitySpace asOwner,
                                                        IObjectModelRO model)
Description copied from interface: IObjectViewHelper
Returns the javascript for this view helper.

Specified by:
DisplayJavascriptCollection in interface IObjectViewHelper
Returns:
HTMLScriptCollection
See Also:
com.plumtree.portalpages.common.objects.IObjectViewHelper#DisplayJavascriptCollection(AActivitySpace)

DisplayObject

public void DisplayObject(int nObjectIndex,
                          int nRowIndex,
                          HTMLTable tableObjects,
                          IObjectModelRO model,
                          AActivitySpace asOwner)
Description copied from interface: IObjectViewHelper
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.

Specified by:
DisplayObject in interface IObjectViewHelper
Parameters:
nObjectIndex - nObjectIndex
tableObjects - tableObjects
See Also:
com.plumtree.portalpages.common.objects.IObjectViewHelper#DisplayObject(int, HTMLTable, IObjectModelRO)

SetExpandAnchor

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

Specified by:
SetExpandAnchor in interface IObjectViewHelper
See Also:
com.plumtree.portalpages.common.objects.IObjectViewHelper#SetExpandButton(HTMLAnchor, IObjectModelRO)



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