FilterObj MembersA Sandcastle Documented Class Library

The FilterObj type exposes the following members.
Constructors

  NameDescription
Private methodStatic memberFilterObj
Public methodFilterObj 
Generic constructor.
Public methodFilterObj(Boolean, Boolean)
General constructor with options for debug settings.
Public methodFilterObj(SqlJoinType, FilterMode)
Enhanced constructor lets you set some global attributes.
Back to Top
Methods

  NameDescription
Public methodGetActive
Returns a value indicatnig if this filter obj is currently active.
Public methodGetColumnAsString
Returns the column value as a string for the given database column.
Private methodGetConfigTableSchema
Executes the config table query template for each config table listed in the database.
Public methodGetCurrentFilterId
Returns the id of the currently loaded filter if there is one.
Public methodGetDataRow
Returns the database record for this filter.
Public methodGetFilterCreatedOn
Returns the filter creation date.
Public methodGetFilterDesc
Returns the filter description.
Public methodGetFilterFromWizard
Returns if this filter is from a wizard.
Public methodGetFilterIcon
Returns the filter icon name.
Public methodGetFilterIsPublic
Returns the filter is public flag.
Public methodGetFilterMode
Gets the filter mode for this object.
Public methodGetFilterName
Returns the filter name.
Public methodGetFilterPopulationStatLoadingComplete
Returns true if the population results have been loaded.
Public methodGetFilterType
Represents the current filter type.
Public methodGetHasPopStats
Returns true if this filter has its population statistics loaded.
Public methodGetHasReports
Returns true if this object has reports.
Public methodGetHasStats
Returns true if this object has statistics.
Public methodGetJoinType
Returns the join type used here.
Public methodGetLegacyCriteriaObject
Returns a copy of the legacy criteria object as a basic object.
Public methodGetMaxReports
Returns the conifgured number of max reports.
Public methodGetMaxStatistics
Returns the maximum statistics value for the app.
Public methodGetPopData
Returns the population statistics data set for this filter object.
Public methodGetPopStatCount
Returns the number of population statistics found, should always be the same number.
Public methodGetPopulationStatisticsErrorCount
Returns an error count from the QueryResultSet received from the population statistics data load.
Public methodGetPopulationStatisticsQueryResultSet
Returns a QueryResultSet from the population statistics data load.
Public methodGetPrctGeoCodedDbl
Returns a double representation of the current geo coding percentage.
Public methodGetPrctGeoCodedStr
Returns a string representation of the current geo coding percentage.
Public methodGetReportAtIndex
Returns the ReportObj at the given index.
Public methodGetReportCount
Reports the number of report entries.
Public methodGetReportIndexOfReportWithId
Returns a report index for the object with the given id.
Public methodGetReportList
Returns a reference to the report list object.
Public methodGetReportWithId
Returns a report object with the given id.
Public methodGetReportWithName
Returns a ReportObj with the given name.
Public methodGetSqlCoded
Returns the coded version of the SQL for this filter object.
Public methodGetSqlLiteral
Returns the literal version of the SQL for this filter object.
Public methodGetSqlQueryCoded
Returns the coded sql query object.
Public methodGetSqlQueryLiteral
Returns the literal sql query object.
Public methodGetStatAtIndex
Returns the statistic object at the given index.
Public methodGetStatCount
Returns the number of statistics found.
Public methodGetStatData
Returns the stat data for this filter object.
Public methodGetStatisticsErrorCount
Returns an error count from the QueryResultSet received from the statistics data load.
Public methodGetStatisticsQueryResultSet
Returns a QueryResultSet from the statistics data load.
Public methodGetStatList
Returns a reference to the statistic list object.
Public methodGetStatResultsLoadingComplete
Returns true of the statistic results have been loaded.
Public methodGetStatWithId
Returns the currently loaded statistics with the given stat id.
Public methodGetStatWithName
Returns the currently loaded statistic with the given name.
Public methodGetUserId
Returns the user id of the current filter object.
Public methodLoadFilter(String)
Loads a filter from the database row data.
Public methodLoadFilter(String, Boolean)
Loads a filter from the database row data.
Public methodLoadFilterPopulationStats
Loads up the population statistics for this filter object.
Private methodLoadFilterPopulationStatsAsync
Runs the population statistic load in a thread.
Public methodLoadReports 
Loads reports with the given default information.
Public methodLoadReports(String, String)
Loads a set of reports for the given criteria.
Public methodLoadStatistics 
Loads the statistics for this filter obj using the filter object's username and filter id. Defaults passive to false.
Public methodLoadStatistics(Boolean)
Loads the statistics for this filter obj using the filter object's username and filter id.
Public methodLoadStatistics(String, String)
Loads up statistic information, forces a recalculation of the statistics payload.
Public methodLoadStatistics(String, String, Boolean)
Loads up associated statistics for this filter object if they exist. Passive = true, won't run statistics payload. Passive = false, will run statistics payload.
Public methodLoadStatResults
Runs the stat results calculation.
Private methodLoadStatResultsAsync
Runs the stat resutls calculation in a thread.
Private methodNormalizeLegacyFilterObject
Normalize legacy filter data for updated filter object use.
Private methodNormalizeUpdatedFilterObject
Normalize filter object data for use.
Private methodPrep
Prepares some class variables for a filter load.
Private methodPrintLegacyCriteriaObj
Print the contents of a legacy Criteria object.
Private methodPrintLegacyCriterionObj
Prints the contents of a legacy Criterion object.
Public methodResetStatLoadingFlags
Resets the statistic loading flags for forcing a stat reload.
Public methodSetFilterMode
Sets the filter mode for this object.
Public methodSetJoinType
Set the join type.
Public methodSetMaxReports
Sets the maximum number of reports that can be associated with a filter object.
Public methodSetMaxStatistics
Sets the maximum statistics value for the app.
Public methodSetPopData
Sets the population statistic data to the given data table.
Public methodSetStatData
Sets the user statistic data to the given data table.
Public methodSetStatResultsLoadingComplete
Sets the stat results loading complete bool tp the given argument.
Public methodToString
Overridden ToString method, prints out information about this filter object.
(Overrides Object ToString .)
Private methodwr
Logging method only works if the logging boolean is toggled.
Back to Top
Fields

  NameDescription
