Subversion Repositories SmartDukaan

Rev

Rev 24701 | Rev 25597 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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;
24500 govind 15
import com.spice.profitmandi.dao.entity.cs.TicketAssigned;
24439 govind 16
import com.spice.profitmandi.dao.entity.cs.TicketCategory;
24417 govind 17
import com.spice.profitmandi.dao.entity.cs.TicketSubCategory;
24383 amit.gupta 18
 
19
@Service
20
public interface CsService {
24500 govind 21
	// Sends happy code to customer
24383 amit.gupta 22
	void addActivity(int ticketId, Activity activity);
24500 govind 23
 
24
	void createTicket(int fofoId, int categoryId, int subcategoryId, String message)
25
			throws ProfitMandiBusinessException;
26
 
27
	public void addPartnerToRegion(int regionId, List<Integer> fofoIds);
28
 
29
	public Map<Integer, TicketSubCategory> getSubCategoryIdAndSubCategoryMap(List<Ticket> tickets);
30
 
31
	public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMap(List<TicketAssigned> ticketAssigneds);
32
 
33
	public Map<Integer, CustomRetailer> getPartnerByFofoIds(List<Ticket> tickets);
34
 
24439 govind 35
	public List<TicketCategory> getAllTicketCategotyFromSubCategory();
24500 govind 36
 
24471 govind 37
	public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMapUsingPositions(List<Position> positions);
24500 govind 38
 
24471 govind 39
	public Map<Integer, TicketCategory> getCategoryIdAndCategoryUsingPositions(List<Position> positions);
24500 govind 40
 
41
	public Map<Integer, Region> getRegionIdAndRegionMap(List<Position> positions);
25570 tejbeer 42
 
43
	public Map<Integer, List<CustomRetailer>> getpositionIdAndpartnerRegionMap(List<Position>  position);
44
 
45
	public Map<Integer, List<CustomRetailer>> getPositionCustomRetailerMap(List<Position> position);
24500 govind 46
 
47
	public Map<Integer, AuthUser> getTicketIdAndAuthUserMapUsingTickets(List<Ticket> tickets);
48
 
24570 govind 49
	public Map<Integer,List<AuthUser>> getAuthUserList(List<Ticket> tickets,AuthUser authUser);
24500 govind 50
 
51
	public void updateTicket(int categoryId,int subCategoryId,Ticket ticket) throws ProfitMandiBusinessException;
24569 govind 52
 
53
	public void sendAssignedTicketMail(AuthUser authUser,Ticket ticket) throws ProfitMandiBusinessException;
24699 govind 54
 
24500 govind 55
}