Services library
Services library
Services library contains wrapper services, it contains:
- Services
- dataService
- AsolApiDataService – wrapper around http client it provides CRUD methods
- AsolContentManagerService – provides basic CRUD operations around content manager
- AsolCustomizationService – service to get and store user customizations
- AsolFileDataService – service to get and upload blobs
- AsolImageDataService – service to get images as dataUrl
- AsolPersonPictureService – service to get person picture from subject manager
- AsolPublicAttributesDataService – service to get data from product catalog
- AsolErrorHandlingService – service to show error messages
- AsolDialogMessageService – contains service for opening dialog windows
- AsolDownloadService - contains service for downloading assets
- AsolFlagService – service to provide flags
- AsolGoogleTagManagerService - abstract class containing basic methods to add GTM to apps
- AsolLicenseService - contains methods to get licenses
- AsolNavigationService - this service is used to open pages in new tab and show dialog if used has blocked pop-up windows
- AsolSubjectManagerService - service used to manager current logged user data
- AsolTelemetryService – serevice to get and store telemetry data
- AsolMediaQueryService – service for checking if page resolution is mobile or desktop
- Shared
- ASOL_CONTENT_TYPE – constant for content types
Constants
ASOL_DIALOG_SIZE- dialog window size (width) options as part ofopenDialogfunction configurationASOL_DIALOG_SMALL- 398 pxASOL_DIALOG_MEDIUM- 736 pxASOL_DIALOG_LARGE- 1200 px
Details of services
AsolApiDataService
The AsolApiDataService is a wrapper around the Angular HttpClient and provides methods for CRUD operations. Details of the methods are described in the API requests documentation.