Uiinfrastructure API Docs  
 

RepostControl Members

RepostControl overview

Public Static Fields

iconiconHTMLINPUT_PASSTHRU_ARGS HTML Element: Pass thru arguments
iconiconHTMLINPUT_PASSTHRU_CONTROL The pass thru inputs need to be manually added in 508 mode if they are needed.
iconiconHTMLINPUT_POSTTOSELF Form element names
iconiconHTMLSUBMIT_508_POSTTOSELF HTML Element: 508 submit button
iconiconPAGE_STATUS_INVALID JF- Page status: Invalid
iconiconPAGE_STATUS_VALID JF- Page status: Valid
iconiconPOSTTOSELF_ACTION_APPLY_CHANGES JF- Repost Action: Apply changes
iconiconPOSTTOSELF_ACTION_CANCEL JF- Repost Action: Cancel
iconiconPOSTTOSELF_ACTION_FINISH JF- Repost Action: Finish
iconiconPOSTTOSELF_ACTION_GOTOPAGE JF- Repost Action: Change page
iconiconPOSTTOSELF_ACTION_IN_PLACE_REFRESH RW- Repost Action: In place refresh
iconiconPOSTTOSELF_ACTION_PASSTHRU JF- Repost Action: Pass thru
iconiconPOSTTOSELF_ACTION_SIMPLEREPOST JF- Repost Action: Simple repost
iconiconPOSTTOSELF_ACTION_UNDEFINED JF- Repost Action: Undefined
iconiconSTR_MVC_CLASS_NAME Object Name for AS

Public Instance Constructors

icon RepostControl Constructor Initializes a new instance of the RepostControl class.

Public Instance Methods

iconCheckActionSecurityAndExecute 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.
iconCreate 
iconEquals (inherited from Object)Determines whether the specified Object is equal to the current Object.
iconGetHashCode (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.
iconGetName Return the class name.
iconGetPageStatus Returns the current page status.
iconGetRepostAction Returns the current value of the repost action.
iconGetType (inherited from Object)Gets the Type of the current instance.
iconInit 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();
iconSetPageStatus Sets a new page status.
iconToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

iconm_asOwner JF- Associated Activity Space.
iconm_bInitialized has Init() been called properly?
iconm_htFormData Variables for the lifetime of the execute(). Just for convenience. (Contains all the form params from the request.)
iconm_model JF- Associated Model
iconm_nAction JF- Value of the repost action
iconm_nPageStatus 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.
iconm_rRedirect JF- Redirect object. Used to redirect at the end of the Form.

Protected Instance Methods

iconFinalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
iconMemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
iconPerformAction Given the repost action mode, calls the associated method in the model.
iconPerformPassthruAction Sets the Pass thru arguments from the pass thru control into m_htFormData. And executes the Pass thru control.
iconSaveCurrentPage Get the current page name and call the save method on the model.
iconSetRedirect Sets the redirect member variable. (Used to redirect at the end of the Editor.)
iconSetRepostAction Get the repost action mode from the form data hashtable and set it in the member variable.

See Also

RepostControl Class | com.plumtree.uiinfrastructure.form Namespace