com.plumtree.portalpages.browsing.directory
Class DirFolderViewHelper

java.lang.Object
  extended by com.plumtree.portalpages.browsing.directory.DirFolderViewHelper
All Implemented Interfaces:
IFolderViewHelper

public class DirFolderViewHelper
extends java.lang.Object
implements IFolderViewHelper

this function writes out one folder and its sub-folders in a small table. ptqrFolders should be a two-level folder query with default ordering (so that the subfolders of a folder are always right after the parent). intQueryIndex should be an index in ptqrFolders which corresponds to a parent folder. intQueryIndex will be changed into the index in ptqrFolders of the next parent folder. -sra. The folder link uses cached Directory activity space.

Author:
StephenC

Field Summary
static java.lang.String QS_CHECKBOX
           
 
Constructor Summary
DirFolderViewHelper()
           
 
Method Summary
 int DisplayFolder(int nIndexRef, HTMLTableCell tableCell, IFolderModelRO model, AActivitySpace space)
          Displays one folder and any related items.
 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

DirFolderViewHelper

public DirFolderViewHelper()
Method Detail

DisplayFolder

public int DisplayFolder(int nIndexRef,
                         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:
nIndexRef - 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)

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.