fr.paris.lutece.plugins.stock.service
Interface IPurchaseRules
- All Known Implementing Classes:
- PurchaseRules
public interface IPurchaseRules
Interface implemented by class that check business rules.
checkBeforePurchase
void checkBeforePurchase(IPurchaseDTO purchase,
java.lang.String sessionId)
throws PurchaseException
- Called before to save the purchase. Should be used for checking if
purchase is allow.
- Parameters:
purchase
- the purchasesessionId
- the session id
- Throws:
PurchaseException
- the purchase exception
Copyright © 2012 Mairie de Paris. All Rights Reserved.