Private fieldStatic memberASYNC
Controls whether or not statistics and reports are loaded up asynchronously.
Private fieldconfigTables
Holds the filter systems list of tables used to build queries on.
Private fieldconfigTableSelect
Query template used to load the top row from each filter config table. Row is used for column name and data type information.
Private fieldcoreTables
The table that holds the db table linking data.
Private fieldcurrentFilterId
Holds the current filter id.
Private fieldfilterEntry
Holds the data in the FILTER table for a given filter id.
Private fieldjoin
Toggles the join type used when building the filter query.
Private fieldkey
Encrypted key for communicating with the web service.
Private fieldlegacyFilterObjColumn
Database column that holds the legacy binary serialized filter object data.
Private fieldlogging
Turns console logging on and off
Private fieldmaxReports
Holds the maximum number of statistic entries in the system.
Private fieldmaxStats
Holds the maximum number of statistic entries in the system.
Private fieldmode
Toggles the filter mode used when building the filter query.
Private fieldStatic memberNO_LOADING
If true, prevents loading of pop stats, user stats, and user reports on the server side.
Private fieldnoConfigTableSchemaFoundErrMsg
Error message for not being able to load a row from a config table.
Private fieldnoConfigTablesErrMsg
Error message for not being able to load the config tables list.
Private fieldnoFilterEntryErrMsg
Error message for not being able to load the filter entry.
Private fieldp4s2CriteriaObj
Legacy object support, used to bring binary data from the filter table into a VB object. New entries will use serialized text or XML that is base64 encoded.
Private fieldpopData
Holds the population statistics for this filter object.
Private fieldpopQrs
Holds information about all of the queries ran for the filter's basic statistics.
Private fieldpopStatLoadingComplete
Keeps track of the state of the population statistics loading.
Private fieldprctGeoCodedDbl
Holds the percent of geocoded claims associated with thise filter.
Private fieldprctGeoCodedStr
Private fieldqueryCoded
Holds the current filter query in object form. This query is to be used for the actual database call and uses a coded value that users couldn't understand.
Private fieldqueryLegacyCoded
SqlQuery object used to hold legacy query information in coded form.
Private fieldqueryLegacyIdx
Internal variable that tracks the index of the SqlTokens as they are built from legacy objects.
Private fieldqueryLegacyLevel
Internal variable for tracking the recursive levels of the legacy filter object.
Private fieldqueryLegacyLiteral
SqlQuery object used to hold legacy query information in literal form.
Private fieldqueryLiteral
Holds the current filter query in object form. This query is to be used for the literal representation the user sees in the presentation layer.
Private fieldreports
Holds all associated report objects.
Private fieldsecretKey
Clear key used to communicate with the web service.
Private fieldstatData
Holds the statistics results set for this filter.
Private fieldstatQrs
Holds information about all of the queries ran for this filter's statistics.
Private fieldstatResultsLoadingComplete
Keeps track of the state of the stat results loading.
Private fieldstats
Holds all associated statistic objects.
Private fieldsvc
Reference to the web service.
Private fieldtableSchema
Holds a DataRow from each of the config tables, references by table name.
Private fieldtestMode
Turns on test mode to use TSRCSERVER7 for filter entries.
Private fieldtype
The type of filter we have, legacy or new
Private fieldunexpectedLegacyObjetcErrMsg
Error message for when the binary legacy data can't be loaded into a Criteria object.
Private fieldupdatedFilterObjColumnCoded
Database column that holds the new text serialized filter object data, coded version.
Private fieldupdatedFilterObjColumnLiteral
Database column that holds the new test serialized filter object data, literal version.
Back to Top
See Also