Subversion Repositories SmartDukaan

Rev

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

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