com.plumtree.portalpages.browsing.editors.smartsort
Class SmartSortEditorRepostControl

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

public class SmartSortEditorRepostControl
extends ObjEditorRepostControl

This class contains the additional repost actions. The ones specific to the Smart Sort Editor (other than "change page", "finish" and "cancel" actions).

Author:
OlegS

Field Summary
static int ACTION_ADD
           
static int ACTION_DEL
           
static int ACTION_SORT
           
static int GROUP_SHIFT
           
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
SmartSortEditorRepostControl()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
static int GetActionGroup(int action)
           
protected  SmartSortEditorModel GetModel()
           
 java.lang.String GetName()
          Returns the Class name.
static int RemoveGroupFromAction(int action)
           
protected  void SetRepostAction()
          Get the repost action mode from the form data hashtable and set it in the member variable.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorRepostControl
DisableSavePopUp, OpenSavePopUp, PerformAction, PerformFinishAction, 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
 
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

ACTION_ADD

public static final int ACTION_ADD
See Also:
Constant Field Values

ACTION_DEL

public static final int ACTION_DEL
See Also:
Constant Field Values

ACTION_SORT

public static final int ACTION_SORT
See Also:
Constant Field Values

GROUP_SHIFT

public static final int GROUP_SHIFT
See Also:
Constant Field Values
Constructor Detail

SmartSortEditorRepostControl

public SmartSortEditorRepostControl()
Method Detail

GetActionGroup

public static int GetActionGroup(int action)
Parameters:
action -
Returns:

RemoveGroupFromAction

public static int RemoveGroupFromAction(int action)

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()
Description copied from class: ObjEditorRepostControl
Returns the Class name.

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

SetRepostAction

protected void SetRepostAction()
Description copied from class: RepostControl
Get the repost action mode from the form data hashtable and set it in the member variable.

Overrides:
SetRepostAction in class RepostControl

GetModel

protected SmartSortEditorModel GetModel()
Returns:



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