Skip to content

arlas-web-core > "models/contributor" > Contributor

Class: Contributor

Hierarchy

Contributor

Index

Constructors

Properties

Methods


Constructors

constructor

new Contributor(identifier: string, configService: ConfigService, collaborativeSearcheService: CollaborativesearchService): Contributor

Defined in models/contributor.ts:29

Parameters:

Name Type Description
identifier string string identifier of the contributor.
configService ConfigService configService of the contributor.
collaborativeSearcheService CollaborativesearchService

Returns: Contributor


Properties

collaborativeSearcheService

● collaborativeSearcheService: CollaborativesearchService

Defined in models/contributor.ts:36


configService

● configService: ConfigService

Defined in models/contributor.ts:35

configService of the contributor.


identifier

● identifier: string

Defined in models/contributor.ts:34

string identifier of the contributor.


Methods

<Abstract> computeData

computeData(data: any): any

Defined in models/contributor.ts:84

Parameters:

Name Type
data any

Returns: any


<Abstract> fetchData

fetchData(collaborationEvent: CollaborationEvent): Observable<any>

Defined in models/contributor.ts:82

Parameters:

Name Type
collaborationEvent CollaborationEvent

Returns: Observable<any>


getConfigValue

getConfigValue(key: string): any

Defined in models/contributor.ts:60

Parameters:

Name Type Description
key string a `key` defined in configuration.

Returns: any value of the key in configuration.


<Abstract> getFilterDisplayName

getFilterDisplayName(): string

Defined in models/contributor.ts:80

Returns: string name and live informations about filter contributor.


getName

getName(): string

Defined in models/contributor.ts:74

Returns: string name of contributor set in configuration.


<Abstract> getPackageName

getPackageName(): string

Defined in models/contributor.ts:54

Returns: string package name of contributor used in configuration.


<Abstract> setData

setData(data: any): any

Defined in models/contributor.ts:86

Parameters:

Name Type
data any

Returns: any


<Abstract> setSelection

setSelection(data: any, c: Collaboration): any

Defined in models/contributor.ts:88

Parameters:

Name Type
data any
c Collaboration

Returns: any