Subversion Repositories SmartDukaan

Rev

Rev 37211 | Rev 37254 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37211 Rev 37244
Line 12... Line 12...
12
 
12
 
13
    List<ModelHotDeal> getDealsForBrand(int brandId);
13
    List<ModelHotDeal> getDealsForBrand(int brandId);
14
 
14
 
15
    long countActive(int brandId);
15
    long countActive(int brandId);
16
 
16
 
17
    void addDeal(int brandId, int catalogItemId, LocalDate startDate, LocalDate endDate, String user)
17
    void addDeal(int brandId, int catalogItemId, LocalDate startDate, LocalDate endDate,
18
            throws ProfitMandiBusinessException;
18
                 HotDealAttributes attributes, String user) throws ProfitMandiBusinessException;
19
 
19
 
20
    void updateDates(int id, LocalDate startDate, LocalDate endDate, String user)
20
    void updateDeal(int id, LocalDate startDate, LocalDate endDate,
21
            throws ProfitMandiBusinessException;
21
                    HotDealAttributes attributes, String user) throws ProfitMandiBusinessException;
22
 
22
 
23
    void removeDeal(int id) throws ProfitMandiBusinessException;
23
    void removeDeal(int id) throws ProfitMandiBusinessException;
24
}
24
}