Class: ResourceGraphService
Constructors​
constructor​
• new ResourceGraphService(apHelper, apService, resourceMapper, prefixCc)
Parameters​
| Name | Type |
|---|---|
apHelper | ApHelper |
apService | ApService |
resourceMapper | ResourceMapper |
prefixCc | PrefixCcService |
Defined in​
ng-application-profile/src/lib/services/resource-graph.service.ts:24
Methods​
_resourceToJsonModel​
â–¸ Private _resourceToJsonModel<T>(data, ap?): Object
Type parameters​
| Name | Type |
|---|---|
T | extends JsonModel |
Parameters​
| Name | Type |
|---|---|
data | Resource<{}> |
ap? | ApplicationProfile |
Returns​
Object
| Name | Type |
|---|---|
json | T |
references | Object |
Defined in​
ng-application-profile/src/lib/services/resource-graph.service.ts:157
getAp​
â–¸ Private getAp(ap): ApplicationProfile
Parameters​
| Name | Type |
|---|---|
ap | ApplicationProfileOrApName |
Returns​
Defined in​
ng-application-profile/src/lib/services/resource-graph.service.ts:176
jsonModelToResourceGraph​
â–¸ Private jsonModelToResourceGraph(json, ap, alreadyTransformed?): undefined | ResourceGraph
Parameters​
| Name | Type |
|---|---|
json | undefined | JsonModel |
ap | ApplicationProfile |
alreadyTransformed | Set<string> |
Returns​
undefined | ResourceGraph
Defined in​
ng-application-profile/src/lib/services/resource-graph.service.ts:88
jsonModelToResourceGraphRaw​
â–¸ jsonModelToResourceGraphRaw(json, apLike): undefined | ResourceGraphRaw
Parameters​
| Name | Type |
|---|---|
json | undefined | JsonModel |
apLike | ApplicationProfileOrApName |
Returns​
undefined | ResourceGraphRaw
Defined in​
ng-application-profile/src/lib/services/resource-graph.service.ts:31
resourceGraphRawToJsonModel​
â–¸ resourceGraphRawToJsonModel(rawSource, apLike?): JsonModel
Parameters​
| Name | Type |
|---|---|
rawSource | ResourceGraphRaw |
apLike? | ApplicationProfileOrApName |
Returns​
Defined in​
ng-application-profile/src/lib/services/resource-graph.service.ts:52
shortenUri​
â–¸ Private shortenUri(uri): string
Parameters​
| Name | Type |
|---|---|
uri | string |
Returns​
string
Defined in​
ng-application-profile/src/lib/services/resource-graph.service.ts:152