com.plumtree.portalpages.admin.editors.webservice
Class WSPluginDP

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.AFormDP
      extended by com.plumtree.uiinfrastructure.editor.EditorDP
          extended by com.plumtree.portalpages.admin.editors.webservice.WSPluginDP
All Implemented Interfaces:
IDisplayPage, IMVCObject
Direct Known Subclasses:
AdvSettingsDP, AdvSpaceSettingsDP, AdvURLSettingsDP, AssocObjectsDP, AuthenticationDP, DebugDP, DevicesDP, HTTPConfigDP, MainDP, ParameterMappingDP, PrefsDP, UserInfoDP

public abstract class WSPluginDP
extends EditorDP

Author:
adolfoc This class is used to automatically identify and display the appropriate views based on the list of views in the WebServiceModel This should help avoid mistakes with forgetting to display javascript and missing spacers, etc.

Field Summary
 
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
WSPluginDP()
           
 
Method Summary
protected  HTMLScriptCollection DisplayJavaScriptFromChild()
          Display the Javascripts for the Views.
abstract  XPArrayList GetAllPossibleViews()
          Returns a list of all of the possible views this page can show.
abstract  XPArrayList GetOrderedViewList(int nWSMode)
          Returns an ordered list of the views for this page, in this mode.
abstract  java.lang.String GetPluginHelpTopic()
          Returns the name of the Help Topic to be used for this page.
 void InitPluginDP()
           
 boolean IsEnabled(int nWSMode, java.lang.String strViewName)
          Determines whether a specific view is enabled in the suggested mode.
 HTMLElement PageDisplay()
          Returns the HTML for that Page.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorDP
AddScriptToHead, CreateContentTable, CreateLeftNavBar, DisplayHTMLBeforeForm, GetEditorHeaderViewName, GetFormTitle, GetHTMLBelowSubHeader, GetLeftNavString, GetName, GetOwner, GetPageTitle, Init, SetContentTableCellSpacing
 
Methods inherited from class com.plumtree.uiinfrastructure.form.AFormDP
AddToValidationFunction, Display, DisplayForm, DisplayHTMLAfterForm, DisplayHTMLinHEAD, 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
 

Constructor Detail

WSPluginDP

public WSPluginDP()
Method Detail

GetPluginHelpTopic

public abstract java.lang.String GetPluginHelpTopic()
Returns the name of the Help Topic to be used for this page.

Returns:

GetAllPossibleViews

public abstract XPArrayList GetAllPossibleViews()
Returns a list of all of the possible views this page can show. (Used to generate javascript for each view).


GetOrderedViewList

public abstract XPArrayList GetOrderedViewList(int nWSMode)
Returns an ordered list of the views for this page, in this mode.


InitPluginDP

public void InitPluginDP()

IsEnabled

public boolean IsEnabled(int nWSMode,
                         java.lang.String strViewName)
Determines whether a specific view is enabled in the suggested mode.


PageDisplay

public HTMLElement PageDisplay()
Description copied from class: EditorDP
Returns the HTML for that Page.

Overrides:
PageDisplay in class EditorDP
Returns:
HTMLElement
See Also:
AFormDP.PageDisplay()

DisplayJavaScriptFromChild

protected HTMLScriptCollection DisplayJavaScriptFromChild()
Description copied from class: EditorDP
Display the Javascripts for the Views.

Overrides:
DisplayJavaScriptFromChild in class EditorDP
Returns:
HTMLScriptCollection
See Also:
AFormDP.DisplayJavaScriptFromChild()



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