platform-components-ng/projects/platform-components-lib/src/lib/components/forms/service/linked-attributes.service.ts
Linked attributes service
Methods |
constructor()
|
| getAttibutesDataSourceLevel | ||||||||||||
getAttibutesDataSourceLevel(contextId: string, attributeId: number)
|
||||||||||||
|
Get DataSourceLevel.
Parameters :
Returns :
number
number |
| getAttibutesLinkedData | ||||||||||||
getAttibutesLinkedData(contextId: string, attributeId: number)
|
||||||||||||
|
Lnked data associated with attribute.
Parameters :
Returns :
AttributeLinkData
AttributeLinkData. |
| getLinkedChildAttributes | ||||||||||||
getLinkedChildAttributes(contextId: string, attributeId: number)
|
||||||||||||
|
Get linked child attributes.
Parameters :
Returns :
number[]
number[] |
| getLinkedParentAttributes | ||||||||||||
getLinkedParentAttributes(contextId: string, attributeId: number)
|
||||||||||||
|
Get linked parent attributes.
Parameters :
Returns :
number[]
number[] |
| getParentData | ||||||||||||
getParentData(contextId: string, attributeId: number)
|
||||||||||||
|
Get linked parent attributes selection.
Parameters :
Returns :
any
any |
| hasLinkedChildAttribs | ||||||||||||
hasLinkedChildAttribs(contextId: string, attributeId: number)
|
||||||||||||
|
Check for linked child attributes.
Parameters :
Returns :
boolean
boolean |
| hasLinkedParentAttribs | ||||||||||||
hasLinkedParentAttribs(contextId: string, attributeId: number)
|
||||||||||||
|
Check for linked parent attributes.
Parameters :
Returns :
boolean
boolean |
| registerAttribute | ||||||||||||||||||||
registerAttribute(contextId: string, attributeId: number, linkConfig: string, selectedValueIds: number[])
|
||||||||||||||||||||
|
Register attribute with service.
Parameters :
Returns :
boolean
boolean |
| unRegisterAttribute | ||||||||||||
unRegisterAttribute(contextId: string, attributeId: number)
|
||||||||||||
|
Un-Register attribute from service.
Parameters :
Returns :
void
void |
| updateLinkedAttributes | ||||||||||||||||
updateLinkedAttributes(contextId: string, attributeId: number, selectedValueIds: number[])
|
||||||||||||||||
|
Notify linked child attributes about selected values.
Parameters :
Returns :
void
void |