|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.plumtree.uiinfrastructure.form.RepostControl | +--com.plumtree.uiinfrastructure.editor.EditorRepostControl
This repost control implements the repost actions for Editor pages.
Field Summary | |
static int |
POSTTOSELF_ACTION_ONRETURN_FROM_SUBEDITOR
Repost action constant: This action is called when the user goes back to a main Editor after finishing a sub Editor (the main Editor form is posted). |
static java.lang.String |
STR_MVC_CLASS_NAME
Object Name for AS |
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_PASSTHRU, POSTTOSELF_ACTION_SIMPLEREPOST, POSTTOSELF_ACTION_UNDEFINED |
Constructor Summary | |
EditorRepostControl()
|
Method Summary | |
Redirect |
CheckActionSecurityAndExecute(XPHashtable arguments)
This code is called by the AS Servlet each time there is a repost. |
protected void |
CheckMandatoryPages()
Checks if any mandatory page has not been visited. |
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)
Performs repost actions. |
protected void |
PerformCancelAction()
Helper method to implement the Cancel action. |
void |
PerformFinishAction()
Helper method to implement the Finish action. |
protected void |
PerformReadOnlyAction(int _nAction)
Performs repost actions in Read-Only mode. |
protected void |
SaveCurrentPage()
Get the current page name and call the save method on the model. |
protected void |
SetRedirectToCloseSubEditor()
This method is called when we finish a sub Editor. |
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 |
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int POSTTOSELF_ACTION_ONRETURN_FROM_SUBEDITOR
Constructor Detail |
public EditorRepostControl()
Method Detail |
public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
RepostControl
CheckActionSecurityAndExecute
in class RepostControl
RepostControl.CheckActionSecurityAndExecute(com.plumtree.openfoundation.util.XPHashtable)
public java.lang.Object Create()
IManagedObject
Create
in class RepostControl
IManagedObject.Create()
public java.lang.String GetName()
GetName
in class RepostControl
public void PerformFinishAction()
protected void CheckMandatoryPages()
protected void PerformReadOnlyAction(int _nAction)
_nAction
- protected void PerformAction(int _nAction)
PerformAction
in class RepostControl
_nAction
- protected void SaveCurrentPage()
RepostControl
SaveCurrentPage
in class RepostControl
RepostControl.SaveCurrentPage()
protected void SetRedirectToCloseSubEditor()
protected void PerformCancelAction()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |