|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.stock.service.PurchaseRules
@Transactional public class PurchaseRules
To be overrided. Default implementation for purchase rules.
Constructor Summary | |
---|---|
PurchaseRules()
|
Method Summary | |
---|---|
void |
checkBeforePurchase(IPurchaseDTO purchase,
java.lang.String sessionId)
Called before to save the purchase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PurchaseRules()
Method Detail |
---|
public void checkBeforePurchase(IPurchaseDTO purchase, java.lang.String sessionId) throws PurchaseOutOfStock, PurchaseSessionExpired
checkBeforePurchase
in interface IPurchaseRules
purchase
- the purchasesessionId
- the session id
PurchaseOutOfStock
PurchaseSessionExpired
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |