public interface

IFeed

implements IAtom
com.google.gdata.data.IFeed
Known Indirect Subclasses

Class Overview

Shared interface for model and data BaseFeed to implement.

Summary

Public Methods
abstract IEntry createEntry()
Creates a new entry of the appropriate type for this feed.
abstract boolean getCanPost()
Returns true if this feed accepts entries POSTed to it.
abstract List<? extends IEntry> getEntries()
Returns a list of entries for this feed.
abstract ILink getEntryPostLink()
Returns the entry post link for the feed.
abstract ILink getFeedBatchLink()
Returns the link that provides the URI that can be used to batch operations to query, insert, update and delete entries on this feed.
abstract IGenerator getGenerator()
Returns the atom:generator element on this feed.
abstract int getItemsPerPage()
Gets the number of items that will be returned per page for paged feeds.
abstract String getLogo()
Returns the value of the atom:logo element.
abstract ILink getNextLink()
Returns the link that provides the URI of next page in a paged feed.
abstract ILink getPreviousLink()
Returns the link that provides the URI of previous page in a paged feed.
abstract int getStartIndex()
Gets the starting index of the contained entries for paged feeds.
abstract ITextConstruct getSubtitle()
Returns the atom:subtitle element of this feed.
abstract int getTotalResults()
Gets the total number of results associated with this feed.
abstract void setCanPost(boolean canPost)
Sets whether this feed accepts entries POSTed to it.
abstract IGenerator setGenerator(String version, String uri, String name)
Sets the atom:generator element on this feed.
abstract void setItemsPerPage(int numResults)
Sets the number of items that will be returned per page for paged feeds.
abstract void setLogo(String logo)
Sets the value of the logo field on this feed.
abstract void setStartIndex(int startIndex)
Sets the starting index of the contained entries for paged feeds.
abstract void setTotalResults(int totalResults)
Sets the total number of results associated with this feed.
[Expand]
Inherited Methods
From interface com.google.gdata.data.IAtom

Public Methods

public abstract IEntry createEntry ()

Creates a new entry of the appropriate type for this feed.

public abstract boolean getCanPost ()

Returns true if this feed accepts entries POSTed to it.

public abstract List<? extends IEntry> getEntries ()

Returns a list of entries for this feed. The actual type of this list will depend on the data model used for the Feed.

public abstract ILink getEntryPostLink ()

Returns the entry post link for the feed.

public abstract ILink getFeedBatchLink ()

Returns the link that provides the URI that can be used to batch operations to query, insert, update and delete entries on this feed.

Returns
  • Link that provides the URI that can be used to batch operations to query, insert, update and delete entries on this feed or null for none.

public abstract IGenerator getGenerator ()

Returns the atom:generator element on this feed.

public abstract int getItemsPerPage ()

Gets the number of items that will be returned per page for paged feeds. A value of UNDEFINED indicates the page item count is undefined.

public abstract String getLogo ()

Returns the value of the atom:logo element.

public abstract ILink getNextLink ()

Returns the link that provides the URI of next page in a paged feed.

Returns
  • Link that provides the URI of next page in a paged feed or null for none.

public abstract ILink getPreviousLink ()

Returns the link that provides the URI of previous page in a paged feed.

Returns
  • Link that provides the URI of previous page in a paged feed or null for none.

public abstract int getStartIndex ()

Gets the starting index of the contained entries for paged feeds. A value of UNDEFINED indicates the start index is undefined.

public abstract ITextConstruct getSubtitle ()

Returns the atom:subtitle element of this feed.

public abstract int getTotalResults ()

Gets the total number of results associated with this feed. The value may be larger than the number of contained entries for paged feeds. A value of UNDEFINED indicates the total size is undefined.

public abstract void setCanPost (boolean canPost)

Sets whether this feed accepts entries POSTed to it.

Parameters
canPost

public abstract IGenerator setGenerator (String version, String uri, String name)

Sets the atom:generator element on this feed. This method will create the appropriate type of element or extension based on the data model in use.

Parameters
version
uri
name

public abstract void setItemsPerPage (int numResults)

Sets the number of items that will be returned per page for paged feeds. A value of UNDEFINED indicates the page item count is undefined.

Parameters
numResults

public abstract void setLogo (String logo)

Sets the value of the logo field on this feed.

Parameters
logo

public abstract void setStartIndex (int startIndex)

Sets the starting index of the contained entries for paged feeds. A value of UNDEFINED indicates the start index is undefined.

Parameters
startIndex

public abstract void setTotalResults (int totalResults)

Sets the total number of results associated with this feed. The value may be larger than the number of contained entries for paged feeds. A value of UNDEFINED indicates the total size is undefined.

Parameters
totalResults