| 24383 |
amit.gupta |
1 |
package com.spice.profitmandi.dao.repository.cs;
|
|
|
2 |
|
| 24417 |
govind |
3 |
import java.util.List;
|
|
|
4 |
import java.util.Map;
|
|
|
5 |
|
| 24383 |
amit.gupta |
6 |
import org.springframework.stereotype.Service;
|
|
|
7 |
|
| 24439 |
govind |
8 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 24417 |
govind |
9 |
import com.spice.profitmandi.common.model.CustomRetailer;
|
|
|
10 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
| 24383 |
amit.gupta |
11 |
import com.spice.profitmandi.dao.entity.cs.Activity;
|
| 24471 |
govind |
12 |
import com.spice.profitmandi.dao.entity.cs.Position;
|
|
|
13 |
import com.spice.profitmandi.dao.entity.cs.Region;
|
| 24417 |
govind |
14 |
import com.spice.profitmandi.dao.entity.cs.Ticket;
|
| 24439 |
govind |
15 |
import com.spice.profitmandi.dao.entity.cs.TicketCategory;
|
| 24417 |
govind |
16 |
import com.spice.profitmandi.dao.entity.cs.TicketSubCategory;
|
| 24383 |
amit.gupta |
17 |
|
|
|
18 |
@Service
|
|
|
19 |
public interface CsService {
|
|
|
20 |
//Sends happy code to customer
|
|
|
21 |
void addActivity(int ticketId, Activity activity);
|
| 24439 |
govind |
22 |
void createTicket(int fofoId,int categoryId, int subcategoryId, String message) throws ProfitMandiBusinessException;
|
| 24417 |
govind |
23 |
public void addPartnerToRegion(int regionId, List<Integer> fofoIds) ;
|
|
|
24 |
public Map<Integer,TicketSubCategory> getSubCategoryIdAndSubCategoryMap(List<Ticket> tickets);
|
|
|
25 |
public Map<Integer,AuthUser> getAuthUserIdAndAuthUserMap(List<Ticket> tickets);
|
|
|
26 |
public Map<Integer,CustomRetailer> getPartnerByFofoIds(List<Ticket> tickets);
|
| 24439 |
govind |
27 |
public List<TicketCategory> getAllTicketCategotyFromSubCategory();
|
| 24471 |
govind |
28 |
public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMapUsingPositions(List<Position> positions);
|
|
|
29 |
public Map<Integer, TicketCategory> getCategoryIdAndCategoryUsingPositions(List<Position> positions);
|
|
|
30 |
public Map<Integer,Region> getRegionIdAndRegionMap(List<Position> positions);
|
| 24417 |
govind |
31 |
}
|