Package jifx.commons.mapper.domain

Examples of jifx.commons.mapper.domain.Client


  }

  public Client getClient(String brand, String login) {
        try {
          Query query = manager.createQuery("from Client c where c.brand='"+brand+"' and c.login='"+login+"'");
          Client client = (Client) query.getSingleResult();
          return client;
        } catch(NoResultException e) {
          return null;
        }
  }
View Full Code Here


       
        String login = (String) message.getElement("SignonRq.SignonPswd.CustId.SPName");
        String type = (String) message.getElement("SignonRq.SignonPswd.CustPswd.CryptType");
        String pwd = (String) message.getElement("SignonRq.SignonPswd.CustPswd.Pswd");

        Client clientReg = remote.getClient(brand, login);
        Client clientRq = new Client(brand, login, type, pwd);
        if (clientReg != null && ValidationManager.validate(clientReg, clientRq))
          return;
        throw new ValidationException(clientReg, clientRq);
    } catch (NamingException e) {
      throw new ParticipantException(e.getMessage());
View Full Code Here

TOP

Related Classes of jifx.commons.mapper.domain.Client

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.