com.plumtree.portalpages.browsing.directory.edit
Class EditDocViewHelper

java.lang.Object
  extended by com.plumtree.portalpages.browsing.directory.edit.EditDocViewHelper
All Implemented Interfaces:
IObjectViewHelper

public class EditDocViewHelper
extends java.lang.Object
implements IObjectViewHelper

Displays a document item in Edit Mode.

Author:
StephenC

Field Summary
static java.lang.String QS_CHECKBOX
           
 
Constructor Summary
EditDocViewHelper()
           
 
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

QS_CHECKBOX

public static final java.lang.String QS_CHECKBOX
See Also:
Constant Field Values
Constructor Detail

EditDocViewHelper

public EditDocViewHelper()
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()

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)

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)

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)
Displays the object at the given index in the query result. This must be overridden by all subclasses.

Specified by:
DisplayObject in interface IObjectViewHelper
Parameters:
nObjectIndex -
tableObjects -
model -
asOwner -

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.