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

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

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