com.plumtree.portalpages.portlets.headerfooter
Class StandardHeaderView

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletView
      extended by com.plumtree.portalpages.portlets.headerfooter.StandardHeaderView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class StandardHeaderView
extends IntrinsicPortletView
implements IView

An intrinsic portlet that wraps the DefaultHeaderView. Assigned to the default Experience Definition.

Author:
DavidP

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          MVC Name
 
Fields inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletView
INTRINSIC_PORTLET_HTMLFORM_NAME, INTRINSIC_PORTLET_JAVASCRIPT_SUBMIT_FORM, m_bAddFormToPortlet, m_bMultiPart
 
Constructor Summary
StandardHeaderView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          This is called by the MyPortalContentView, which aggregates all the intrinsic portlet views.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
 HTMLElement DisplayPortlet()
          Displays the HTML for the portlet.
 java.lang.String DisplayPortletWML()
          Displays the WML for the portlet.
 java.lang.String GetName()
          Return the name of the MVC object.
 void Init(IModelRO model, AActivitySpace parent)
          Inits the Section with the read-only Model and the Activity Space.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletView
DisplayWML
 
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
MVC Name

See Also:
Constant Field Values
Constructor Detail

StandardHeaderView

public StandardHeaderView()
Method Detail

Create

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

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

Display

public HTMLElement Display()
Description copied from class: IntrinsicPortletView
This is called by the MyPortalContentView, which aggregates all the intrinsic portlet views. This method calls DisplayPortlet() in order to generate the HTML specific to the portlet. If a form is required, then the HTML returned from DisplayPortlet() is put into a form.

Specified by:
Display in interface IView
Overrides:
Display in class IntrinsicPortletView
Returns:
HTMLElement
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
Overrides:
DisplayJavascript in class IntrinsicPortletView
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
Specified by:
GetName in class IntrinsicPortletView
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 class: IntrinsicPortletView
Inits the Section with the read-only Model and the Activity Space.

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

DisplayPortlet

public HTMLElement DisplayPortlet()
Displays the HTML for the portlet. The child classes must implement this function. This function is called by Display().

Specified by:
DisplayPortlet in class IntrinsicPortletView
Returns:
HTML for portlet

DisplayPortletWML

public java.lang.String DisplayPortletWML()
Displays the WML for the portlet. The child classes must implement this function. This function is called by DisplayWML().

Specified by:
DisplayPortletWML in class IntrinsicPortletView
Returns:
WML for portlet



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