public class

PostEntry

extends BaseEntry<E extends BaseEntry>
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.blogger.PostEntry

Class Overview

Describes a blog post entry.

Summary

[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
PostEntry()
Default mutable constructor.
PostEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
Link getEnclosureLink()
Returns the link that identifies a resource related to the entry.
Link getEntryPostLink()
Returns the link that provides the URI that can be used to post new entries to the feed.
Link getFeedLink()
Returns the link that provides the URI of the full feed (without any query parameters).
Link getRepliesHtmlLink()
Returns the link that provides the URI of the web content.
Link getRepliesLink()
Returns the link that provides the URI of the web content.
MediaThumbnail getThumbnail()
Returns the media thumbnail.
Total getTotal()
Returns the total.
boolean hasThumbnail()
Returns whether it has the media thumbnail.
boolean hasTotal()
Returns whether it has the total.
void setThumbnail(MediaThumbnail thumbnail)
Sets the media thumbnail.
void setTotal(Total total)
Sets the total.
String toString()
Protected Methods
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
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

Public Constructors

public PostEntry ()

Default mutable constructor.

public PostEntry (BaseEntry<?> sourceEntry)

Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.

Parameters
sourceEntry Source entry

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

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.

Parameters
extProfile The ExtensionProfile to initialize.

public Link getEnclosureLink ()

Returns the link that identifies a resource related to the entry.

Returns
  • Link that identifies a resource related to the entry or null for none.

public Link getEntryPostLink ()

Returns the link that provides the URI that can be used to post new entries to the feed.

Returns
  • Link that provides the URI that can be used to post new entries to the feed or null for none.

public Link getFeedLink ()

Returns the link that provides the URI of the full feed (without any query parameters).

Returns
  • Link that provides the URI of the full feed (without any query parameters) or null for none.

public Link getRepliesHtmlLink ()

Returns the link that provides the URI of the web content.

Returns
  • Link that provides the URI of the web content or null for none.

public Link getRepliesLink ()

Returns the link that provides the URI of the web content.

Returns
  • Link that provides the URI of the web content or null for none.

public MediaThumbnail getThumbnail ()

Returns the media thumbnail.

Returns
  • media thumbnail

public Total getTotal ()

Returns the total.

Returns
  • total

public boolean hasThumbnail ()

Returns whether it has the media thumbnail.

Returns
  • whether it has the media thumbnail

public boolean hasTotal ()

Returns whether it has the total.

Returns
  • whether it has the total

public void setThumbnail (MediaThumbnail thumbnail)

Sets the media thumbnail.

Parameters
thumbnail Media thumbnail or null to reset

public void setTotal (Total total)

Sets the total.

Parameters
total Total or null to reset

public String toString ()

Protected Methods

protected void validate ()

Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.