com.plumtree.portalpages.admin.editors.bestbets
Class BestBetRepostControl
java.lang.Object
com.plumtree.uiinfrastructure.form.RepostControl
com.plumtree.uiinfrastructure.editor.EditorRepostControl
com.plumtree.portalpages.admin.editors.bestbets.BestBetRepostControl
- All Implemented Interfaces:
- IControl, IManagedObject, IMVCObject
public class BestBetRepostControl
- extends EditorRepostControl
- Author:
- CraigS, based on JulieF template
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 |
Method Summary |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed
objects. |
static int |
GetMoveBottomCode(int id)
|
static int |
GetMoveDownCode(int id)
|
static int |
GetMoveTopCode(int id)
|
static int |
GetMoveUpCode(int id)
|
java.lang.String |
GetName()
Returns the Class name. |
protected void |
PerformAction(int action)
Switch between the action modes and call
the associated method for each action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STR_MVC_CLASS_NAME
public static final java.lang.String STR_MVC_CLASS_NAME
- See Also:
- Constant Field Values
POSTTOSELF_NOOP
public static final int POSTTOSELF_NOOP
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_DELTARGS
public static final int POSTTOSELF_ACTION_DELTARGS
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_ADDTARG
public static final int POSTTOSELF_ACTION_ADDTARG
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_DELTARG_START
public static final int POSTTOSELF_ACTION_DELTARG_START
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_DELTARG_END
public static final int POSTTOSELF_ACTION_DELTARG_END
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_MOVETARGUP_START
public static final int POSTTOSELF_ACTION_MOVETARGUP_START
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_MOVETARGUP_END
public static final int POSTTOSELF_ACTION_MOVETARGUP_END
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_MOVETARGDOWN_START
public static final int POSTTOSELF_ACTION_MOVETARGDOWN_START
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_MOVETARGDOWN_END
public static final int POSTTOSELF_ACTION_MOVETARGDOWN_END
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_MOVETOBOTTOM_START
public static final int POSTTOSELF_ACTION_MOVETOBOTTOM_START
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_MOVETOBOTTOM_END
public static final int POSTTOSELF_ACTION_MOVETOBOTTOM_END
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_MOVETOTOP_START
public static final int POSTTOSELF_ACTION_MOVETOTOP_START
- See Also:
- Constant Field Values
POSTTOSELF_ACTION_MOVETOTOP_END
public static final int POSTTOSELF_ACTION_MOVETOTOP_END
- See Also:
- Constant Field Values
HTMLINPUT_SELECTED_ITEM
public static final java.lang.String HTMLINPUT_SELECTED_ITEM
- See Also:
- Constant Field Values
HTMLINPUT_ITEM_TO_EDIT_ON_START
public static final java.lang.String HTMLINPUT_ITEM_TO_EDIT_ON_START
- See Also:
- Constant Field Values
HIDDEN_ADD_DELETE
public static final java.lang.String HIDDEN_ADD_DELETE
- See Also:
- Constant Field Values
BestBetRepostControl
public BestBetRepostControl()
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()
- Returns the Class name.
- Specified by:
GetName
in interface IMVCObject
- Overrides:
GetName
in class EditorRepostControl
- Returns:
- String
PerformAction
protected void PerformAction(int action)
- Switch between the action modes and call
the associated method for each action.
- Overrides:
PerformAction
in class EditorRepostControl
- Parameters:
int
-
GetMoveUpCode
public static int GetMoveUpCode(int id)
GetMoveDownCode
public static int GetMoveDownCode(int id)
GetMoveTopCode
public static int GetMoveTopCode(int id)
GetMoveBottomCode
public static int GetMoveBottomCode(int id)