예제 #1
0
 @Action
 public void getPrevious() // {{{
     {
   Map map = Collections.synchronizedMap(new TreeMap());
   map.put("async", true);
   map.put("caller", this);
   ArrayList args = new ArrayList();
   args.add(view.getAuthenticatedUser().getId()); // screenName
   args.add(prevPage);
   map.put("arguments", args);
   fireTwitzEvent(
       new TwitzEvent(this, TwitzEventType.USER_LISTS, new java.util.Date().getTime(), map));
 } // }}}
예제 #2
0
 public void update(boolean force) {
   logger.debug("update() run force = " + force);
   if (firstrun && view.isConnected() || force) {
     // Load userlists view
     Map map = Collections.synchronizedMap(new TreeMap());
     map.put("async", true);
     map.put("caller", this);
     ArrayList args = new ArrayList();
     args.add(view.getAuthenticatedUser().getId()); // screenName
     args.add(-1L);
     map.put("arguments", args);
     fireTwitzEvent(
         new TwitzEvent(this, TwitzEventType.USER_LISTS, new java.util.Date().getTime(), map));
     firstrun = false;
   }
 }