Hi,

You can use the expandAcl projection (instead of 'full')
to inline the ACL feed for each entry.

URL documentsList =
    new URL("http://docs.google.com/feeds/documents/private/
expandAcl");
DocumentQuery query =
    new DocumentQuery(documentsList);
DocumentListFeed resultFeed =
    client.getFeed(query, DocumentListFeed.class);

List<DocumentListEntry> entries = resultFeed.getEntries();
for (DocumentListEntry entry : entries) {
  AclFeed aclFeed = entry.getAclFeed();
  for (AclEntry aclEntry : aclFeed.getEntries()) {
    System.out.println(aclEntry.getTitle().getPlainText());
  }
}

Eric

On Jul 12, 1:47 am, bhagya <bhagyagde...@gmail.com> wrote:
> Hi,
>
> I cannot get collaborators or viewers of a document by using the
> method getcontributors().  Is there any bug reported on this method?
>
> I get them by aclEntry.  But it will be time consuming to read both
> the doucment from document feed and again collaborators from acl feed.
>
> Thank you in advance
> Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to