com.ooyala.android.item.PaginatedParentItem Interface Reference
Inheritance diagram for com.ooyala.android.item.PaginatedParentItem:
com.ooyala.android.item.Channel com.ooyala.android.item.ChannelSet com.ooyala.android.item.DynamicChannel

Public Member Functions

String getEmbedCode ()
 
ReturnState update (JSONObject data)
 For internal use only. More...
 
boolean hasMoreChildren ()
 Find out it this PaginatedParentItem has more children. More...
 
OrderedMap< String, ? extends ContentItemgetAllAvailableChildren ()
 Returns all of the children that were already retrieved from the server. More...
 
int childrenCount ()
 The number of children this PaginatedParentItem has. More...
 
String getNextChildren ()
 For Internal Use Only. More...
 

Member Function Documentation

int com.ooyala.android.item.PaginatedParentItem.childrenCount ( )

The number of children this PaginatedParentItem has.

Returns
an int with the number of children

Implemented in com.ooyala.android.item.Channel, and com.ooyala.android.item.ChannelSet.

OrderedMap<String, ? extends ContentItem> com.ooyala.android.item.PaginatedParentItem.getAllAvailableChildren ( )

Returns all of the children that were already retrieved from the server.

Returns
an ordered map that contains all retrieved content items

Implemented in com.ooyala.android.item.Channel, and com.ooyala.android.item.ChannelSet.

String com.ooyala.android.item.PaginatedParentItem.getEmbedCode ( )
String com.ooyala.android.item.PaginatedParentItem.getNextChildren ( )

For Internal Use Only.

Returns
the next children token for this PaginatedParentItem

Implemented in com.ooyala.android.item.Channel, and com.ooyala.android.item.ChannelSet.

boolean com.ooyala.android.item.PaginatedParentItem.hasMoreChildren ( )

Find out it this PaginatedParentItem has more children.

Returns
true if it does, false if it doesn't

Implemented in com.ooyala.android.item.Channel, and com.ooyala.android.item.ChannelSet.

ReturnState com.ooyala.android.item.PaginatedParentItem.update ( JSONObject  data)

For internal use only.

Update the PaginatedParentItem using the specified data (subclasses should override and call this)

Parameters
datathe data to use to update this PaginatedParentItem
Returns
a ReturnState based on if the data matched or not (or parsing failed)

Implemented in com.ooyala.android.item.Channel, com.ooyala.android.item.ChannelSet, and com.ooyala.android.item.DynamicChannel.