@Transactional
public interface IStatisticService
Modifier and Type | Method and Description |
---|---|
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
|
void doManageProductSaving(ShowDTO product)
product
- The product of the productStatistic to modify in databaseList<ResultStatistic> getProductStatistic(String strTimesUnit, String strDateDebut, String strDateFin)
strTimesUnit
- the time unitstrDateDebut
- the date beginstrDateFin
- teh date endInteger getCountProductsByDates(String strDateDebut, String strDateFin)
strDateDebut
- the date beginstrDateFin
- teh date endvoid doManagePurchaseSaving(ReservationDTO purchaseDTO)
purchaseDTO
- The purchase of the purchaseStatistic to modify in databaseList<ResultStatistic> getPurchaseStatistic(String strTimesUnit, String strDateDebut, String strDateFin)
strTimesUnit
- the time unitstrDateDebut
- the date beginstrDateFin
- teh date endInteger getCountPurchasesByDates(String strDateDebut, String strDateFin)
strDateDebut
- the date beginstrDateFin
- the date endInteger 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 productCopyright © 2020 City of Paris. All rights reserved.