public Client authenticate(Client c) { Client i = clientMapper.authenticate(c); if (i == null) { i = new Client(); i.setClientId(0); return i; } return i; }
public int getClientId(String to) { // TODO Auto-generated method stub return clientMapper.getClientId(to); }
// Author - Shalin Banjara public int updateClientPasswordById(Client client) { return clientMapper.updateClientPasswordById(client); }
public Client getClientById(int clientId) { return clientMapper.getClientById(clientId); }
public List<DepartmentStatistics> getStatistics() throws BadSqlGrammarException { return clientMapper.getStatistics(); }
public List<Category> findAllCategories() throws BadSqlGrammarException { return clientMapper.findAllCategories(); }
public List<Faq> getFaqQns(int categoryId) { return clientMapper.getFaqQns(categoryId); }
public int resetPassword(String email, String myPassword) { return clientMapper.resetPassword(email, myPassword); }
public int getLastClientId() { // TODO Auto-generated method stub return clientMapper.getLastClientId(); }
public int getClientId(String userName, String password) { return clientMapper.getClientId(userName, password); }
public String getClientName(String userName, String password) { return clientMapper.getClientName(userName, password); }
public String getClientToken(int client_id) { // TODO Auto-generated method stub return clientMapper.getClientToken(client_id); }
public int verifyClient(int client_id) { return clientMapper.verifyClient(client_id); }
public int saveClient(Client client) throws BadSqlGrammarException { return clientMapper.saveClient(client); }