|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.form.RepostControl
com.plumtree.uiinfrastructure.editor.EditorRepostControl
public class 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 |
| 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 interface IControlCheckActionSecurityAndExecute in class RepostControlRepostControl.CheckActionSecurityAndExecute(XPHashtable)public java.lang.Object Create()
IManagedObject
Create in interface IManagedObjectCreate in class RepostControlIManagedObject.Create()public java.lang.String GetName()
GetName in interface IMVCObjectGetName in class RepostControlpublic 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 RepostControlRepostControl.SaveCurrentPage()protected void SetRedirectToCloseSubEditor()
protected void PerformCancelAction()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||