Uiinfrastructure API Docs  
 

ApprovalControl Members

ApprovalControl overview

Public Static Fields

PARAM_ADD_COMMENT 
PARAM_APPLY 
PARAM_APPROVE_ALL 
PARAM_CLEAR 
PARAM_CURRENT_TYPE 
PARAM_EDIT_ITEM 
PARAM_FINISH 
PARAM_GOTO_PAGE 
PARAM_GOTO_TYPE 
PARAM_HOLD_ALL 
PARAM_NEXT_PAGE 
PARAM_PREV_PAGE 
PARAM_REJECT_ALL 
POSTTOSELF_ACTION_ADD_COMMENT 
POSTTOSELF_ACTION_APPLY 
POSTTOSELF_ACTION_APPROVE_ALL 
POSTTOSELF_ACTION_CLEAR 
POSTTOSELF_ACTION_GOTO_RANGE 
POSTTOSELF_ACTION_GOTO_TYPE 
POSTTOSELF_ACTION_HOLD_ALL 
POSTTOSELF_ACTION_NEXT_PAGE 
POSTTOSELF_ACTION_PREVIOUS_PAGE 
POSTTOSELF_ACTION_REJECT_ALL 
POSTTOSELF_ACTION_SELECT_ALL 
POSTTOSELF_ACTION_SORT_DATE 
POSTTOSELF_ACTION_SORT_NAME 
POSTTOSELF_ACTION_SORT_SUBMITTEDBY 
POSTTOSELF_ACTION_UNSELECT_ALL 
STR_MVC_CLASS_NAME 

Public Instance Constructors

ApprovalControl Constructor Initializes a new instance of the ApprovalControl class.

Public Instance Methods

Apply 
ApproveAll 
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 
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.
HoldAll 
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 
RejectAll 
SelectUnselectAll 
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 (inherited from EditorRepostControl) 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 
PerformCancelAction (inherited from EditorRepostControl) 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 (inherited from EditorRepostControl) 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 (inherited from EditorRepostControl) 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

ApprovalControl Class | com.plumtree.uiinfrastructure.approval Namespace