CrashFinder MethodsA Sandcastle Documented Class Library
The CrashFinder 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 methodbtnCancel_Click
Exits out of the crash finder wizard.
Protected methodbtnNext_Click
Processes Next button click, performs form validation.
Protected methodbtnOpen_Click
Opens the currently configured filter.
Protected methodbtnPrev_Click
Processes Prev button click, performs form validation.
Protected methodbtnSave_Click
Shows the save screen for this currently created filter.
Protected methodbtnSaveBack_Click
Process user initiated back button click, returns to the non-save view.
Protected methodbtnSaveSave_Click
Process user initiated save button click.
Protected methodbtnSaveSaveOpen_Click
Process user initiated save then open click.
Private methodBuildCodedQuery
Generates a coded SqlQuery object for the given crash finder form.
Private methodBuildLiteralQuery
Generates a literal SqlQuery object for the given crash finder form.
Private methodCheckCurrentForm
Makes sure the current form has enough information before the user leaves it.
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.)
Private methodGenerateSaveValues
Generate all the values needed to update or save this filter.
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.)
Protected methodGetFilterObjManager
Returns the filter object manager.
(Inherited from BasePageStandard.)
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.)
Private methodGetIntFromPrecondition
Returns the precondition code for the given precondition string.
Private methodGetLbLocationSelectedTextAsString
Returns a comma separated list of text from the lbLocation list box.
Private methodGetLbLocationSelectedValueAsString
Returns a comma separated list of values from the lbLocation list box.
Public methodGetP4sPsmsUserRole
Returns the P4s Psms user role id as a string.
(Inherited from BasePageStandard.)
Public methodHasPagePerm
Returns true if the user has the current perm enabled.
(Inherited from BasePageStandard.)
Private methodHideEditFilterMsg
Hides the edit filter message.
Protected methodiconPanel_ChooseIcon
Chooses an icon from the icon panel.
Private methodInsertNewFilter
Inserts a new filter record into the database.
Private methodInsertNewFilterActive
Inserts a new filter into the database, allows user to set if new filter is active or not.
Protected methodIsLoggedIn
Used to test whether the current user is logged in or not.
(Inherited from BasePageStandard.)
Protected methodlnkFindIt_Click
Processes FindIt link button click.
Protected methodlnkHome_Click
Processes home link button click.
Private methodLoadAges
Loads a list of ages from 1 to 110 for all drop down lists.
Private methodLoadCrashTypes
Loads the different crash types from the database.
Private methodLoadCrashYearRange
Loads the crash year range from the database.
Private methodLoadEnvironmentConditionList
Loads a list of the environmental conditions from the system.
Private methodLoadGender
Loads a gender selection from the system.
Private methodLoadLightConditionList
Loads a list of the light conditions in the system.
Public methodLoadPageFeaturePerms
Loads all the feature perms for this page.
(Inherited from BasePageStandard.)
Private methodLoadPhysicalStatusList
Loads and sets the physical status list.
Private methodLoadSafetyEquipmentList
Loads and sets safety equipment list.
Private methodLoadSeverityTypes
Loads the different crash types from the database.
Private methodLoadSurfaceConditionList
Loads a list of the surface conditions in the system.
Private methodLoadVehicleTypes
Loads the viehicle types from the system.
Private methodLoadVehicleUseTypes
Loads the different vehicle use types.
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).)
Private methodPrepEditForm
Prepares the form for use.
Private methodPrepForm
Prepare the current page's form fields
Private methodProcessFilterSave 
Process a filter object for saving.
Private methodProcessFilterSave(Boolean)
Process a filter object for saving.
Protected methodrblDriver_SelectedIndexChanged
Shows the driver form in the driver section.
Protected methodrblDriver1_SelectedIndexChanged
Shows the driver age form in the driver section.
Protected methodrblGeneralYears_SelectedIndexChanged
Shows the from, to year form in the general crash section.
Protected methodrblLocation_SelectedIndexChanged
Loads the location data based on the selected location type.
Protected methodrblOccupant_SelectedIndexChanged
Shows the occupant form in the occupant section.
Protected methodrblOccupant1_SelectedIndexChanged
Shows the occupant age form in the occupant section.
Protected methodrblPed_SelectedIndexChanged
Shows the ped form in the pedestrian section.
Protected methodrblPed3_SelectedIndexChanged
Shows the ped ages form in the pedestrian section.
Protected methodrblSiteCond_SelectedIndexChanged
Shows the site condition form in the site condition section.
Protected methodrblVehicle_SelectedIndexChanged
Shows the vehicle form in the vehicle section.
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.)
Protected methodSections_Click
Processes a click on one of the section links.
Private methodSetFormFromColumnValue
Set the form state based on a passed in column and supporting information.
Private methodSetSession (Inherited from BasePageStandard.)
Private methodShowBuildForm
Show the build form.
Private methodShowEditFilterMsg
Shows the edit filter message, lets end users know they are editing an existing filter.
Private methodShowSaveForm
Show the save form.
Private methodShowSectionMessage
Sets the message label of the current section.
Private methodUpdateExistingFilter
Updates an existing filter record in the database.
Private methodUpdateFormForPrecondition
Updates the deails pane to match the passed in preconditions.
Private methodUpdateFormForSection
Preps the user form for the current form section.
Back to Top
See Also