com.plumtree.portalpages.admin.editors.portlet
Class PortletEditorAS

java.lang.Object
  extended by com.plumtree.uiinfrastructure.activityspace.AActivitySpace
      extended by com.plumtree.uiinfrastructure.form.AFormAS
          extended by com.plumtree.uiinfrastructure.editor.EditorAS
              extended by com.plumtree.portaluiinfrastructure.editor.PTEditorAS
                  extended by com.plumtree.portaluiinfrastructure.editor.ObjEditorAS
                      extended by com.plumtree.portalpages.admin.editors.portlet.PortletEditorAS
All Implemented Interfaces:
IManagedObject, IMVCObject, IFormAS, IEnvironment
Direct Known Subclasses:
PortMainPortletEditorAS, PortTempPortletEditorAS

public abstract class PortletEditorAS
extends ObjEditorAS

Author:
adolfoc

Field Summary
static java.lang.String GATEWAY_SUBSPACE
          Subspace key for the gateway subspace
static java.lang.String PEDITORSUBSPACEKEY_PREFIX
           
static java.lang.String PTTREE_SUBSPACE
          Subspace key for the gateway subspace
static java.lang.String Storage_PChooseSelectionView
          StorageKey
static java.lang.String Storage_PortletSettingsView
          StorageKey
static java.lang.String Storage_PSelectTemplateView
          StorageKey
static java.lang.String Storage_SelectWebServiceView
          StorageKey
static java.lang.String Storage_SetAdminPrefsView
          StorageKey
static java.lang.String STR_MVC_CLASS_NAME
          The Object Name of the Remote Server Editor
static java.lang.String WSTREE_SUBSPACE
          Subspace key for the gateway subspace
 
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorAS
JAVASCRIPT_OBJEDITOR_OPEN, SAVEOBJECT_SUBSPACE_KEY, STR_MVC_STORAGE_NAME_KEYWORDS, STR_MVC_STORAGE_NAME_PRIORITY_DROP_DOWN, STR_MVC_STORAGE_NAME_SECURITY_TAB
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorAS
m_mEditorMenu, m_strModelMVCName, m_strModelName
 
Fields inherited from class com.plumtree.uiinfrastructure.form.AFormAS
JAVASCRIPT_GVAR_PTHELPSVRBASEURL, JAVASCRIPT_GVAR_PTIMGSVRIMGSURL, JAVASCRIPT_GVAR_SHAREDIMGSVRIMGSURL
 
Fields inherited from class com.plumtree.uiinfrastructure.activityspace.AActivitySpace
m_stringReferences
 
Constructor Summary
PortletEditorAS()
           
 
Method Summary
 HTMLScriptCollection DisplayCommonJavaScript()
          This is a helper method that all classes that inherit from AFormDP can override if they like.
 java.lang.String GetDependenciesViewName()
          Returns the class name of the Dependencies Section.
 java.lang.String GetEditorTitle()
          Returns the Editor main title.
 java.lang.String GetName()
          This method is used to identify the type of this space.
 java.lang.String GetRepostControlName()
          Returns the class name of the Editor Repost Control.
 PTConstruct GetSubBanner()
          This adds the gadget invitation link to the help banner.
 void Init()
          Registers Views, Controls and Models used by the Editor Framework.
 void SetCurrentPage(IDisplayPage page)
          Set the current page for this AActivitySpace.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorAS
CheckBasicAccess, GetObjectName
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorAS
DeleteSubEditorFromList, GetLeftMenu, GetPreviousPage, GoToSubEditor, SetCurrentPage
 
Methods inherited from class com.plumtree.uiinfrastructure.activityspace.AActivitySpace
ChangeSubSpaceKey, CleanupAllData, CleanupTempData, Create, DeleteSubSpace, GetAccessStyle, GetApplication, GetControl, GetControlExists, GetControlsEnumerator, GetCurrentFormData, GetCurrentHTTPRequest, GetCurrentHTTPResponse, GetCurrentNormalizedBaseURL, GetCurrentPage, GetCurrentRequestURL, GetHelpTopic, GetIsAccessStyleNonStandard, GetIsAccessStyleStandard, GetIsInPlaceRefreshDisplayOn, GetIsInPlaceRefreshEnabled, GetIsSecuredSpace, GetLanguage, GetLocale, GetModel, GetModelExists, GetModelsEnumerator, GetPage, GetPageExists, GetPagesEnumerator, GetParentSpace, GetParentSpaceID, GetParentSpaceName, GetPersistentSubSession, GetResourceManager, GetSpaceID, GetString, GetStyleSheetLinks, GetSubSession, GetSubSpace, GetSubSpaceExists, GetSubSpaceKey, GetSubSpacesEnumerator, GetTimeZone, GetUserSession, GetVarPack, GetView, GetViewExists, GetViewsEnumerator, IsSubSpace, refString, RegisterControl, RegisterControl, RegisterModel, RegisterModel, RegisterPage, RegisterPage, RegisterSubSpace, RegisterView, RegisterView, ReInit, SetApplication, SetCurrentFormData, SetCurrentHTTPRequestResponseObjects, SetCurrentRequestURL, SetHelpTopic, SetIsASSecured, SetIsInPlaceRefreshDisplayOn, SetIsInPlaceRefreshEnabled, SetOverWriteSubSpaces, SetParentSpace, SetPersistentSubSession, SetSpaceID, SetSubSession, SetSubSpaceKey, SetTrackCurrentPage, SetUserSession, unrefString, UnRegisterControl, UnRegisterModel, UnRegisterPage, UnRegisterView
 
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
The Object Name of the Remote Server Editor

