com.plumtree.portalpages.common.folder
Class FolderView

java.lang.Object
  extended by com.plumtree.portalpages.common.folder.FolderView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class FolderView
extends java.lang.Object
implements IView

Author:
RupaP

Field Summary
protected  IFolderModelRO m_asModel
          Client-specific variables
protected  AActivitySpace m_asOwner
           
 boolean m_bShowNoFolderMessage
          For SiteMap Folder
protected  IFolderViewHelper m_folderViewHelper
           
static java.lang.String STR_MVC_CLASS_NAME
          name of this object
 
Constructor Summary
FolderView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
protected  void DisplayBanner(HTMLElementCollection group)
          **Override this method in a subclass if you need to do one of the following: ** - Display a different banner type - Add custom buttons
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
 java.lang.String GetName()
          Return the name of the MVC object.
 void Init(IModelRO model, AActivitySpace parent)
          This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).
 void SetShowNoFolderMessage(boolean _bShowMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
name of this object

See Also:
Constant Field Values

m_bShowNoFolderMessage

public boolean m_bShowNoFolderMessage
For SiteMap Folder


m_asOwner

protected AActivitySpace m_asOwner

m_asModel

protected IFolderModelRO m_asModel
Client-specific variables


m_folderViewHelper

protected IFolderViewHelper m_folderViewHelper
Constructor Detail

FolderView

public FolderView()
Method Detail

Create

public java.lang.Object Create()
Description copied from interface: IManagedObject
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

Display

public HTMLElement Display()
Description copied from interface: IView
This method returns the HTMLElement that encompasses the output of the View.

Specified by:
Display in interface IView
See Also:
com.plumtree.xpshared.activityspace.IView#display()

DisplayJavascript

public HTMLScript DisplayJavascript()
This method returns the HTMLScript that encompasses the Javascript on the page.

Specified by:
DisplayJavascript in interface IView
Returns:
HTMLScript
See Also:
IView.DisplayJavascript()

GetName

public java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Returns:
the name of the object.
See Also:
com.plumtree.xpshared.activityspace.IView#GetName()

Init

public void Init(IModelRO model,
                 AActivitySpace parent)
Description copied from interface: IView
This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).

Specified by:
Init in interface IView
See Also:
com.plumtree.xpshared.activityspace.IView#Init(IModel, AActivitySpace)

SetShowNoFolderMessage

public void SetShowNoFolderMessage(boolean _bShowMessage)
Parameters:
_bShowMessage -

DisplayBanner

protected void DisplayBanner(HTMLElementCollection group)
**Override this method in a subclass if you need to do one of the following: ** - Display a different banner type - Add custom buttons

Parameters:
group - the folder view element collection



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