|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Transactional public interface IStatisticService
The Interface IStatisticService.
| Method Summary | |
|---|---|
void |
doManageProductSaving(ShowDTO product)
Modifies a productStatistic |
void |
doManagePurchaseSaving(ReservationDTO purchaseDTO)
Modifies a purchaseStatistic |
void |
doRemoveProductStatisticByIdProduct(java.lang.Integer nIdProduct)
remove all product statistic associated to the product identifier |
void |
doRemovePurchaseStatisticByIdPurchase(java.lang.Integer nIdPurchase)
remove all purchase statistic associated to the purchase identifier |
java.lang.Integer |
getCountProductALAffiche()
get the product showing count |
java.lang.Integer |
getCountProductAVenir()
get the product forthcoming count |
java.lang.Integer |
getCountProductsByDates(java.lang.String strDateDebut,
java.lang.String strDateFin)
get the products count by dates parameters |
java.lang.Integer |
getCountPurchaseOfDay()
get the purchase day count |
java.lang.Integer |
getCountPurchaseOfMonth()
get the purchase month count |
java.lang.Integer |
getCountPurchasesByDates(java.lang.String strDateDebut,
java.lang.String strDateFin)
get the purchase count by dates parameters. |
java.util.List<ResultStatistic> |
getProductStatistic(java.lang.String strTimesUnit,
java.lang.String strDateDebut,
java.lang.String strDateFin)
get a list of ResultStatistic containing all associations of date and number of product by parameters |
java.util.List<ResultStatistic> |
getPurchaseStatistic(java.lang.String strTimesUnit,
java.lang.String strDateDebut,
java.lang.String strDateFin)
get a list of ResultStatistic containing all associations of date and number of purchase by parameters |
| Method Detail |
|---|
void doManageProductSaving(ShowDTO product)
product - The product of the productStatistic to modify in database
java.util.List<ResultStatistic> getProductStatistic(java.lang.String strTimesUnit,
java.lang.String strDateDebut,
java.lang.String strDateFin)
strTimesUnit - the time unitstrDateDebut - the date beginstrDateFin - teh date end
java.lang.Integer getCountProductsByDates(java.lang.String strDateDebut,
java.lang.String strDateFin)
strDateDebut - the date beginstrDateFin - teh date end
void doManagePurchaseSaving(ReservationDTO purchaseDTO)
purchaseDTO - The purchase of the purchaseStatistic to modify in database
java.util.List<ResultStatistic> getPurchaseStatistic(java.lang.String strTimesUnit,
java.lang.String strDateDebut,
java.lang.String strDateFin)
strTimesUnit - the time unitstrDateDebut - the date beginstrDateFin - teh date end
java.lang.Integer getCountPurchasesByDates(java.lang.String strDateDebut,
java.lang.String strDateFin)
strDateDebut - the date beginstrDateFin - the date end
java.lang.Integer getCountProductALAffiche()
java.lang.Integer getCountProductAVenir()
java.lang.Integer getCountPurchaseOfDay()
java.lang.Integer getCountPurchaseOfMonth()
void doRemoveProductStatisticByIdProduct(java.lang.Integer nIdProduct)
nIdProduct - the identifier of the productvoid doRemovePurchaseStatisticByIdPurchase(java.lang.Integer nIdPurchase)
nIdPurchase - the identifier of the product
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||