See Also:
Constant Field Values

Storage_PChooseSelectionView

public static final java.lang.String Storage_PChooseSelectionView
StorageKey

See Also:
Constant Field Values

Storage_PSelectTemplateView

public static final java.lang.String Storage_PSelectTemplateView
StorageKey

See Also:
Constant Field Values

Storage_PortletSettingsView

public static final java.lang.String Storage_PortletSettingsView
StorageKey

See Also:
Constant Field Values

Storage_SelectWebServiceView

public static final java.lang.String Storage_SelectWebServiceView
StorageKey

See Also:
Constant Field Values

Storage_SetAdminPrefsView

public static final java.lang.String Storage_SetAdminPrefsView
StorageKey

See Also:
Constant Field Values

GATEWAY_SUBSPACE

public static final java.lang.String GATEWAY_SUBSPACE
Subspace key for the gateway subspace

See Also:
Constant Field Values

WSTREE_SUBSPACE

public static final java.lang.String WSTREE_SUBSPACE
Subspace key for the gateway subspace

See Also:
Constant Field Values

PTTREE_SUBSPACE

public static final java.lang.String PTTREE_SUBSPACE
Subspace key for the gateway subspace

See Also:
Constant Field Values

PEDITORSUBSPACEKEY_PREFIX

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

PortletEditorAS

public PortletEditorAS()
Method Detail

DisplayCommonJavaScript

public HTMLScriptCollection DisplayCommonJavaScript()
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.

Specified by:
DisplayCommonJavaScript in interface IFormAS
Overrides:
DisplayCommonJavaScript in class ObjEditorAS
Returns:
HTMLScriptCollection the Javascript from the Child IViews
See Also:
Override this method to Display javascript from child IViews

GetDependenciesViewName

public java.lang.String GetDependenciesViewName()
Description copied from class: ObjEditorAS
Returns the class name of the Dependencies Section. This page will be displayed at the end of the save pop-up. It will inform the user that the Object was successfully created and can also include some intructions on what to do next. Object Editors should override this method if they have their own implementation of ObjDependenciesView.

Overrides:
GetDependenciesViewName in class ObjEditorAS
Returns:
String
See Also:
com.plumtree.portaluiinfrastructure.editor

GetEditorTitle

public java.lang.String GetEditorTitle()
Description copied from class: EditorAS
Returns the Editor main title. It will get printed out in EditorHeaderView.

Specified by:
GetEditorTitle in class EditorAS
Returns:
String
See Also:
EditorAS.GetEditorTitle()

GetSubBanner

public PTConstruct GetSubBanner()
This adds the gadget invitation link to the help banner.

Overrides:
GetSubBanner in class EditorAS
Returns:
PTConstruct

GetName

public java.lang.String GetName()
Description copied from class: AActivitySpace
This method is used to identify the type of this space.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class AFormAS
Returns:
String the name of this AActivitySpace
See Also:
IMVCObject.GetName()

GetRepostControlName

public java.lang.String GetRepostControlName()
Description copied from class: ObjEditorAS
Returns the class name of the Editor Repost Control. Editors should also implement that method and return the name of their own repost control, unless they don't have any. In that case they don't need to implement the method and EditorRepostControl will be used by default.

Specified by:
GetRepostControlName in interface IFormAS
Overrides:
GetRepostControlName in class ObjEditorAS
Returns:
String
See Also:
com.plumtree.uiinfrastructure.form.IRepostAS#GetRepostControlName()

Init

public void Init()
Description copied from class: ObjEditorAS
Registers Views, Controls and Models used by the Editor Framework. Warning: m_myModel must be set before calling Init().

Overrides:
Init in class ObjEditorAS
See Also:
AActivitySpace.Init()

SetCurrentPage

public void SetCurrentPage(IDisplayPage page)
Description copied from class: AActivitySpace
Set the current page for this AActivitySpace. If this AActivitySpace only has one IDisplayPage, the current page will automatically be set to that IDisplayPage. If current page tracking is on (off by default), the Interpeter will set the current page to be the most recently accessed page.

Overrides:
SetCurrentPage in class ObjEditorAS
Parameters:
IDisplayPage - the current Display Page
See Also:
com.plumtree.uiinfrastructure.activityspace.AActivitySpace#SetCurrentPage()



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