src/lib/services/sz-prefs.service.ts
Data Mart related preferences bus class. used by SzPrefsService to store it's DataMart related prefs. Should really be used from SzPrefsService context, not on its own.
Example :this.prefs.datamart.datasource1 = 'MYDS_NAME';
this.prefs.datamart.prefsChanged.subscribe( (prefs) => { console.log('datamart pref change happened.', prefs); })
constructor()
|
publish out a "first" real payload so that subscribers get an initial payload from this subclass instead of the empty superclass |
Public bulkSet |
Type : boolean
|
Default value : false
|
during a bulk property set, set this to true to not publish change events on every single value change |
Public prefChanged |
Type : Subject<literal type>
|
Default value : new Subject<{name: string, value: any}>()
|
subject that can be subscribed to for INDIVIDUAL value change notifications. |
Public prefsChanged |
Type : BehaviorSubject<any>
|
Default value : new BehaviorSubject<any>(this.toJSONObject())
|
behavior subject that can be subscribed to for change notifications. |
typemap |
Type : object
|
Default value : {}
|
Public fromJSONObject | ||||||
fromJSONObject(value: string)
|
||||||
populate values by calling setters with the same names as json keys
Parameters :
Returns :
void
|
Public getPublicPropertiesSchema |
getPublicPropertiesSchema()
|
gets an array of all public json properties and their types
Returns :
{}
|
Public toJSONObject |
toJSONObject()
|
get shallow JSON copy of object state. properties are filtered by members of jsonKeys
Returns :
{}
|
Public toJSONString |
toJSONString()
|
get object state representation as a string
Returns :
string
|
dataSource1 | ||||||
getdataSource1()
|
||||||
first datasource to use in the datamart stats queries
Returns :
string
|
||||||
setdataSource1(value: string)
|
||||||
first datasource to use in the datamart stats queries
Parameters :
Returns :
void
|
dataSource2 | ||||||
getdataSource2()
|
||||||
first datasource to use in the datamart stats queries
Returns :
string
|
||||||
setdataSource2(value: string)
|
||||||
first datasource to use in the datamart stats queries
Parameters :
Returns :
void
|
defaultDataSource1 | ||||||
getdefaultDataSource1()
|
||||||
first datasource to use as the default in datamart stats queries
Returns :
string
|
||||||
setdefaultDataSource1(value: string)
|
||||||
first datasource to use as the default in datamart stats queries
Parameters :
Returns :
void
|
defaultDataSource2 | ||||||
getdefaultDataSource2()
|
||||||
second datasource to use as the default in datamart stats queries
Returns :
string
|
||||||
setdefaultDataSource2(value: string)
|
||||||
second datasource to use as the default in datamart stats queries
Parameters :
Returns :
void
|
defaultMatchLevel | ||||||
getdefaultMatchLevel()
|
||||||
first datasource to use in the datamart stats queries
Returns :
number
|
||||||
setdefaultMatchLevel(value: number)
|
||||||
first datasource to use in the datamart stats queries
Parameters :
Returns :
void
|
defaultStatType | ||||||
getdefaultStatType()
|
||||||
first datasource to use in the datamart stats queries
Returns :
SzCrossSourceSummaryCategoryType
|
||||||
setdefaultStatType(value: SzCrossSourceSummaryCategoryType)
|
||||||
first datasource to use in the datamart stats queries
Parameters :
Returns :
void
|
rememberSelectedDataSources | ||||||
getrememberSelectedDataSources()
|
||||||
if true and there are values for "dataSource1" and/or "dataSource2" then the datatable will default to these previous values
Returns :
boolean
|
||||||
setrememberSelectedDataSources(value: boolean)
|
||||||
if true and there are values for "dataSource1" and/or "dataSource2" then the datatable will default to these previous values
Parameters :
Returns :
void
|
sampleDataSource1 | ||||||
getsampleDataSource1()
|
||||||
first datasource to use in the datamart sampling stats queries
Returns :
string
|
||||||
setsampleDataSource1(value: string)
|
||||||
first datasource to use in the datamart sampling stats queries
Parameters :
Returns :
void
|
sampleDataSource2 | ||||||
getsampleDataSource2()
|
||||||
second datasource to use in the datamart sampling stats queries
Returns :
string
|
||||||
setsampleDataSource2(value: string)
|
||||||
second datasource to use in the datamart sampling stats queries
Parameters :
Returns :
void
|
sampleMatchLevel | ||||||
getsampleMatchLevel()
|
||||||
sample match level parameter to use in stats queries
Returns :
number
|
||||||
setsampleMatchLevel(value: number)
|
||||||
sample match leve parameter to use in stats queries
Parameters :
Returns :
void
|
samplePageSize | ||||||
getsamplePageSize()
|
||||||
sample page size parameter to use in stats queries
Returns :
number
|
||||||
setsamplePageSize(value: number)
|
||||||
sample page size parameter to use in stats queries
Parameters :
Returns :
void
|
sampleSize | ||||||
getsampleSize()
|
||||||
samplesize parameter to use in stats queries
Returns :
number
|
||||||
setsampleSize(value: number)
|
||||||
samplesize parameter to use in stats queries
Parameters :
Returns :
void
|
sampleStatType | ||||||
getsampleStatType()
|
||||||
sample stat type enum member value
Returns :
SzCrossSourceSummaryCategoryType
|
||||||
setsampleStatType(value: SzCrossSourceSummaryCategoryType)
|
||||||
sample stat type enum member value
Parameters :
Returns :
void
|
showAllColumns | ||||||
getshowAllColumns()
|
||||||
whether or not hidden or empty columns are shown by default
Returns :
boolean
|
||||||
setshowAllColumns(value: boolean)
|
||||||
whether or not hidden or empty columns are shown by default
Parameters :
Returns :
void
|
showDiagramHeader | ||||||
getshowDiagramHeader()
|
||||||
whether or not the venn diagrams are expanded
Returns :
boolean
|
||||||
setshowDiagramHeader(value: boolean)
|
||||||
whether or not the venn diagrams are expanded
Parameters :
Returns :
void
|
showMatchKeyFiltersOnSelect | ||||||
getshowMatchKeyFiltersOnSelect()
|
||||||
whether or not prompt the user to select a match key on diagram click
Returns :
boolean
|
||||||
setshowMatchKeyFiltersOnSelect(value: boolean)
|
||||||
whether or not prompt the user to select a match key on diagram click
Parameters :
Returns :
void
|
truncateDataTableCellLines | ||||||
gettruncateDataTableCellLines()
|
||||||
truncate table cell data at X number of lines, or not at all
Returns :
boolean | number
|
||||||
settruncateDataTableCellLines(value: boolean | number)
|
||||||
truncate table cell data at X number of lines, or not at all
Parameters :
Returns :
void
|
wrapDataTableCellLines | ||||||
getwrapDataTableCellLines()
|
||||||
wrap lines displayed in table cells
Returns :
boolean
|
||||||
setwrapDataTableCellLines(value: boolean)
|
||||||
wrap lines displayed in table cells
Parameters :
Returns :
void
|