libs/pfe-connector/src/lib/pfe-facade.ts
The PFE Facades is our main binding between the PFE State and our Building Blocks. A) State is saved into the PFE whenever it's changed B) State is restored from PFE only upon connect. This means if the PFE changes the store value of our Building Block while already connected our Building Block will not get that data delivered. This is currently expected behavior as we really don't won't the PFE to interfere with our Building Block outside of our defined lifecycle of connect/update/disconnect.
Properties |
Methods |
constructor(buildingBlock: BuildingBlockInterface, _pfeBusinessService: PfeBusinessService, buildingBlockMetaService: BuildingBlockMetaService, frameNavigationService: TalyFrameNavigationService, pfeResourcesService: TalyResourcesService, businessEventService: TalyBusinessEventService, aclService: AclService, pfeTrackingService: PfeTrackingService | null)
|
|||||||||||||||||||||||||||
Defined in libs/pfe-connector/src/lib/pfe-facade.ts:37
|
|||||||||||||||||||||||||||
Parameters :
|
stateChangesObservable |
Type : Observable<>
|
Defined in libs/pfe-connector/src/lib/pfe-facade.ts:34
|
_isConnected |
Default value : false
|
Inherited from
AbstractBuildingBlockFacade
|
Defined in
AbstractBuildingBlockFacade:9
|
connected$ |
Default value : new Subject<void>()
|
Inherited from
AbstractBuildingBlockFacade
|
Defined in
AbstractBuildingBlockFacade:11
|
disconnected$ |
Default value : new Subject<void>()
|
Inherited from
AbstractBuildingBlockFacade
|
Defined in
AbstractBuildingBlockFacade:10
|
connect |
connect()
|
Inherited from
AbstractBuildingBlockFacade
|
Defined in
AbstractBuildingBlockFacade:169
|
Returns :
void
|
disconnect |
disconnect()
|
Inherited from
AbstractBuildingBlockFacade
|
Defined in
AbstractBuildingBlockFacade:338
|
Returns :
void
|
Static create | ||||||
create(block: BuildingBlockInterface)
|
||||||
Inherited from
AbstractBuildingBlockFacade
|
||||||
Defined in
AbstractBuildingBlockFacade:17
|
||||||
Parameters :
Returns :
AbstractBuildingBlockFacade
|
markFormGroupAsTouched |
markFormGroupAsTouched()
|
Inherited from
AbstractBuildingBlockFacade
|
Defined in
AbstractBuildingBlockFacade:66
|
Returns :
void
|