On Wed, Dec 3, 2008 at 2:30 PM, Mikael Grev, MiG InfoCom
<[email protected]> wrote:
>
> Hello,
>
> If I get the feed and set the ifModifiedSince magic thingy I can get
> deleted/canceled events. No problem there. But I want to read a
> specific Event, that I have the ID of, even if it is deleted/canceled,
> but it doesn't seem to work.
>
> For instance this doesn't seem to return the the event if it is
> deleted, even though I set the
>
> gService.getEntry(new URL(calendarUrlString + "/" + googleId),
> CalendarEventEntry.class, new DateTime(-Integer.MAX_VALUE));
>
> Maybe the answer is in the showdeleted=true thing I've read in a few
> posts, but how do I set that in the Java API?
>
> Cheers,
> Mikael

Mikael,
To set showdeleted=true, the easiest way is to append
"?showdeleted=true" on to the end of your URL.

You can also set showdeleted on a query object, if you have one
available (which doesn't sound like the case for what you're doing):

    
http://code.google.com/apis/gdata/javadoc/com/google/gdata/client/contacts/ContactQuery.html

-- 
Trevor Johns

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to