Examples of Online


Examples of com.changestuffs.server.persistence.beans.Online

    userBean.setReceiveEmails(action.isReceiveEmails());
  }
 
  @Transactional
  public void updateOnline(boolean online, String email){
    Online bean = model.find(Online.class, email);
    if(bean != null){
      bean.setOnline(online);
    }else{
      bean = new Online();
      bean.setEmail(email);
      bean.setOnline(online);
      model.persist(bean);
    }
  }
View Full Code Here

Examples of com.changestuffs.server.persistence.beans.Online

  }
 
  public Set<String> getOnline(Set<String> contacts){
    Set<String> onlines = new HashSet<String>();
    for(String contact:contacts){
      Online online = model.find(Online.class, contact);
      if(online != null && online.isOnline()){
        onlines.add(contact);
      }
    }
    return onlines;
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.voicedcommandhandlers.Online

      registerVoicedCommandHandler(new FarmPvpCmd());
    }
   
    if (Config.ALLOW_ONLINE_VIEW)
    {
      registerVoicedCommandHandler(new Online());
    }
   
    if (Config.OFFLINE_TRADE_ENABLE && Config.OFFLINE_COMMAND2)
    {
      registerVoicedCommandHandler(new OfflineShop());
View Full Code Here

Examples of lineage2.gameserver.handler.voicecommands.impl.Online

    registerVoicedCommandHandler(new Debug());
    registerVoicedCommandHandler(new Repair());
    registerVoicedCommandHandler(new ServerInfo());
    registerVoicedCommandHandler(new Wedding());
    registerVoicedCommandHandler(new WhoAmI());
    registerVoicedCommandHandler(new Online());
    registerVoicedCommandHandler(new Password());
  }
View Full Code Here

Examples of org.oasis.wsrp.v2.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

Examples of org.oasis.wsrp.v2.Online

      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

Examples of org.oasis.wsrp.v2.Online

   {
      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

Examples of org.oasis.wsrp.v2.Online

   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

Examples of org.oasis.wsrp.v2.Online

      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

Examples of org.oasis.wsrp.v2.Online

      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
Copyright © 2018 www.massapi.com. 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.