Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES
Hook: Incorporate a process that does not need user interaction
Requirement
A process needs to be started, but does not need user communication.
Method of Adaptation
Enable Feature
Level of Support
Parameter Pattern
HotSpot
Processes
Hooks used
Define a new process
,
Define Shop MenuSheet
Participants
Process
,
User
, u ,
DataBasket
, db ,
shopInstance
Changes
Process =
Define a new process
[NewProcess].
Define Shop MenuSheet
with an option that has an associated action of:
Select instance u of User or subclass.
Select or create instance db of DataBasket.
call
shopInstance.runBackgroundProcess
with parameters instance of Process, u, db.
Constraints
The process may not have any process local stocks or catalogs, as the context will (conceptually) be the Shop.
Comments
The selected user will become the current user of the process'
ProcessContext
.
The selected DataBasket will become the process'
DataBasket
.
Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES