com.plumtree.portalpages.browsing.editors.folder
Class FolderEditorRepostControl

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.folder.FolderEditorRepostControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class FolderEditorRepostControl
extends ObjEditorRepostControl

Author:
StephenC

Field Summary
static int POSTTOSELF_ACTION_CANCEL_PROPAGATE
          Repost Action: Cancel Security Propagation
static int POSTTOSELF_ACTION_NO_PROPAGATE
          Repost Action: Apply Security Propagation
static int POSTTOSELF_ACTION_PROPAGATE
          Repost Action: Apply No Security Propagation
static java.lang.String STR_MVC_CLASS_NAME
           
 
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
FolderEditorRepostControl()
           
 
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 OpenSavePopUp()
          Helper nmethod to build the URL to the save pop-up and add the Javascript to open it to the curent page.
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
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
See Also:
Constant Field Values

POSTTOSELF_ACTION_PROPAGATE

public static final int POSTTOSELF_ACTION_PROPAGATE
Repost Action: Apply No Security Propagation

See Also:
Constant Field Values

POSTTOSELF_ACTION_NO_PROPAGATE

public static final int POSTTOSELF_ACTION_NO_PROPAGATE
Repost Action: Apply Security Propagation

See Also:
Constant Field Values

POSTTOSELF_ACTION_CANCEL_PROPAGATE

public static final int POSTTOSELF_ACTION_CANCEL_PROPAGATE
Repost Action: Cancel Security Propagation

See Also:
Constant Field Values
Constructor Detail

FolderEditorRepostControl

public FolderEditorRepostControl()
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

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 -

PerformFinishAction

public void PerformFinishAction()
Description copied from class: ObjEditorRepostControl
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. To do this we add a JavaScript to the current DP to open the pop-up window.

Overrides:
PerformFinishAction in class ObjEditorRepostControl

OpenSavePopUp

protected void OpenSavePopUp()
Description copied from class: ObjEditorRepostControl
Helper nmethod to build the URL to the save pop-up and add the Javascript to open it to the curent page.

Overrides:
OpenSavePopUp in class ObjEditorRepostControl

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.