Subversion Repositories SmartDukaan

Rev

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

Rev 36210 Rev 36212
Line 5... Line 5...
5
import com.spice.profitmandi.dao.entity.auth.AuthUser;
5
import com.spice.profitmandi.dao.entity.auth.AuthUser;
6
import com.spice.profitmandi.dao.entity.cs.*;
6
import com.spice.profitmandi.dao.entity.cs.*;
7
import com.spice.profitmandi.dao.entity.fofo.ActivityType;
7
import com.spice.profitmandi.dao.entity.fofo.ActivityType;
8
import com.spice.profitmandi.dao.enumuration.auth.CollectionRemark;
8
import com.spice.profitmandi.dao.enumuration.auth.CollectionRemark;
9
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
9
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
10
import com.spice.profitmandi.dao.model.ActivityMediaModel;
10
import com.spice.profitmandi.dao.model.*;
11
import com.spice.profitmandi.dao.model.FofoAbmReportingModel;
-
 
12
import com.spice.profitmandi.dao.model.FofoRBMReportingModel;
-
 
13
import com.spice.profitmandi.dao.model.FofoReportingModel;
-
 
14
import org.springframework.cache.annotation.Cacheable;
11
import org.springframework.cache.annotation.Cacheable;
15
import org.springframework.stereotype.Service;
12
import org.springframework.stereotype.Service;
16
 
13
 
17
import java.util.List;
14
import java.util.List;
18
import java.util.Map;
15
import java.util.Map;
Line 87... Line 84...
87
 
84
 
88
    Map<Integer, List<Integer>> getL2L1Mapping() throws ProfitMandiBusinessException;
85
    Map<Integer, List<Integer>> getL2L1Mapping() throws ProfitMandiBusinessException;
89
 
86
 
90
    int getAuthUserId(int categoryId, EscalationType escalationType, int fofoId) throws ProfitMandiBusinessException;
87
    int getAuthUserId(int categoryId, EscalationType escalationType, int fofoId) throws ProfitMandiBusinessException;
91
 
88
 
-
 
89
    /**
-
 
90
     * Gets auth user ID with fallback to next escalation level if not found.
-
 
91
     * Returns both the user ID and the actual escalation level that was used.
-
 
92
     */
-
 
93
    EscalationAssignmentResult getAuthUserWithFallback(int categoryId, EscalationType targetEscalation, int fofoId) throws ProfitMandiBusinessException;
-
 
94
 
92
    List<AuthUser> getAuthUserIds(int categoryId, List<EscalationType> escalationType);
95
    List<AuthUser> getAuthUserIds(int categoryId, List<EscalationType> escalationType);
93
 
96
 
94
    List<AuthUser> getAuthUserByCategoryId(int categoryId);
97
    List<AuthUser> getAuthUserByCategoryId(int categoryId);
95
 
98
 
96
    void assignTicket(Ticket ticket,int currentUserId) throws ProfitMandiBusinessException;
99
    void assignTicket(Ticket ticket,int currentUserId) throws ProfitMandiBusinessException;