Subversion Repositories SmartDukaan

Rev

Rev 24417 | Rev 24471 | 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;
24417 govind 12
import com.spice.profitmandi.dao.entity.cs.Ticket;
24439 govind 13
import com.spice.profitmandi.dao.entity.cs.TicketCategory;
24417 govind 14
import com.spice.profitmandi.dao.entity.cs.TicketSubCategory;
24383 amit.gupta 15
 
16
@Service
17
public interface CsService {
18
	//Sends happy code to customer
19
	void addActivity(int ticketId, Activity activity);
24439 govind 20
	void createTicket(int fofoId,int categoryId, int subcategoryId, String message) throws ProfitMandiBusinessException;
24417 govind 21
	public void addPartnerToRegion(int regionId, List<Integer> fofoIds) ;
22
	public Map<Integer,TicketSubCategory> getSubCategoryIdAndSubCategoryMap(List<Ticket> tickets);
23
	public Map<Integer,AuthUser> getAuthUserIdAndAuthUserMap(List<Ticket> tickets);
24
	public Map<Integer,CustomRetailer> getPartnerByFofoIds(List<Ticket> tickets);
24439 govind 25
	public List<TicketCategory> getAllTicketCategotyFromSubCategory();
24417 govind 26
	}