com.plumtree.portalpages.browsing.editors.userprofile
Class GeneralProfileDP

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.AFormDP
      extended by com.plumtree.uiinfrastructure.editor.EditorDP
          extended by com.plumtree.portalpages.browsing.editors.userprofile.GeneralProfileDP
All Implemented Interfaces:
IDisplayPage, IMVCObject

public class GeneralProfileDP
extends EditorDP

Author:
jennifersu This is the General Profile Display Page that will be used to display all of the Profile Sections. It will retrieve the title and names from the different sections.

Field Summary
 java.lang.String _ui_PageTitle
          object title - it is overridden below
protected  boolean bFirstTimeOnPage
          Flag used to update mandatory page status only the first time the left nav string is retrieved
protected  IPTProfilePage m_profilePage
          This is the IPTProfilePage that is passed in for the first time and contains all the Sections
protected  int m_profilePageIndex
          This is the index of the specific view which contains all the Sections
 java.lang.String STR_MVC_CLASS_NAME
          object name it is overridden below
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorDP
m_asOwner
 
Fields inherited from class com.plumtree.uiinfrastructure.form.AFormDP
GET, HTMLFORM_NAME, JAVASCRIPT_SETUP_FOR_SUBMIT_TO_CONTROL, JAVASCRIPT_SUBMIT_FORM, JAVASCRIPT_SUBMIT_TO_CONTROL, MULTIPART_ENCODING, POST
 
Constructor Summary
GeneralProfileDP(IPTProfilePage profilepage, int index, java.lang.String name, java.lang.String uiName, java.lang.String subHeaderResourceStr)
          We need to have a constructor that takes in the IPTProfilePage object associated with this Display Page.
 
Method Summary
 HTMLElementCollection DisplayHTMLBeforeForm()
          Displays some HTML after the body tag and before the form tag.
 HTMLElementCollection DisplayHTMLinHEAD()
          Returns the HTML that is placed in the HEAD section of this HTML page.
protected  HTMLScriptCollection DisplayJavaScriptFromChild()
          Display the Javascripts for the Views.
protected  HTMLElement GetHTMLBelowSubHeader()
          Implement this method to add HTML below the sub header.
 java.lang.String GetLeftNavString()
          Returns the String to display on the left navigation menu, linking to that page.
 java.lang.String GetName()
          Returns the Class name.
 IPTProfilePage GetProfilePage()
          Returns the Profile Page that contains all of the section and property information.
 int GetProfilePageIndex()
           
 HTMLElement PageDisplay()
          Returns the HTML for the General Info page.
 void UpdateMandatoryPageStatus()
          Dynamically update mandatory page status.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorDP
AddScriptToHead, CreateContentTable, CreateLeftNavBar, GetEditorHeaderViewName, GetFormTitle, GetOwner, GetPageTitle, Init, SetContentTableCellSpacing
 
Methods inherited from class com.plumtree.uiinfrastructure.form.AFormDP
AddToValidationFunction, Display, DisplayForm, DisplayHTMLAfterForm, DisplayJavascript, Get508RepostURL, GetCloseOnCancel, GetFormPageType, GetOnLoad, GetRepostControlName, GetRepostTypeIsPost, GetStatusViewEnabled, GetStatusViewRepostValues, GetUseJavascript, GetWindowFocusEnabled, InsertJavascriptBeforeFormSubmit, PartialContentDisplay, RemoveFromValidationFunction, SetMultiPartEncoding, SetShow508FormFooter, SetStatusViewEnabled, SetStatusViewRepostValues
 
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 java.lang.String STR_MVC_CLASS_NAME
object name it is overridden below


_ui_PageTitle

public java.lang.String _ui_PageTitle
object title - it is overridden below


m_profilePage

protected IPTProfilePage m_profilePage
This is the IPTProfilePage that is passed in for the first time and contains all the Sections


m_profilePageIndex

protected int m_profilePageIndex
This is the index of the specific view which contains all the Sections


bFirstTimeOnPage

protected boolean bFirstTimeOnPage
Flag used to update mandatory page status only the first time the left nav string is retrieved

Constructor Detail

GeneralProfileDP

public GeneralProfileDP(IPTProfilePage profilepage,
                        int index,
                        java.lang.String name,
                        java.lang.String uiName,
                        java.lang.String subHeaderResourceStr)
We need to have a constructor that takes in the IPTProfilePage object associated with this Display Page.

Parameters:
subHeaderResourceStr - The
Method Detail

DisplayHTMLBeforeForm

public HTMLElementCollection DisplayHTMLBeforeForm()
                                            throws HTMLException
Displays some HTML after the body tag and before the form tag. For example this is used by pages using a DHTML calendar to display the div tag. The function is optional. If it exists, it will be called by the framework, and the resulting HTMLElement will be added in the right place.

Overrides:
DisplayHTMLBeforeForm in class EditorDP
Returns:
HTMLElement
Throws:
HTMLException
See Also:
AFormDP.DisplayHTMLBeforeForm()

DisplayHTMLinHEAD

public HTMLElementCollection DisplayHTMLinHEAD()
                                        throws HTMLException
Returns the HTML that is placed in the HEAD section of this HTML page.

Overrides:
DisplayHTMLinHEAD in class AFormDP
Returns:
HTMLElement
Throws:
HTMLException

GetLeftNavString

public java.lang.String GetLeftNavString()
Returns the String to display on the left navigation menu, linking to that page.

Specified by:
GetLeftNavString in class EditorDP
Returns:
String

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorDP
Returns:
String
See Also:
IMVCObject.GetName()

GetHTMLBelowSubHeader

protected HTMLElement GetHTMLBelowSubHeader()
                                     throws HTMLException
Implement this method to add HTML below the sub header.

Overrides:
GetHTMLBelowSubHeader in class EditorDP
Returns:
HTMLElement
Throws:
HTMLException

GetProfilePage

public IPTProfilePage GetProfilePage()
Returns the Profile Page that contains all of the section and property information.

See Also:
IMVCObject.GetName()

GetProfilePageIndex

public int GetProfilePageIndex()
Returns:

UpdateMandatoryPageStatus

public void UpdateMandatoryPageStatus()
Dynamically update mandatory page status. In this case, all of the Profile Sections to see if there are any mandatory properties.


PageDisplay

public HTMLElement PageDisplay()
                        throws HTMLException
Returns the HTML for the General Info page.

Overrides:
PageDisplay in class EditorDP
Returns:
HTMLElement
Throws:
HTMLException
See Also:
com.plumtree.uiinfrastructure.activityspace.AFormDP#PageDisplay(HTMLTableRow)

DisplayJavaScriptFromChild

protected HTMLScriptCollection DisplayJavaScriptFromChild()
                                                   throws HTMLException
Display the Javascripts for the Views.

Overrides:
DisplayJavaScriptFromChild in class EditorDP
Returns:
HTMLScriptCollection
Throws:
HTMLException



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