Package org.openmeetings.app.persistence.beans.user

Examples of org.openmeetings.app.persistence.beans.user.UserSipData


        log.debug(" openXGReturnObjectURI Status Code "
            + openXGReturnObjectURI.getStatus_code());
        log.debug(" openXGReturnObjectURI Status String "
            + openXGReturnObjectURI.getStatus_string());

        UserSipData userSipData = new UserSipData();

        // userSipData.setUsername(sip_language_phonecode.getConf_value()
        // + useridAsNumber);
        userSipData.setUsername(userid);
        userSipData.setUserpass(password);
        userSipData.setAuthId(userid);

        return userSipData;

      } else {
View Full Code Here


    public SIPCreateUserRequestResult createSIPUser(final SIPCreateUserRequest request) {
        asteriskDAO.addSipUser(request.getLogin(), request.getPassword());
        return new SIPCreateUserRequestResult() {
            @Override
            public UserSipData getUserSipData() {
                UserSipData sipData = new UserSipData();
                sipData.setAuthId(request.getLogin());
                sipData.setUserpass(request.getPassword());
                sipData.setUsername(request.getLogin());
                return sipData;
            }

            public boolean hasError() {
                return false;
View Full Code Here

     
      String hql = "select c from UserSipData as c where c.userSipDataId = :userSipDataId";
     
      TypedQuery<UserSipData> query = em.createQuery(hql, UserSipData.class);
      query.setParameter("userSipDataId", userSipDataId);
      UserSipData userSipData = null;
      try {
        userSipData = query.getSingleResult();
        } catch (NoResultException ex) {
        }
     
View Full Code Here

            // UserSIP Data
            if (itemUsers.element("sip_username") != null
                && itemUsers.element("sip_userpass") != null
                && itemUsers.element("sip_authid") != null) {
              UserSipData userSipData = new UserSipData();
              userSipData.setUsername(unformatString(itemUsers
                  .element("sip_username").getText()));
              userSipData.setUsername(unformatString(itemUsers
                  .element("sip_userpass").getText()));
              userSipData.setUsername(unformatString(itemUsers
                  .element("sip_authid").getText()));
              us.setUserSipData(userSipData);
            }

            String additionalname = unformatString(itemUsers
View Full Code Here

TOP

Related Classes of org.openmeetings.app.persistence.beans.user.UserSipData

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.