com.plumtree.portalpages.common.folder
Class FolderViewHelper

java.lang.Object
  extended by com.plumtree.portalpages.common.folder.FolderViewHelper
All Implemented Interfaces:
IFolderViewHelper

public class FolderViewHelper
extends java.lang.Object
implements IFolderViewHelper

Author:
RupaP DisplayFolder writes out one folder to the given table cell and returns a reference to the next folder in the query result to display. In this implementation, folders of all levels will be displayed. The reference is incremented by 1 until the last folder in the query result has been displayed.

Field Summary
static java.lang.String QS_CHECKBOX
           
 
Constructor Summary
FolderViewHelper()
           
 
Method Summary
 int DisplayFolder(int nFolderQueryIndex, HTMLTableCell tableCell, IFolderModelRO model, AActivitySpace space)
          Displays one folder and any related items.
 void SetControlName(java.lang.String strControlName)
           
 void SetupAnchorToOpenFolder(HTMLAnchor _anchor, int _nFolderID, IFolderModelRO _model, AActivitySpace _space)
          SetupAnchorToOpenFolder.
 
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

FolderViewHelper

public FolderViewHelper()
Method Detail

DisplayFolder

public int DisplayFolder(int nFolderQueryIndex,
                         HTMLTableCell tableCell,
                         IFolderModelRO model,
                         AActivitySpace space)
Description copied from interface: IFolderViewHelper
Displays one folder and any related items.

Specified by:
DisplayFolder in interface IFolderViewHelper
Parameters:
nFolderQueryIndex - the index of the subfolder to be displayed
tableCell - the table to add the folder view to
model - passes the current state of the opened folder
space - current activity space
Returns:
the next Folder Index to display.
See Also:
com.plumtree.portalpages.common.folder.IFolderViewHelper#DisplayObject(int, HTMLTableCell, IFolderModelRO)

SetControlName

public void SetControlName(java.lang.String strControlName)
Parameters:
strControlName -

SetupAnchorToOpenFolder

public void SetupAnchorToOpenFolder(HTMLAnchor _anchor,
                                    int _nFolderID,
                                    IFolderModelRO _model,
                                    AActivitySpace _space)
Description copied from interface: IFolderViewHelper
SetupAnchorToOpenFolder. Sets up the anchor to open the folder with the given id.

Specified by:
SetupAnchorToOpenFolder in interface IFolderViewHelper



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