Elad,
   You can iterate over the entries in the map, which gives you the key
and value for each entry.

  @Override
  public void onDocumentChanged(DocumentChangedEvent event) {
  Map<String, Blip> blips = event.getWavelet().getBlips();
  for (Map.Entry<String, Blip> entry :  blips.entrySet() ) {
  entry.getValue().append("You've been modified.");
  }
  }

   Thanks,
   -joe

On Thu, Apr 8, 2010 at 10:20 AM, ERichardson <elad.richard...@gmail.com>wrote:

> I already read this post but I still don't understand how Can I scan
> each individual blip and change it.
> The only thing I was able to do was to get a map of the blips, but I
> don't see how can I use the map without the blipIDs which are the
> keys.
>
> Thanks,
> Elad
>
> On Apr 6, 11:59 pm, "pamela (Google Employee)" <pamela...@gmail.com>
> wrote:
> > Please read up on Event context:
> http://code.google.com/apis/wave/extensions/robots/events.html#EventC...
> >
> > <http://code.google.com/apis/wave/extensions/robots/events.html#EventC..
> .>You
> > will want to specify all context to scan all blips.
> >
> > On Wed, Apr 7, 2010 at 1:37 AM, ERichardson <elad.richard...@gmail.com
> >wrote:
> >
> >
> >
> > > Hi,
> > > I'm making a robot that changes some text in some of the blips.
> > > It works well on the blips that were submitted after it had been
> > > added.
> > > But I don't know how to read all of the previous blips.
> > > Can somebody tell me how to scan all of those blips in Java
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Wave API" group.
> > > To post to this group, send email to google-wave-...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com>
> <google-wave-api%2Bunsubscribe@ googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-wave-api?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Wave API" group.
> To post to this group, send email to google-wave-...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.

Reply via email to