Subversion Repositories SmartDukaan

Rev

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

Rev 5168 Rev 5286
Line 158... Line 158...
158
            agents.add(agent.getThriftAgent());
158
            agents.add(agent.getThriftAgent());
159
        }
159
        }
160
 
160
 
161
        return agents;
161
        return agents;
162
    }
162
    }
-
 
163
    
-
 
164
    public List<Agent> getInactiveAgents(SearchFilter searchFilter) throws TException {
-
 
165
        List<Agent> agents = new ArrayList<Agent>();
-
 
166
 
-
 
167
        for (in.shop2020.crm.domain.Agent agent : agentHandler
-
 
168
                .getInactiveAgents(in.shop2020.crm.domain.SearchFilter
-
 
169
                        .create(searchFilter))) {
-
 
170
            agents.add(agent.getThriftAgent());
-
 
171
        }
-
 
172
 
-
 
173
        return agents;
-
 
174
    }
163
 
175
 
164
    public void updatePasswordForAgent(String agentEmailId, String password)
176
    public void updatePasswordForAgent(String agentEmailId, String password)
165
            throws TException {
177
            throws TException {
166
        agentHandler.updatePasswordForAgent(agentEmailId, password);
178
        agentHandler.updatePasswordForAgent(agentEmailId, password);
167
    }
179
    }