Example #1
0
  public Client authenticate(Client c) {

    Client i = clientMapper.authenticate(c);
    if (i == null) {
      i = new Client();
      i.setClientId(0);
      return i;
    }
    return i;
  }
Example #2
0
 public int getClientId(String to) {
   // TODO Auto-generated method stub
   return clientMapper.getClientId(to);
 }
Example #3
0
 // Author - Shalin Banjara
 public int updateClientPasswordById(Client client) {
   return clientMapper.updateClientPasswordById(client);
 }
Example #4
0
 public Client getClientById(int clientId) {
   return clientMapper.getClientById(clientId);
 }
Example #5
0
 public List<DepartmentStatistics> getStatistics() throws BadSqlGrammarException {
   return clientMapper.getStatistics();
 }
Example #6
0
 public List<Category> findAllCategories() throws BadSqlGrammarException {
   return clientMapper.findAllCategories();
 }
Example #7
0
 public List<Faq> getFaqQns(int categoryId) {
   return clientMapper.getFaqQns(categoryId);
 }
Example #8
0
 public int resetPassword(String email, String myPassword) {
   return clientMapper.resetPassword(email, myPassword);
 }
Example #9
0
 public int getLastClientId() {
   // TODO Auto-generated method stub
   return clientMapper.getLastClientId();
 }
Example #10
0
  public int getClientId(String userName, String password) {

    return clientMapper.getClientId(userName, password);
  }
Example #11
0
  public String getClientName(String userName, String password) {

    return clientMapper.getClientName(userName, password);
  }
Example #12
0
 public String getClientToken(int client_id) {
   // TODO Auto-generated method stub
   return clientMapper.getClientToken(client_id);
 }
Example #13
0
 public int verifyClient(int client_id) {
   return clientMapper.verifyClient(client_id);
 }
Example #14
0
 public int saveClient(Client client) throws BadSqlGrammarException {
   return clientMapper.saveClient(client);
 }