Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES
Hook: React to Adding or Removing Of SalesPoint
Requirement
A reaction is necessary, whenever a SalesPoint is added to, or removed from, the Shop.
Method of Adaptation
Augment feature
Level of Support
Parameter Pattern
HotSpot
Application architecture
Hooks used
Incorporate new Shop
Participants
Shop
, NewShop
Changes
subclass NewShop of Shop.
if reaction to adding of SalesPoints necessary:
NewShop.onSalesPointAdded overrides
Shop.onSalesPointAdded
.
synchronisation (Shop.onSalesPointAdded, additional reactions).
if reaction to removal of SalesPoints necessary:
NewShop.onSalesPointRemoved overrides
Shop.onSalesPointRemoved
.
synchronisation (Shop.onSalesPointRemoved, additional reactions).
Incorporate new Shop
[NewShop = NewShop].
Comments
If you need to write a log entry when a point of sale was opened or closed, rather use
Log Opening And Closing Of SalesPoints
.
Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES