Subversion Repositories SmartDukaan

Rev

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

Rev 3390 Rev 4793
Line 44... Line 44...
44
    }
44
    }
45
 
45
 
46
    public List<Agent> getAgents(SearchFilter searchFilter) {
46
    public List<Agent> getAgents(SearchFilter searchFilter) {
47
        return agentMapper.getAgents(searchFilter);
47
        return agentMapper.getAgents(searchFilter);
48
    }
48
    }
-
 
49
    
-
 
50
    public void changeAgentStatus(boolean status, String emailId) {
-
 
51
    	agentMapper.changeAgentStatus(status, emailId);
-
 
52
    }
-
 
53
    
-
 
54
    public void insertAgent(in.shop2020.crm.domain.Agent agent, List<String> roles){
-
 
55
    	agentMapper.insertAgent(agent);
-
 
56
    	for (String agentRole : roles) {
-
 
57
    		agentMapper.insertAgentRole(agent.getId(), agentRole);
-
 
58
    	}
-
 
59
    	
-
 
60
    }
49
}
61
}