arlas-wui-toolkit / Exports / ArlasCollectionService
Class: ArlasCollectionService
Hierarchy
BaseCollectionService
↳ ArlasCollectionService
Table of contents
Constructors
Properties
Methods
- _initDisplayNames
- _initUnits
- flatten
- getAllUnits
- getCollectionFromDashboard
- getDisplayFieldName
- getDisplayName
- getUnit
- isUnitIgnored
Constructors
constructor
• new ArlasCollectionService(collaborativeService
, configService
, arlasStartupeService
)
Parameters
Name | Type |
---|---|
collaborativeService |
ArlasCollaborativesearchService |
configService |
ArlasConfigService |
arlasStartupeService |
ArlasStartupService |
Overrides
BaseCollectionService.constructor
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:31
Properties
FLAT_CHAR
• FLAT_CHAR: string
= '_'
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:30
displayFieldName
• displayFieldName: Map
<string
, string
>
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:29
Methods
_initDisplayNames
▸ Protected
_initDisplayNames(): void
Returns
void
Overrides
BaseCollectionService._initDisplayNames
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:57
_initUnits
▸ Protected
_initUnits(): void
Returns
void
Overrides
BaseCollectionService._initUnits
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:40
flatten
▸ flatten(f
): string
Parameters
Name | Type |
---|---|
f |
string |
Returns
string
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:107
getAllUnits
▸ getAllUnits(): CollectionUnit
[]
Returns
Overrides
BaseCollectionService.getAllUnits
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:79
getCollectionFromDashboard
▸ getCollectionFromDashboard(config
): Set
<string
>
Parameters
Name | Type |
---|---|
config |
any |
Returns
Set
<string
>
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:98
getDisplayFieldName
▸ getDisplayFieldName(fieldName
): string
Parameters
Name | Type |
---|---|
fieldName |
string |
Returns
string
Overrides
BaseCollectionService.getDisplayFieldName
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:87
getDisplayName
▸ getDisplayName(collectionName
): string
Parameters
Name | Type |
---|---|
collectionName |
string |
Returns
string
Overrides
BaseCollectionService.getDisplayName
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:83
getUnit
▸ getUnit(collectionName
): string
Parameters
Name | Type |
---|---|
collectionName |
string |
Returns
string
Overrides
BaseCollectionService.getUnit
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:72
isUnitIgnored
▸ isUnitIgnored(collectionName
): boolean
Parameters
Name | Type |
---|---|
collectionName |
string |
Returns
boolean
Defined in
projects/arlas-toolkit/src/lib/services/collection/arlas-collection.service.ts:91