arlas-wui-toolkit / Exports / ArlasExportCsvService

Class: ArlasExportCsvService

Table of contents

Constructors

Methods

Constructors

constructor

new ArlasExportCsvService(collaborativesearchService, configService, settingsService, translate)

Parameters

Name Type
collaborativesearchService ArlasCollaborativesearchService
configService ArlasConfigService
settingsService ArlasSettingsService
translate TranslateService

Defined in

projects/arlas-toolkit/src/lib/services/export-csv/export-csv.service.ts:17

Methods

compute

compute(contributor, contributorType?): Observable<AggregationResponse>

Parameters

Name Type
contributor Contributor
contributorType? string

Returns

Observable<AggregationResponse>

Defined in

projects/arlas-toolkit/src/lib/services/export-csv/export-csv.service.ts:42


export

export(contributor, stayAtFirstLevel, contributorType?): Observable<Blob>

Parameters

Name Type
contributor Contributor
stayAtFirstLevel boolean
contributorType? string

Returns

Observable<Blob>

Defined in

projects/arlas-toolkit/src/lib/services/export-csv/export-csv.service.ts:20


fetchHistogramData

fetchHistogramData(contributor): Observable<AggregationResponse>

Parameters

Name Type
contributor any

Returns

Observable<AggregationResponse>

Defined in

projects/arlas-toolkit/src/lib/services/export-csv/export-csv.service.ts:68