StatisticBuilder MethodsA Sandcastle Documented Class Library
The StatisticBuilder type exposes the following members.
Methods

  NameDescription
Public methodAppLogLogin
Simplified method for logging application login attempts.
(Inherited from BasePageStandard.)
Public methodAppLogLogout
Simplified method for logging application logout attempts.
(Inherited from BasePageStandard.)
Public methodAppLogPage
Simplified method for logging application page access.
(Inherited from BasePageStandard.)
Protected methodbtnBackPt_Click
Used in pass through mode to go back to the previous step.
Protected methodbtnCancel_Click
Cancels this operation and returns the user to the FintIt page.
Protected methodbtnDel_Click
Delete the selected filter builder panels.
Protected methodbtnGroup_Click
Group the selected filter builder panels.
Protected methodbtnInsert_Click
Insert a filter builder panel below the selected panel.
Protected methodbtnManageToggle_Click
Event handler for manage stats link button.
Protected methodbtnNew_Click
Adds a new filter builder panel to the form.
Protected methodbtnNext_Click
Event handler for next button.
Protected methodbtnNextPt_Click
Used in pass through mode to move onto the next step with validation.
Protected methodbtnPreviewToggle_Click
Toggles the preview window for this filter builder form.
Protected methodbtnRefresh_Click
Does nothing except force a postback.
Protected methodbtnSaveBack_Click
Returns the user back to step two, the filter building step.
Protected methodbtnSaveRefresh_Click
Retries to display the save form. Shows a can't save form if there is no active filter loaded.
Protected methodbtnSaveSave_Click
Event for handling the saving of the current statistic. Requires an active filter to save, user will get to choose the save position for this stat or overwrite an existing position.
Protected methodbtnSelectAll_Click
Selects all the filter bilder panels on the current form.
Protected methodbtnShadingToggle_Click
Toggles the display of alternately shaded filter builder panels for the same grouping level.
Protected methodbtnSkipPt_Click
Used in pass through mode to skip this step, no validation.
Protected methodbtnUnGroup_Click
Ungroup the selected filter builder panels.
Protected methodbtnUnselectAll_Click
Unselects all the filter builder panels on the current form.
Private methodBuildCodedQuery
Builds a DB coded SqlQuery object from the FilterBuilderPanel list.
Public methodBuildForm
Builds the dynamic form.
Private methodBuildLiteralQuery
Builds a human friendly SqlQuery object from the FilterBuilderPanel list.
Private methodBuildQuery
Builds an SqlQuery object from the FilterBuilderPanel list.
Public methodCheckForExpiration
Checks to see if the given user account is expired or not
(Inherited from BasePageStandard.)
Public methodCheckForInjection
Checks for sql statements in queries.
(Inherited from BasePageStandard.)
Public methodCheckPagePermission
Calling method for CheckPermissions, loads up a reference to the service client before calling the CheckPermissions method.
(Inherited from BasePageStandard.)
Public methodCheckPermissions
Checks the current page permissions by pageName, userId, and userRolesId.
(Inherited from BasePageStandard.)
Protected methodddlStatSlot_SelectedIndexChanged
Auto post back from the stat slot drop down list. Automatically shows the overwrite check box if the selected stat object is not a new slot.
Private methodGenerateFilterBuilderPassThroughData
Generates a filter builder pass through data object.
Private methodGenerateSaveValues
Generates the save values needed to update or add a statistic entry into the database.
Protected methodGetActiveFilter
Returns the active filter from the filter object manager if there is one.
(Inherited from BasePageStandard.)
Protected methodGetActiveFilterActiveReport
Returns the ReportObj if there is an active filter with a report at the Session stored index 'reportIndex'.
(Inherited from BasePageStandard.)
Protected methodGetActiveFilterActiveStat
Returns the ReportObj if there is an active filter with a report at the Session stored index 'reportIndex'.
(Inherited from BasePageStandard.)
Protected methodGetActiveFilterId
Returns the active filter's filter ID.
(Inherited from BasePageStandard.)
Protected methodGetActiveFilterReportAt
Returns the active filter's report at the provided index.
(Inherited from BasePageStandard.)
Protected methodGetActiveFilterStatAt
Returns the active filter's statistic at the provided index.
(Inherited from BasePageStandard.)
Protected methodGetActiveReportId
Returns the active report id or new if the report is a new report.
(Inherited from BasePageStandard.)
Protected methodGetActiveReportIndex
Returns the active report index.
(Inherited from BasePageStandard.)
Protected methodGetActiveReportIndexStr
Returns the active report index as a string.
(Inherited from BasePageStandard.)
Protected methodGetActiveStatId
Returns the active report id or new if the report is a new report.
(Inherited from BasePageStandard.)
Protected methodGetActiveStatIndex
Returns the active report index.
(Inherited from BasePageStandard.)
Protected methodGetActiveStatIndexStr
Returns the active report index as a string.
(Inherited from BasePageStandard.)
Public methodGetAdminUserRole
Returns the Admin user role id as a string.
(Inherited from BasePageStandard.)
Public methodGetCalculationCount
Returns the number of non-calculation data panels in this page.
Public methodGetCalculationPanelList
Returns a list of calculation panels in this page.
Public methodGetColumnCalculationCount
Returns the number of column panels.
Public methodGetColumnCalculationPanelList
Returns an array of column calculation panels.
Public methodGetCount
Returns the number of panels.
Public methodGetExistingCalculationCount
Returns the number of existing calculation panels.
Public methodGetExistingCalculationPanelList
Returns an array of existing calculation panels.
Protected methodGetFilterObjManager
Returns the filter object manager.
(Inherited from BasePageStandard.)
Public methodGetFormMode
Returns the form mode for the current filter builder page.
Protected methodGetHasActiveFilter
Returns true if there is an active filter.
(Inherited from BasePageStandard.)
Protected methodGetHasActiveFilterActiveReport
Returns true if there is an active filter with a report at the Session stored index 'reportIndex'.
(Inherited from BasePageStandard.)
Protected methodGetHasActiveFilterActiveStat
Returns true if there is an active filter with a stat at the Session stored index 'statIndex'.
(Inherited from BasePageStandard.)
Protected methodGetHasActiveFilterReportAt
Returns true if there is an active filter with a report at the provided index.
(Inherited from BasePageStandard.)
Protected methodGetHasActiveFilterStatAt
Returns true if there is an active filter with a stat at the provided index.
(Inherited from BasePageStandard.)
Protected methodGetHasFilterObjManager
Returns true if there is a current filter object manager.
(Inherited from BasePageStandard.)
Public methodGetP4sPsmsUserRole
Returns the P4s Psms user role id as a string.
(Inherited from BasePageStandard.)
Public methodGetPanelAtIndex
Returns the panel at the given index.
Public methodGetPanelList
Returns a list of panels that are currently on this page.
Public methodGetPanelsAtIndentLevelAfterIndexCount
Returns the number of panels after the given index that have the same indent level.
Public methodGetPanelsAtIndentLevelBeforeIndexCount
Returns the number of panels before the given index that have the same indent level.
Public methodGetPanelsAtIndentLevelCount
Returns the number of panels at the indent level.
Public methodGetPanelsAtIndentLevelNearIndexCount
Returns the number of panels surrounding the current panel at the same indent level.
Public methodGetPanelWithName
Returns the first panel with the given name.
Protected methodGetStatisticBuilderTitle
Returns the title of the current statistic builder form based on the form mode.
Public methodHasPagePerm
Returns true if the user has the current perm enabled.
(Inherited from BasePageStandard.)
Private methodHideEditMsg
Hides the edit filter message.
Private methodHideStatisticManagePanel
Hide the statistic manage panel.
Private methodHideStatisticManagePanelPassive
Hide the statistic manage panel. Do not call BuildForm.
Private methodHideStatisticPreviewPanel
Hides the filter preview panel.
Private methodHideStatisticPreviewPanelPassive
Hides the filter preview panel. Do not call BuildForm.
Private methodInsertNewStatistic
Runs the necessary insert query for adding a stat object.
Protected methodIsLoggedIn
Used to test whether the current user is logged in or not.
(Inherited from BasePageStandard.)
Public methodLoadPageFeaturePerms
Loads all the feature perms for this page.
(Inherited from BasePageStandard.)
Private methodLoadStatisticSlots
Loads the statistics data for the active filter.
Private methodNormalizeIndexes
Normalizes the panel indexes in case of inserts or deletes.
Protected methodPage_Error
Calls Page_Error from base class, BasePageStandard.
(Overrides BasePageStandard Page_Error(Object, EventArgs).)
Protected methodPage_Load
Calls Page_Load from base class, BasePageStandard.
(Overrides BasePageStandard Page_Load(Object, EventArgs).)
Protected methodPrepEditForm
Loads the filter stored in the session and builds a form based on the filter contents.
Protected methodPrepNewForm
Override OnInit method to add dynamic home menu drop down lists.
Private methodProcessStatCalcConfig
Processes the calculation config entries for the given statistic calculation.
Private methodProcessStatisticSave 
Overloaded method version defaults to autoSave = false;
Private methodProcessStatisticSave(Boolean)
Method that processes a save statistic request.
Private methodRefreshList
Rebuilds the list data from the post back info
Public methodRunAppLogLogin
Async execution of the app login method.
(Inherited from BasePageStandard.)
Public methodRunAppLogLogout
Async execution of the app logout method.
(Inherited from BasePageStandard.)
Public methodRunAppLogPage
Async execution of the app page method.
(Inherited from BasePageStandard.)
Private methodSetSession (Inherited from BasePageStandard.)
Private methodShowBuildForm
Shows the build form controls.
Private methodShowCantSaveForm
Displays the cant save version of this page. If no filters are avtice this form is visible.
Private methodShowEditMsg
Shows the edit filter message, lets end users know they are editing an existing filter.
Private methodShowSaveForm
Shows the save form controls.
Private methodShowStatisticManagePanel
Shows the manage statistic panel.
Private methodShowStatisticManagePanelPassive
Shows the manage statistic panel. Does not call BuildForm.
Private methodShowStatisticPreviewPanel
Shows the filter preview panel.
Private methodShowStatisticPreviewPanelPassive
Shows the filter preview panel. Does not call BuildForm.
Private methodToggleStatisticManage
Toggle the filter manage button text.
Private methodToggleStatisticPreview
Toggles the filter preview control
Private methodUpdateAltRowShadingText
Updates the alternate shading button based on the current toggle value.
Private methodUpdateExistingStatistic
Updates the chosen statistic slot with the current stat data.
Private methodUpdateShowManageText
Updates the show manage button text.
Private methodUpdateShowPreviewText
Updates the text on the 'Preview On' toggle button.
Back to Top
See Also