|
SalesPoint Framework v3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An action that can be associated with a MenuSheetItem
or
FormSheet button
.
Actions are triggered when there associated control is clicked. They can run in
the context of a Shop
, possibly a SalesPoint
, and also maybe a SaleProcess
.
Method Summary | |
void |
doAction(SaleProcess p,
SalesPoint sp)
Perform the actual action. |
Method Detail |
public void doAction(SaleProcess p, SalesPoint sp) throws Throwable
The parameters define the context in which the action is performed:
Shop.getTheShop()
.sp != null
, sp
will define the SalesPoint
that is the context of this action.p != null
, p
will define the SaleProcess
that is the context of this action.Note, that virtually any combination of the parameters makes sense.
p
- the SaleProcess context of the action.sp
- the SalesPoint context of the action.
Throwable
- on any error that shall be reported and lead to cancellation of
the action.
|
SalesPoint Framework v3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |