Package org.onesocialweb.openfire.model.activity

Examples of org.onesocialweb.openfire.model.activity.PersistentActivityDomReader.readEntry()


            + " to " + toJID);
        final ActivityDomReader reader = new PersistentActivityDomReader();
        List<Element> items=(List<Element>) itemsElement.elements("item");
        if ((items!=null) && (items.size()!=0)){
          for (Element itemElement :items) {
            ActivityEntry activity = reader
            .readEntry(new ElementAdapter(itemElement
                .element("entry")));
            try {

              ActivityManager.getInstance().handleMessage(
View Full Code Here


      ActivityDomReader reader = new PersistentActivityDomReader();
      List<String> itemIds = new ArrayList<String>(items.size());
      for (Element item : items) {
        Element entry = item.element("entry");
        if (entry != null) {
          ActivityEntry activity = reader.readEntry(new ElementAdapter(entry));
          Log.debug("ActivityPublishHandler received activity: " + activity);
          try {
            if ((activity.getId()!=null) && (activity.getId().length()!=0))
              activityManager.updateActivity(sender.toBareJID(), activity);
            else{
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.