Uiinfrastructure API Docs  
 

EditorRepostControl Members

EditorRepostControl overview

Public Static Fields

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).
STR_MVC_CLASS_NAME Object Name for AS

Public Instance Constructors

EditorRepostControl Constructor Initializes a new instance of the EditorRepostControl class.

Public Instance Methods

CheckActionSecurityAndExecute 
Create 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetName Returns the Class name.
GetPageStatus (inherited from RepostControl) Returns the current page status.
GetRepostAction (inherited from RepostControl) Returns the current value of the repost action.
GetType (inherited from Object)Gets the Type of the current instance.
Init (inherited from RepostControl) Inits the class with the associated model and activity space. If this method is overridden in a sub-class, this version of Init must be called as super.Init();
PerformFinishAction Helper method to implement the Finish action. If this is a sub Editor we don't want to call the Finish method. If this is the main Editor and it has some sub Editors we also want to call the Finish method on each sub Editor.
SetPageStatus (inherited from RepostControl) Sets a new page status.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

m_asOwner (inherited from RepostControl) JF- Associated Activity Space.
m_bInitialized (inherited from RepostControl) has Init() been called properly?
m_htFormData (inherited from RepostControl) Variables for the lifetime of the execute(). Just for convenience. (Contains all the form params from the request.)
m_model (inherited from RepostControl) JF- Associated Model
m_nAction (inherited from RepostControl) JF- Value of the repost action
m_nPageStatus (inherited from RepostControl) JF- Server side validation. Current state. Note that if the state is set to invalid, all it does is it will not perform the changePage and finish actions. Also note that this framework does not provide any way to set the error/status message to display to the end user. Another framework is responsible for it. Finaly note that multiple save methods might return invalid on the same DP but we don't want to keep an array of status returned, we just need to know if invalid was returned at least once.
m_rRedirect (inherited from RepostControl) JF- Redirect object. Used to redirect at the end of the Form.

Protected Instance Methods

CheckMandatoryPages Checks if any mandatory page has not been visited. If there are any, raises an error and sets the page status to invalid.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
PerformAction Performs repost actions.
PerformCancelAction Helper method to implement the Cancel action. On cancel, we just redirect to whatever is returned by GetRedirectAfterFinish. If this is a sub Editor in Create mode we also delete the sub Editor from the list. And then we close the pop-up.
PerformPassthruAction (inherited from RepostControl) Sets the Pass thru arguments from the pass thru control into m_htFormData. And executes the Pass thru control.
PerformReadOnlyAction Performs repost actions in Read-Only mode.
SaveCurrentPage 
SetRedirect (inherited from RepostControl) Sets the redirect member variable. (Used to redirect at the end of the Editor.)
SetRedirectToCloseSubEditor This method is called when we finish a sub Editor. It takes care of closing the sub Editor pop-up winodws and repost the main Editor window.
SetRepostAction (inherited from RepostControl) Get the repost action mode from the form data hashtable and set it in the member variable.

See Also

EditorRepostControl Class | com.plumtree.uiinfrastructure.editor Namespace