com.plumtree.portaluiinfrastructure.tree.template
Class TemplateTreeRepostControl
java.lang.Object
com.plumtree.uiinfrastructure.form.RepostControl
com.plumtree.uiinfrastructure.tree.TreeRepostControl
com.plumtree.portaluiinfrastructure.tree.template.TemplateTreeRepostControl
- All Implemented Interfaces:
- IControl, IManagedObject, IMVCObject
public class TemplateTreeRepostControl
- extends TreeRepostControl
- Author:
- michaeld
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 |
Redirect |
CheckActionSecurityAndExecute(XPHashtable arguments)
This code is called by the AS Servlet each time there is a repost. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed
objects. |
java.lang.String |
GetName()
Return the class name. |
protected void |
PerformAction(int _nAction)
Switch between the action modes and call the associated method for each
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 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_ACTION_SELECTTEMPLATE
public static final int POSTTOSELF_ACTION_SELECTTEMPLATE
- See Also:
- Constant Field Values
TemplateTreeRepostControl
public TemplateTreeRepostControl()
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 TreeRepostControl
- 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:
RepostControl
- Return the class name.
- Specified by:
GetName
in interface IMVCObject
- Overrides:
GetName
in class TreeRepostControl
- Returns:
- String
- See Also:
IMVCObject.GetName()
CheckActionSecurityAndExecute
public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
- Description copied from class:
RepostControl
- This code is called by the AS Servlet each time there is a repost.
First it saves the page and then performs any repost action.
If the Redirect object returned is not null,
the Servlet will go to the page specified by the Redirect.
If the Redirect is null, the Servlet will get the current page
from the AS and display it.
- Specified by:
CheckActionSecurityAndExecute
in interface IControl
- Overrides:
CheckActionSecurityAndExecute
in class TreeRepostControl
- Returns:
- Redirect
- See Also:
com.plumtree.uiinfrastructure.activityspace.IControl#CheckActionSecurityAndExecute(com.plumtree.openfoundation.util.XPHashtable)
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
- See Also:
RepostControl.SetRepostAction()
PerformAction
protected void PerformAction(int _nAction)
- Description copied from class:
TreeRepostControl
- Switch between the action modes and call the associated method for each
action.
- Overrides:
PerformAction
in class TreeRepostControl
- See Also:
RepostControl.PerformAction(int)