File

src/app/services/image-data/image-data.service.ts

Description

Data connection service.

Retrieves data from a project server.

Index

Methods

Constructor

constructor(httpClient: HttpClient)

Constructs the data service. ~constructor

Parameters :
Name Type Optional Description
httpClient HttpClient No

The http client for requests to the server.

Methods

getAccomplishmentAuthorityImageUri
getAccomplishmentAuthorityImageUri(imageName: string)

Retrieves an accomplishment authority image URI.

Parameters :
Name Type Optional Description
imageName string No

The image name.

Returns : string

The accomplishment authority image URI.

getAccomplishmentCertificateImageUri
getAccomplishmentCertificateImageUri(imageName: string, full: boolean)

Retrieves an accomplishment certificate image URI.

Parameters :
Name Type Optional Default value Description
imageName string No

The image name.

full boolean No false

The full-size-resource switcher request.

Returns : string

The accomplishment certificate image URI.

getAccomplishmentCertificateLogoImageUri
getAccomplishmentCertificateLogoImageUri(imageName: string, full: boolean)

Retrieves an accomplishment certificate logo image URI.

Parameters :
Name Type Optional Default value Description
imageName string No

The image name.

full boolean No false

The full-size-resource switcher request.

Returns : string

The accomplishment certificate logo image URI.

getAccomplishmentPublicationLogoImageUri
getAccomplishmentPublicationLogoImageUri(imageName: string, full: boolean)

Retrieves an accomplishment publication logo image URI.

Parameters :
Name Type Optional Default value Description
imageName string No

The image name.

full boolean No false

The full-size-resource switcher request.

Returns : string

The accomplishment publication logo image URI.

getAssetUri
getAssetUri(imageName: string)

Retrieves an asset image URI. ~delegate

Parameters :
Name Type Optional Description
imageName string No

The image name.

Returns : string

The asset image URI.

getBackgroundLogoImageUri
getBackgroundLogoImageUri(imageName: string)

Retrieves a background logo image URI.

Parameters :
Name Type Optional Description
imageName string No

The image name.

Returns : string

The background logo image URI.

getProjectLogoUri
getProjectLogoUri(imageName: string)

Retrieves a project logo image URI.

Parameters :
Name Type Optional Description
imageName string No

The image name.

Returns : string

The project logo image URI.

getProjectProjectImageUri
getProjectProjectImageUri(imageName: string, full: boolean)

Retrieves a project image URI.

Parameters :
Name Type Optional Default value Description
imageName string No

The image name.

full boolean No false

The full-size-resource switcher request.

Returns : string

The project image URI.

urlResolve
urlResolve(base: string, url: string)

Resolves an url to a base.

Parameters :
Name Type Optional Description
base string No

The base.

url string No

The url to process.

Returns : string

The resolved url.

results matching ""

    No results matching ""