Package jetbrains.communicator.core.users

Examples of jetbrains.communicator.core.users.UserEvent$Online


   private static Contact createContactFrom(Map<String, String> infos, boolean isBusiness)
   {
      String email = infos.get(getOnlineUserInfoKey(OnlineInfo.EMAIL, isBusiness));
      String uri = infos.get(getOnlineUserInfoKey(OnlineInfo.URI, isBusiness));
      Online online = WSRPTypeFactory.createOnline(email, uri);

      String name = infos.get(getPostalUserInfoKey(PostalInfo.NAME, isBusiness));
      String street = infos.get(getPostalUserInfoKey(PostalInfo.STREET, isBusiness));
      String city = infos.get(getPostalUserInfoKey(PostalInfo.CITY, isBusiness));
      String stateprov = infos.get(getPostalUserInfoKey(PostalInfo.STATEPROV, isBusiness));
View Full Code Here


      private void populateContactInfo(Contact contact, boolean isBusiness)
      {
         if (contact != null)
         {
            Online online = contact.getOnline();
            if (online != null)
            {
               infos.put(getOnlineUserInfoKey(OnlineInfo.EMAIL, isBusiness), online.getEmail());
               infos.put(getOnlineUserInfoKey(OnlineInfo.URI, isBusiness), online.getUri());
            }

            Postal postal = contact.getPostal();
            if (postal != null)
            {
View Full Code Here

   {
      if (v1Contact != null)
      {
         Postal postal = toV2Postal(v1Contact.getPostal());
         Telecom teleCom = toV2Telecom(v1Contact.getTelecom());
         Online online = toV2Online(v1Contact.getOnline());
         Contact contact = WSRPTypeFactory.createContact(postal, teleCom, online);

         List<V1Extension> extensions = v1Contact.getExtensions();
         if (extensions != null)
         {
View Full Code Here

   public static Online toV2Online(V1Online v1Online)
   {
      if (v1Online != null)
      {
         Online online = WSRPTypeFactory.createOnline(v1Online.getEmail(), v1Online.getUri());

         List<V1Extension> extensions = v1Online.getExtensions();
         if (extensions != null)
         {
            online.getExtensions().addAll(WSRPUtils.transform(extensions, EXTENSION));
         }

         return online;
      }
      else
View Full Code Here

      return telephoneNum;
   }

   public static Online createOnline(String email, String uri)
   {
      Online online = new Online();
      online.setEmail(email);
      online.setUri(uri);
      return online;
   }
View Full Code Here

      return telephoneNum;
   }

   public static Online createOnline(String email, String uri)
   {
      Online online = new Online();
      online.setEmail(email);
      online.setUri(uri);
      return online;
   }
View Full Code Here

   private static Contact createContactFrom(Map<String, String> infos, boolean isBusiness)
   {
      String email = infos.get(getOnlineUserInfoKey(OnlineInfo.EMAIL, isBusiness));
      String uri = infos.get(getOnlineUserInfoKey(OnlineInfo.URI, isBusiness));
      Online online = WSRPTypeFactory.createOnline(email, uri);

      String name = infos.get(getPostalUserInfoKey(PostalInfo.NAME, isBusiness));
      String street = infos.get(getPostalUserInfoKey(PostalInfo.STREET, isBusiness));
      String city = infos.get(getPostalUserInfoKey(PostalInfo.CITY, isBusiness));
      String stateprov = infos.get(getPostalUserInfoKey(PostalInfo.STATEPROV, isBusiness));
View Full Code Here

      private void populateContactInfo(Contact contact, boolean isBusiness)
      {
         if (contact != null)
         {
            Online online = contact.getOnline();
            if (online != null)
            {
               infos.put(getOnlineUserInfoKey(OnlineInfo.EMAIL, isBusiness), online.getEmail());
               infos.put(getOnlineUserInfoKey(OnlineInfo.URI, isBusiness), online.getUri());
            }

            Postal postal = contact.getPostal();
            if (postal != null)
            {
View Full Code Here

      return telephoneNum;
   }

   public static Online createOnline(String email, String uri)
   {
      Online online = new Online();
      online.setEmail(email);
      online.setUri(uri);
      return online;
   }
View Full Code Here

TOP

Related Classes of jetbrains.communicator.core.users.UserEvent$Online

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.