Subversion Repositories SmartDukaan

Rev

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

Rev 31662 Rev 31762
Line 13... Line 13...
13
import java.util.Map;
13
import java.util.Map;
14
import java.util.Set;
14
import java.util.Set;
15
 
15
 
16
@Service
16
@Service
17
public interface CsService {
17
public interface CsService {
18
	// Sends happy code to customer
18
    // Sends happy code to customer
19
	void addActivity(Ticket ticket, Activity activity);
19
    void addActivity(Ticket ticket, Activity activity);
20
 
20
 
21
	void createTicket(int fofoId, int categoryId, int subcategoryId, String message)
21
    void createTicket(int fofoId, int categoryId, int subcategoryId, String message) throws ProfitMandiBusinessException;
22
			throws ProfitMandiBusinessException;
-
 
23
 
22
 
24
	void addPartnerToRegion(int regionId, List<Integer> fofoIds);
23
    void addPartnerToRegion(int regionId, List<Integer> fofoIds);
25
 
24
 
26
	Map<Integer, TicketSubCategory> getSubCategoryIdAndSubCategoryMap(List<Ticket> tickets);
25
    Map<Integer, TicketSubCategory> getSubCategoryIdAndSubCategoryMap(List<Integer> subCategoryIds);
27
 
26
 
28
	Map<Integer, AuthUser> getAuthUserIdAndAuthUserMap(List<TicketAssigned> ticketAssigneds);
27
    Map<Integer, TicketCategory> getSubCategoryIdAndCategoryMap(List<Integer> subCategoryIds);
29
 
28
 
30
	Map<Integer, CustomRetailer> getPartnerByFofoIds(List<Ticket> tickets);
-
 
31
 
29
 
32
	List<TicketCategory> getAllTicketCategotyFromSubCategory();
30
    Map<Integer, AuthUser> getAuthUserIdAndAuthUserMap(List<TicketAssigned> ticketAssigneds);
33
 
31
 
34
	Map<Integer, AuthUser> getAuthUserIdAndAuthUserMapUsingPositions(List<Position> positions);
32
    Map<Integer, CustomRetailer> getPartnerByFofoIds(List<Ticket> tickets);
35
 
33
 
36
	Map<Integer, TicketCategory> getCategoryIdAndCategoryUsingPositions(List<Position> positions);
34
    List<TicketCategory> getAllTicketCategotyFromSubCategory();
37
 
35
 
38
	Map<Integer, Region> getRegionIdAndRegionMap(List<Position> positions);
36
    Map<Integer, AuthUser> getAuthUserIdAndAuthUserMapUsingPositions(List<Position> positions);
39
 
37
 
40
	Map<Integer, List<CustomRetailer>> getRegionPartners(List<Position> position);
38
    Map<Integer, TicketCategory> getCategoryIdAndCategoryUsingPositions(List<Position> positions);
41
 
39
 
42
	Map<Integer, List<CustomRetailer>> getPositionCustomRetailerMap(List<Position> position);
40
    Map<Integer, Region> getRegionIdAndRegionMap(List<Position> positions);
43
 
41
 
44
	Map<Integer, AuthUser> getTicketIdAndAuthUserMapUsingTickets(List<Ticket> tickets);
42
    Map<Integer, List<CustomRetailer>> getRegionPartners(List<Position> position);
45
 
43
 
46
	void updateTicket(int categoryId, int subCategoryId, Ticket ticket) throws ProfitMandiBusinessException;
44
    Map<Integer, List<CustomRetailer>> getPositionCustomRetailerMap(List<Position> position);
47
 
45
 
48
	Map<String, Set<String>> getAuthUserPartnerEmailMapping();
46
    Map<Integer, AuthUser> getTicketIdAndAuthUserMapUsingTickets(List<Ticket> tickets);
49
 
47
 
50
	Map<String, Set<Integer>> getAuthUserPartnerIdMapping();
48
    void updateTicket(int categoryId, int subCategoryId, Ticket ticket, int authUserId, EscalationType escalationType) throws ProfitMandiBusinessException;
51
 
49
 
52
	Map<Integer, List<Integer>> getAuthUserIdPartnerIdMapping();
50
    Map<String, Set<String>> getAuthUserPartnerEmailMapping();
53
 
51
 
54
	List<String> getAuthUserByPartnerId(int fofoId);
52
    Map<String, Set<Integer>> getAuthUserPartnerIdMapping();
55
 
53
 
56
	List<AuthUser> getAuthUserIdByPartnerId(int fofoId);
54
    Map<Integer, List<Integer>> getAuthUserIdPartnerIdMapping();
57
 
55
 
58
	Map<EscalationType, String> getAuthUserAndEsclationTypeByPartnerId(int fofoId);
56
    List<String> getAuthUserByPartnerId(int fofoId);
59
 
57
 
60
	Map<Integer, List<Integer>> getL2L1Mapping();
58
    List<AuthUser> getAuthUserIdByPartnerId(int fofoId);
61
 
59
 
62
	int getAuthUserId(int categoryId, EscalationType escalationType, int fofoId);
60
    Map<EscalationType, String> getAuthUserAndEsclationTypeByPartnerId(int fofoId);
63
 
61
 
64
	List<AuthUser> getAuthUserIds(int categoryId, List<EscalationType> escalationType);
62
    Map<Integer, List<Integer>> getL2L1Mapping();
65
 
63
 
66
	List<AuthUser> getAuthUserByCategoryId(int categoryId);
64
    int getAuthUserId(int categoryId, EscalationType escalationType, int fofoId);
67
 
65
 
68
	void assignTicket(Ticket ticket) throws ProfitMandiBusinessException;
66
    List<AuthUser> getAuthUserIds(int categoryId, List<EscalationType> escalationType);
69
 
67
 
70
	Map<Integer, List<AuthUser>> getAssignedAuthList(List<Ticket> tickets);
68
    List<AuthUser> getAuthUserByCategoryId(int categoryId);
71
 
69
 
72
	Map<EscalationType, AuthUser> getAuthUserAndEsclationByPartnerId(int fofoId);
70
    void assignTicket(Ticket ticket) throws ProfitMandiBusinessException;
73
 
71
 
74
	Activity createActivity(ActivityType activityType, String message, int createdBy);
72
    Map<Integer, List<AuthUser>> getAssignedAuthList(List<Ticket> tickets);
75
 
73
 
76
	List<AuthUser> getAuthUserByCategoryId(int categoryId, EscalationType escalationType);
74
    Map<EscalationType, AuthUser> getAuthUserAndEsclationByPartnerId(int fofoId);
77
 
75
 
78
	Map<Integer, FofoReportingModel> getPartnerIdSalesHeaders();
76
    Activity createActivity(ActivityType activityType, String message, int createdBy);
79
 
77
 
-
 
78
    List<AuthUser> getAuthUserByCategoryId(int categoryId, EscalationType escalationType);
-
 
79
 
-
 
80
    Map<Integer, FofoReportingModel> getPartnerIdSalesHeaders();
-
 
81
 
80
	Map<String, Set<Integer>> getAuthUserPartnerIdMappingByCategoryIds(List<Integer> categoryIds, boolean activeOnly);
82
    Map<String, Set<Integer>> getAuthUserPartnerIdMappingByCategoryIds(List<Integer> categoryIds, boolean activeOnly);
81
 
83
 
82
 
84
 
83
}
85
}