com.plumtree.portalpages.browsing.editors.sitemap
Class SiteMapFolderRepostControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.RepostControl
      extended by com.plumtree.uiinfrastructure.editor.EditorRepostControl
          extended by com.plumtree.portaluiinfrastructure.editor.ObjEditorRepostControl
              extended by com.plumtree.portalpages.browsing.editors.sitemap.SiteMapFolderRepostControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class SiteMapFolderRepostControl
extends ObjEditorRepostControl

File: SiteMapFolderRepostControl.java -------------------------------------

Author:
NaveenP

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          Unique identifier for the class
 
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorRepostControl
POSTTOSELF_ACTION_REDIRECT_AFTER_SAVEPOPUP
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorRepostControl
POSTTOSELF_ACTION_ONRETURN_FROM_SUBEDITOR
 
Fields inherited from class com.plumtree.uiinfrastructure.form.RepostControl
HTMLINPUT_PASSTHRU_ARGS, HTMLINPUT_PASSTHRU_CONTROL, HTMLINPUT_POSTTOSELF, HTMLSUBMIT_508_POSTTOSELF, m_asOwner, m_bInitialized, m_htFormData, m_model, m_nAction, m_nPageStatus, m_rRedirect, PAGE_STATUS_INVALID, PAGE_STATUS_VALID, POSTTOSELF_ACTION_APPLY_CHANGES, POSTTOSELF_ACTION_CANCEL, POSTTOSELF_ACTION_FINISH, POSTTOSELF_ACTION_GOTOPAGE, POSTTOSELF_ACTION_IN_PLACE_REFRESH, POSTTOSELF_ACTION_PASSTHRU, POSTTOSELF_ACTION_SIMPLEREPOST, POSTTOSELF_ACTION_UNDEFINED
 
Constructor Summary
SiteMapFolderRepostControl()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
protected  boolean DisableSavePopUp()
          Override this method to disable the save pop up.
 java.lang.String GetName()
          Returns the Class name.
protected  void PerformAction(int _nAction)
          Switch between the action modes and call the associated method for each action.
 void PerformFinishAction()
          For the Object Editor we don't want to store the object yet.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorRepostControl
OpenSavePopUp, SaveCurrentPage
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorRepostControl
CheckActionSecurityAndExecute, CheckMandatoryPages, PerformCancelAction, PerformReadOnlyAction, SetRedirectToCloseSubEditor
 
Methods inherited from class com.plumtree.uiinfrastructure.form.RepostControl
GetPageStatus, GetRepostAction, Init, PerformPassthruAction, SetPageStatus, SetRedirect, SetRepostAction
 
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
Unique identifier for the class

See Also:
Constant Field Values
Constructor Detail

SiteMapFolderRepostControl

public SiteMapFolderRepostControl()
Method Detail

Create

public java.lang.Object Create()
Description copied from interface: IManagedObject
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Overrides:
Create in class ObjEditorRepostControl
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

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

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class ObjEditorRepostControl
Returns:
String

PerformFinishAction

public void PerformFinishAction()
For the Object Editor we don't want to store the object yet. We need to pop-up the save Object window so the user can select the folder, set the security and and set the name and description. Do do this we add a JavaScript to the current DP to open the pop-up window.

Overrides:
PerformFinishAction in class ObjEditorRepostControl

PerformAction

protected void PerformAction(int _nAction)
Switch between the action modes and call the associated method for each action.

Overrides:
PerformAction in class ObjEditorRepostControl
Parameters:
_nAction -

DisableSavePopUp

protected boolean DisableSavePopUp()
Description copied from class: ObjEditorRepostControl
Override this method to disable the save pop up.

Overrides:
DisableSavePopUp in class ObjEditorRepostControl
Returns:
false
See Also:
ObjEditorRepostControl.DisableSavePopUp()



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