SalesPoint Framework v3.0

Hook: Define Quit Conditions For Process


Requirement

A process is needed, that cannot be cancelled or suspended or that places non-standard conditions on the two operations.

By default, processes can only be suspended, but not cancelled, by the user. This means, it is possible to shut down the Shop regardless of whether processes are running, provided the Shop state is saved upon shutdown and restored upon restart. If you want processes that cannot be extended over several sessions, or processes that can be cancelled at any time by closing the Shop, or if you need to place any other condition (like checking consistency) upon process cancellation, use this Hook.

Method of Adaptation
Replace Feature
Level of Support
Parameter Pattern  
HotSpot
Processes
Hooks used
Define a new process , Incorporate a new process
Participants
NewProcess

Changes

  1. NewProcess = Define a new process [NewProcess].
  2. NewProcess.canQuit overrides SaleProcess.canQuit .
  3. Incorporate a new process [Process = NewProcess].

Comments


SalesPoint Framework v3.0