com.plumtree.portalpages.admin.editors.userprofilemanager
Class UsrProfMgrEditorAS

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.userprofilemanager.UsrProfMgrEditorAS
All Implemented Interfaces:
IManagedObject, IMVCObject, IFormAS, IEnvironment

public class UsrProfMgrEditorAS
extends ObjEditorAS

Author:
JHQ, jennifersu The main activity space for the user profile manager. It registers the classes for the user profile 'community', and the user information property map.

Field Summary
static java.lang.String POPUP_KEY
          pop up constants used for keying pop up display pages
static java.lang.String RENAME_KEY
           
static java.lang.String STR_MVC_CLASS_NAME
          object name
 
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
UsrProfMgrEditorAS()
           
 
Method Summary
 boolean CheckBasicAccess(java.lang.String strPage, java.lang.String strControl, boolean bSameSpace)
          This method is called by the Interpreter at the beginning of every HTTP request to determine whether or not the current user has the security privileges necessary to view the requested page.
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 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()
          Sets the Editor title.
 java.lang.String GetName()
          Returns the Class name.
 java.lang.String GetRepostControlName()
          Returns the class name of the Repost Control.
 void Init()
          Registers all the classes for this Activity Space.
 void InitClosePopup()
          Registers all the classes for this Activity Space.
 void InitProfileCommunityObjects(int _subMenuID)
          Registers all the user profile community classes for this Activity Space.
 void InitTips()
          Registers all the classes for this Activity Space.
 void InitUserInfoPropMapObjects(int _subMenuID)
          Registers all the user info property map classes for this Activity Space.
 void SetCurrentPage(IDisplayPage page)
          Set the current page for this AActivitySpace.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorAS
GetObjectName
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorAS
DeleteSubEditorFromList, GetLeftMenu, GetPreviousPage, GetSubBanner, GoToSubEditor, SetCurrentPage
 
Methods inherited from class com.plumtree.uiinfrastructure.activityspace.AActivitySpace
ChangeSubSpaceKey, CleanupAllData, CleanupTempData, 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
object name

See Also:
Constant Field Values

POPUP_KEY

public static final java.lang.String POPUP_KEY
pop up constants used for keying pop up display pages

See Also:
Constant Field Values

RENAME_KEY

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

UsrProfMgrEditorAS

public UsrProfMgrEditorAS()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: AActivitySpace
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 AActivitySpace
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetEditorTitle

public java.lang.String GetEditorTitle()
Sets the Editor title.

Specified by:
GetEditorTitle in class EditorAS
Returns:
String

GetName

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

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

GetRepostControlName

public java.lang.String GetRepostControlName()
Returns the class name of the Repost Control.

Specified by:
GetRepostControlName in interface IFormAS
Overrides:
GetRepostControlName in class ObjEditorAS
Returns:
String

InitClosePopup

public void InitClosePopup()
Registers all the classes for this Activity Space.


InitTips

public void InitTips()
Registers all the classes for this Activity Space.


InitProfileCommunityObjects

public void InitProfileCommunityObjects(int _subMenuID)
Registers all the user profile community classes for this Activity Space.


InitUserInfoPropMapObjects

public void InitUserInfoPropMapObjects(int _subMenuID)
Registers all the user info property map classes for this Activity Space.


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

CheckBasicAccess

public boolean CheckBasicAccess(java.lang.String strPage,
                                java.lang.String strControl,
                                boolean bSameSpace)
Description copied from class: AActivitySpace
This method is called by the Interpreter at the beginning of every HTTP request to determine whether or not the current user has the security privileges necessary to view the requested page. This method is designed for checking whether or not a particular user has any access to the space, page, and control. More detailed checking (of query string parameters, for instance), should be done in the IControl.CheckActionSecurityAndExecute() method. For Plumtree portal applications (IPTActivitySpaces), since the IPTSession is guaranteed to be set before Init() & CheckBasicAccess() are called, you can check access as follows: return (GetIPTSession().GetSessionInfo().CheckForActivityRight (new Integer(PT_ACTIVITY_RIGHTS.PT_ACTIVITY_RIGHT_ACCESS_ADMINISTRATION)) == 1);

Overrides:
CheckBasicAccess in class ObjEditorAS
Returns:
boolean true implies access is allowed, false implies access is denied
See Also:
com.plumtree.portaluiinfrastructure.activityspace.AActivitySpace#CheckBasicAccess(String, String, boolean)

Init

public void Init()
Registers all the classes for this Activity Space.

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

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
Throws:
HTMLException - If error occurs while creating or populating HTML Elements.
See Also:
Override this method to Display javascript from child IViews

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.