com.plumtree.portalpages.browsing.directory.edit
Class DirEditDP

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.AFormDP
      extended by com.plumtree.portalpages.common.uiparts.PlumtreeDP
          extended by com.plumtree.portalpages.browsing.directory.edit.DirEditDP
All Implemented Interfaces:
IDisplayPage, IMVCObject

public class DirEditDP
extends PlumtreeDP

Author:
StephenC

Field Summary
 java.lang.String HTMLINPUT_CHECK_ALL_FOLDERS
          HTML Input checkbox: Check All
 java.lang.String JAVASCRIPT_CHECK_ALL_FOLDERS
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.portalpages.common.uiparts.PlumtreeDP
JAVASCRIPT_INITIALIZE_EVENTS, m_bAddMainForm, m_nLeftWidth, m_nLeftWidthAlone, m_nRightWidth, m_nRightWidthAlone, m_nTableSpacing
 
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, m_asOwner, MULTIPART_ENCODING, POST
 
Constructor Summary
DirEditDP()
           
 
Method Summary
protected  HTMLScriptCollection DisplayJavaScriptFromChild()
          This is a helper method that all classes that inherit from AFormDP can override if they like.
 java.lang.String GetName()
          Return the name of the MVC object.
protected  boolean GetRepostTypeIsPost()
          Override this method to set the form submission type.
 java.lang.String GetSubtitleForBanner()
          This string will be added as the subtitle in a banner that has a subtitle.
 java.lang.String GetTitleForBanner()
          This string will be added as the title in a banner that has a title.
 void Init(AActivitySpace parent)
          Initialize the Display Page.
 HTMLElement PageDisplay()
          This is a helper method that all classes that inherit from PlumtreeDP need to implement.
 void SetScript(java.lang.String script)
          Set the script that will be added in the header.
 
Methods inherited from class com.plumtree.portalpages.common.uiparts.PlumtreeDP
Display, DisplayBody, DisplayHead, DisplayJavaScriptToHead, DisplayLayout, DisplayLayout, GetAddMainForm, GetBasicJavascript, GetFormTitle, GetInitializeEventsJavaScript, GetMetaRefresh, GetNavScheme, RegisterNavScheme, SetAddMainForm
 
Methods inherited from class com.plumtree.uiinfrastructure.form.AFormDP
AddToValidationFunction, DisplayForm, DisplayHTMLAfterForm, DisplayHTMLBeforeForm, DisplayHTMLinHEAD, DisplayJavascript, Get508RepostURL, GetCloseOnCancel, GetFormPageType, GetOnLoad, GetOwner, GetRepostControlName, 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 static final java.lang.String STR_MVC_CLASS_NAME
See Also:
Constant Field Values

HTMLINPUT_CHECK_ALL_FOLDERS

public final java.lang.String HTMLINPUT_CHECK_ALL_FOLDERS
HTML Input checkbox: Check All

See Also:
Constant Field Values

JAVASCRIPT_CHECK_ALL_FOLDERS

public final java.lang.String JAVASCRIPT_CHECK_ALL_FOLDERS
See Also:
Constant Field Values
Constructor Detail

DirEditDP

public DirEditDP()
Method Detail

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 PlumtreeDP
Returns:
the name of the object.
See Also:
IMVCObject.GetName()

GetSubtitleForBanner

public java.lang.String GetSubtitleForBanner()
Description copied from class: PlumtreeDP
This string will be added as the subtitle in a banner that has a subtitle. For example, if you were on a my page named "Green Page", then return "Green Page" here.

Specified by:
GetSubtitleForBanner in class PlumtreeDP
Returns:
SubHeader
See Also:
PlumtreeDP.GetSubtitleForBanner()

GetTitleForBanner

public java.lang.String GetTitleForBanner()
Description copied from class: PlumtreeDP
This string will be added as the title in a banner that has a title. For example, if this is a my page, return "My Pages" here. If you think you don't need a title, then you need to seriously rethink why you are inheriting from PlumtreeDP. Because the WHOLE POINT of PlumtreeDP is that it has a banner.

Specified by:
GetTitleForBanner in class PlumtreeDP
Returns:
Header
See Also:
PlumtreeDP.GetTitleForBanner()

Init

public void Init(AActivitySpace parent)
Description copied from interface: IDisplayPage
Initialize the Display Page.

Specified by:
Init in interface IDisplayPage
Overrides:
Init in class AFormDP
See Also:
com.plumtree.xpshared.activityspace.IDisplayPage#Init(AActivitySpace)

GetRepostTypeIsPost

protected boolean GetRepostTypeIsPost()
Description copied from class: AFormDP
Override this method to set the form submission type.

Overrides:
GetRepostTypeIsPost in class AFormDP
Returns:
boolean true implies POST, false implies GET

PageDisplay

public HTMLElement PageDisplay()
Description copied from class: PlumtreeDP
This is a helper method that all classes that inherit from PlumtreeDP need to implement. The method should add whatever HTML the child class wants to display to the body argument. The parent class will then add that HTML to the HTMLPage after filling in the banner and navigation.

Specified by:
PageDisplay in class PlumtreeDP
Returns:
HTML of the page
See Also:
com.plumtree.uiinfrastructure.common.AFormDP#PageDisplay()

DisplayJavaScriptFromChild

protected HTMLScriptCollection DisplayJavaScriptFromChild()
This is a helper method that all classes that inherit from AFormDP can override if they like. The method provides a hook into the head so that DP's can add javascript. Simply override and return and HTMLScript. Also, it is best to return the results of the DisplayJavaScript functions from the appropriate views.

Overrides:
DisplayJavaScriptFromChild in class AFormDP
Returns:
HTMLScriptCollection the Javascript from the Child IViews

SetScript

public void SetScript(java.lang.String script)
Set the script that will be added in the header.

Parameters:
script - the script to add before closing



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