arlas-wui-toolkit > "src/app/services/export-csv/export-csv.service" > ArlasExportCsvService

Class: ArlasExportCsvService

Hierarchy

ArlasExportCsvService

Index

Constructors

Methods


Constructors

constructor

new ArlasExportCsvService(collaborativesearchService: ArlasCollaborativesearchService, configService: ArlasConfigService, translate: TranslateService): ArlasExportCsvService

Defined in src/app/services/export-csv/export-csv.service.ts:15

Parameters:

Name Type
collaborativesearchService ArlasCollaborativesearchService
configService ArlasConfigService
translate TranslateService

Returns: ArlasExportCsvService


Methods

compute

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

Defined in src/app/services/export-csv/export-csv.service.ts:42

Parameters:

Name Type
contributor Contributor
Optional contributorType string

Returns: Observable<AggregationResponse>


export

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

Defined in src/app/services/export-csv/export-csv.service.ts:20

Parameters:

Name Type
contributor Contributor
stayAtFirstLevel boolean
Optional contributorType string

Returns: Observable<Blob>


fetchHistogramData

fetchHistogramData(contributor: any): Observable<AggregationResponse>

Defined in src/app/services/export-csv/export-csv.service.ts:68

Parameters:

Name Type
contributor any

Returns: Observable<AggregationResponse>