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