com.plumtree.portalpages.admin.editors.webservice.plugins
Class IntrinsicUserPrefsPluginView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.portalpages.admin.editors.webservice.plugins.IntrinsicUserPrefsPluginView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class IntrinsicUserPrefsPluginView
extends EditorView

This plugin view is used to show user, community, and admin preference spaces. The model will determine what type of preference should be shown.

Author:
josephc

Field Summary
static java.lang.String HTMLINPUT_ADMIN_PREFS_SPACE
          Input for admin portlet preferences space
static java.lang.String HTMLINPUT_COMMUNITY_PREFS_SPACE
          Input for community portlet preferences space
static java.lang.String HTMLINPUT_TEMPLT_ADMIN_PREFS_SPACE
          Input for admin portlet template preferences space
static java.lang.String HTMLINPUT_USER_PREFS_SPACE
          Input for user portlet preferences space
static java.lang.String STR_MVC_CLASS_NAME
          Class name for IntrinsicUserPrefsPluginView
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
IntrinsicUserPrefsPluginView()
           
 
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.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
 HTMLTable GetDisplayAsTable()
          This method is called by Display() to display the HTML for entering the activity space of the portlet preferences.
 java.lang.String GetName()
          Returns the Class name.
 void Init(IModelRO model, AActivitySpace parent)
          Inits the View with the read-only Model and the Activity Space.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable
 
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
Class name for IntrinsicUserPrefsPluginView

See Also:
Constant Field Values

HTMLINPUT_USER_PREFS_SPACE

public static final java.lang.String HTMLINPUT_USER_PREFS_SPACE
Input for user portlet preferences space

See Also:
Constant Field Values

HTMLINPUT_COMMUNITY_PREFS_SPACE

public static final java.lang.String HTMLINPUT_COMMUNITY_PREFS_SPACE
Input for community portlet preferences space

See Also:
Constant Field Values

HTMLINPUT_ADMIN_PREFS_SPACE

public static final java.lang.String HTMLINPUT_ADMIN_PREFS_SPACE
Input for admin portlet preferences space

See Also:
Constant Field Values

HTMLINPUT_TEMPLT_ADMIN_PREFS_SPACE

public static final java.lang.String HTMLINPUT_TEMPLT_ADMIN_PREFS_SPACE
Input for admin portlet template preferences space

See Also:
Constant Field Values
Constructor Detail

IntrinsicUserPrefsPluginView

public IntrinsicUserPrefsPluginView()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorView
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 EditorView
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: EditorView
This method returns the HTMLElement that encompasses the output of the View.

Specified by:
Display in interface IView
Specified by:
Display in class EditorView
Returns:
HTMLElement
See Also:
IView.Display()

DisplayJavascript

public HTMLScript DisplayJavascript()
Description copied from class: EditorView
This method returns the HTMLScript that encompasses the Javascript on the page.

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

GetDisplayAsTable

public HTMLTable GetDisplayAsTable()
This method is called by Display() to display the HTML for entering the activity space of the portlet preferences.

Returns:
HTML for portlet preferences.
Throws:
XPException - Throws exception if HTML could not be generated.

GetName

public java.lang.String GetName()
Description copied from class: EditorView
Returns the Class name.

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

Init

public void Init(IModelRO model,
                 AActivitySpace parent)
Description copied from class: EditorView
Inits the View with the read-only Model and the Activity Space.

Specified by:
Init in interface IView
Overrides:
Init in class EditorView
See Also:
IView.Init(IModelRO, AActivitySpace)



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