com.plumtree.portalpages.browsing.objectselection
Class ObjectSelectionRepostControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.RepostControl
      extended by com.plumtree.uiinfrastructure.editor.EditorRepostControl
          extended by com.plumtree.portalpages.browsing.objectselection.ObjectSelectionRepostControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class ObjectSelectionRepostControl
extends EditorRepostControl

Handle reposts for the Object Selection Model.


Field Summary
static int POSTTOSELF_508_ACTION_ADDBUNDLE
          Post to self to add all portlets from a bundle.
static int POSTTOSELF_508_ACTION_ADDOBJECT
          Post to self to add a object using the 508 UI
static int POSTTOSELF_508_ACTION_REMOVEOBJECT
          Post to self to remove a object using the 508 UI
static int POSTTOSELF_ACTION_ADDPORTLETS_FROMBUNDLE
          Post to self after adding portlets from a bundle
static int POSTTOSELF_ACTION_MISC
           
static int POSTTOSELF_ACTION_OPENFOLDER
          Post to self to open a folder by way of folder view or breadcrumbs
static int POSTTOSELF_ACTION_SELECT_BUNDLE
          Post to self to select portlet bundle
static java.lang.String STR_MVC_CLASS_NAME
           
static java.lang.String strPARENT_FORM_NAME
           
static java.lang.String strPARENT_FORM_SPACE_ID
           
static java.lang.String strPARENT_SUBMIT_CALL
           
 
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
ObjectSelectionRepostControl()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 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.
protected  void PerformCancelAction()
          Helper method to implement the Cancel action.
protected  void SetRedirectToCloseSubEditor()
          This method is called when we finish a sub Editor.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorRepostControl
CheckActionSecurityAndExecute, CheckMandatoryPages, PerformFinishAction, PerformReadOnlyAction, SaveCurrentPage
 
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

strPARENT_FORM_NAME

public static final java.lang.String strPARENT_FORM_NAME
See Also:
Constant Field Values

strPARENT_FORM_SPACE_ID

public static final java.lang.String strPARENT_FORM_SPACE_ID
See Also:
Constant Field Values

strPARENT_SUBMIT_CALL

public static final java.lang.String strPARENT_SUBMIT_CALL
See Also:
Constant Field Values

POSTTOSELF_ACTION_MISC

public static final int POSTTOSELF_ACTION_MISC
See Also:
Constant Field Values

POSTTOSELF_ACTION_ADDPORTLETS_FROMBUNDLE

public static final int POSTTOSELF_ACTION_ADDPORTLETS_FROMBUNDLE
Post to self after adding portlets from a bundle

See Also:
Constant Field Values

POSTTOSELF_ACTION_SELECT_BUNDLE

public static final int POSTTOSELF_ACTION_SELECT_BUNDLE
Post to self to select portlet bundle

See Also:
Constant Field Values

POSTTOSELF_ACTION_OPENFOLDER

public static final int POSTTOSELF_ACTION_OPENFOLDER
Post to self to open a folder by way of folder view or breadcrumbs

See Also:
Constant Field Values

POSTTOSELF_508_ACTION_ADDOBJECT

public static final int POSTTOSELF_508_ACTION_ADDOBJECT
Post to self to add a object using the 508 UI

See Also:
Constant Field Values

POSTTOSELF_508_ACTION_REMOVEOBJECT

public static final int POSTTOSELF_508_ACTION_REMOVEOBJECT
Post to self to remove a object using the 508 UI

See Also:
Constant Field Values

POSTTOSELF_508_ACTION_ADDBUNDLE

public static final int POSTTOSELF_508_ACTION_ADDBUNDLE
Post to self to add all portlets from a bundle.

See Also:
Constant Field Values
Constructor Detail

ObjectSelectionRepostControl

public ObjectSelectionRepostControl()
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 EditorRepostControl
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

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

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class EditorRepostControl
Returns:
String
See Also:
com.plumtree.xpshared.activityspace.IControl#GetName()

PerformAction

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

Overrides:
PerformAction in class EditorRepostControl
Parameters:
_nAction -

SetRedirectToCloseSubEditor

protected void SetRedirectToCloseSubEditor()
This method is called when we finish a sub Editor. It takes care of closing the sub Editor pop-up winodws and repost the main Editor window.

Overrides:
SetRedirectToCloseSubEditor in class EditorRepostControl

PerformCancelAction

protected void PerformCancelAction()
Helper method to implement the Cancel action. On cancel, we just redirect to whatever is returned by GetRedirectAfterFinish. If this is a sub Editor in Create mode we also delete the sub Editor from the list. And then we close the pop-up.

Overrides:
PerformCancelAction in class EditorRepostControl



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