The service.batch() method returns a feed. You'll want to iterate
through the entries therein:
rfeed = sevice.batch();
for ( Entry e : rfeed.getEntries() )
if (BatchUtil.isSuccess(e))
;//oh goody
else {
BatchStatus status = BatchUtils.getBatchStatus(entry);
handleFailure(e, status); // your code here
}
On Sep 25, 9:22 am, beeky <[EMAIL PROTECTED]> wrote:
> I am getting close to having a client to do a batch insert. I
> setDraft(true) on all of my GoogleEntries and ran the client. As
> expected I saw a lot of data errors but the last line of output from
> the result stream was:
> Entryhttp://www.google.com/base/feeds/items/16716273748239134929was
> successfully inserted
>
> Is this the return I would have gotten if setDraft(false), i.e. one
> item would have been inserted successfully or was setDraft(true) not
> in effect?
>
> Thanks,
> -=beeky
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Base Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---