| java.lang.Object | |||||
| ↳ | com.google.gdata.data.AbstractExtension | ||||
| ↳ | com.google.gdata.data.ExtensionPoint | ||||
| ↳ | com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry> | ||||
| ↳ | com.google.gdata.data.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>> | ||||
| ↳ | com.google.gdata.data.docs.DocumentListEntry | ||||
Known Direct Subclasses
|
Known Indirect Subclasses
|
An entry representing a single document of any type within a
DocumentListFeed.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DocumentListEntry.MediaType | Represents the MIME types supported by the doclist GData feed | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | FOLDERS_NAMESPACE | ||||||||||
| String | KIND | Kind category term used to label the entries which are of item type. | |||||||||
| String | LABEL | Label for category. | |||||||||
| String | PARENT_NAMESPACE | ||||||||||
| String | REVISIONS_NAMESPACE | ||||||||||
| String | THUMBNAIL_NAMESPACE | ||||||||||
| String | UNKNOWN_KIND | This constant is deprecated. Use KIND instead. | |||||||||
| String | UNKNOWN_LABEL | This constant is deprecated. Use LABEL instead. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CATEGORY | Category used to label entries which are of item type. | ||||||||||
| FOLDER_PATTERN | |||||||||||
| UNKNOWN_CATEGORY | This field is deprecated. Use CATEGORY instead. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.BaseEntry
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new uninitialized entry, to be populated by the
GData parsers.
| |||||||||||
Constructs a new entry by doing a shallow copy from another BaseEntry
instance.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
use
addLink(Link) with link relation PARENT_NAMESPACE
instead.
| |||||||||||
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
| |||||||||||
Returns the description of this document.
| |||||||||||
Gets the docId or spreadsheet key from the resource id.
| |||||||||||
Gets the link with which you can open up the document in a Web
browser.
| |||||||||||
Returns the original filename for this document.
| |||||||||||
This method is deprecated.
use
getParentLinks() instead.
| |||||||||||
This method is deprecated.
use getResourceId() instead.
| |||||||||||
Returns the time when the document was last commented by the user.
| |||||||||||
Returns the user who last modified the document.
| |||||||||||
Returns the time when the document was last viewed by the user.
| |||||||||||
Returns the MD5 checksum calculated for the document.
| |||||||||||
Returns the amount of quota consumed by the document.
| |||||||||||
Returns the document's resource id.
| |||||||||||
Returns the suggested filename for this document.
| |||||||||||
Returns the type document entry from the resource id.
| |||||||||||
Returns a flag for whether writers can invite other collaborators
| |||||||||||
Sets the description of this document.
| |||||||||||
Associate a File with this entry with the specified mime type
| |||||||||||
This method is deprecated.
use setFile(File, String) instead.
| |||||||||||
Sets the filename of this document.
| |||||||||||
Sets the hidden status of this document for the user this feed request
has been authenticated under.
| |||||||||||
Sets the time when the document was last commented by the user.
| |||||||||||
Sets the amount of quota consumed by the document.
| |||||||||||
Sets the time when the document was last viewed by the user.
| |||||||||||
Set the MD5 checksum calculated for the document.
| |||||||||||
Sets the amount of quota consumed by the document.
| |||||||||||
Sets the document's resource id.
| |||||||||||
Sets the restricted download status for this document.
| |||||||||||
Sets the starred status of this document for the user this feed request
has been authenticated under.
| |||||||||||
Sets the suggested filename for this document.
| |||||||||||
Sets the trashed status of this document for the user this feed request
has been authenticated under.
| |||||||||||
Sets the viewed status of this document for the user this feed request
has been authenticated under.
| |||||||||||
Sets whether users classed as writers can invite other collaborators
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the mime type given a file name.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.media.MediaEntry
| |||||||||||
From class
com.google.gdata.data.BaseEntry
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
From interface
com.google.gdata.data.IAtom
| |||||||||||
From interface
com.google.gdata.data.IEntry
| |||||||||||
From interface
com.google.gdata.data.Kind.Adaptable
| |||||||||||
From interface
com.google.gdata.data.Kind.Adaptor
| |||||||||||
From interface
com.google.gdata.data.media.IMediaEntry
| |||||||||||
Kind category term used to label the entries which are of item type.
Label for category.
This constant is deprecated.
Use KIND instead.
Kind category term used to label the entries which are of document type.
This constant is deprecated.
Use LABEL instead.
Label for category.
This field is deprecated.
Use CATEGORY instead.
Category used to label entries which are of document type.
Constructs a new uninitialized entry, to be populated by the GData parsers.
Constructs a new entry by doing a shallow copy from another BaseEntry instance.
| sourceEntry |
|---|
This method is deprecated.
use addLink(Link) with link relation PARENT_NAMESPACE
instead.
Adds a user-specific folder that parents this document
| owner | The owner of the folder |
|---|---|
| folderName | The name of the folder |
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.
| extProfile | The ExtensionProfile to initialize. |
|---|
Returns the description of this document.
null means no description was set, whereas the empty-string
means the description is empty)
Gets the docId or spreadsheet key from the resource id. This is the id that
can be used to construct the export url or link to google docs.
http://docs.google.com/present/edit?id={id}
http://spreadsheets.google.com/ccc?key={id}
Gets the link with which you can open up the document in a Web browser. This is a link to the full document-specific UI (for edit if the requesting user has edit permission, and a read-only HTML rendering otherwise).
Returns the original filename for this document.
This method is deprecated.
use getResourceId() instead.
Gets the resource id that is used to access the document entry or export
the document.
http://docs.google.com/getdoc?id={id}
http://spreadsheets.google.com/ccc?key={id}
Returns the time when the document was last commented by the user.
Returns the user who last modified the document.
Returns the time when the document was last viewed by the user.
Returns the MD5 checksum calculated for the document.
Returns the amount of quota consumed by the document.
Returns the document's resource id.
Returns the suggested filename for this document.
Returns the type document entry from the resource id. If the resource id id "document:12345", then "document" is returned.
true if the document has restricted downloading
Returns a flag for whether writers can invite other collaborators
Sets the description of this document.
| description | The description |
|---|
Associate a File with this entry with the specified mime type
| file | |
|---|---|
| mimeType |
This method is deprecated.
use setFile(File, String) instead.
Associate a File with this entry, implicitly determining the mime type from the file's extension.
| file |
|---|
Sets the filename of this document.
| filename | The filename |
|---|
Sets the hidden status of this document for the user this feed request has been authenticated under.
| hidden | True if the document should be hidden |
|---|
Sets the time when the document was last commented by the user.
| lastCommented | The last commented time |
|---|
Sets the amount of quota consumed by the document.
| lastModifiedBy | The quota used |
|---|
Sets the time when the document was last viewed by the user.
| lastViewed | The last viewed time |
|---|
Set the MD5 checksum calculated for the document.
| md5Checksum | The MD5 checksum |
|---|
Sets the amount of quota consumed by the document.
| quotaBytesUsed | The quota used |
|---|
Sets the document's resource id.
| resourceId | The resource id. |
|---|
Sets the restricted download status for this document.
| restrictedDownload | true if the document has restricted downloading
|
|---|
Sets the starred status of this document for the user this feed request has been authenticated under.
| starred | True if the document should be starred |
|---|
Sets the suggested filename for this document.
| filename | The filename |
|---|
Sets the trashed status of this document for the user this feed request has been authenticated under.
| trashed | True if the document should be trashed |
|---|
Sets the viewed status of this document for the user this feed request has been authenticated under.
| viewed | True if the document has been viewed |
|---|
Sets whether users classed as writers can invite other collaborators
| writersCanInvite | True if writers can invite |
|---|
Returns the mime type given a file name. Not intended for extenal use, see setFile(File, String) instead. protected access for testing.
| fileName |
|---|
| IllegalArgumentException | if the mime type is not known given the file name |
|---|