<OOPaginatedParentItem> Protocol Reference

#import <OOPaginatedParentItem.h>

+ Inheritance diagram for <OOPaginatedParentItem>:

Instance Methods

(NSString *) - embedCode
 The OOPaginatedParentItem's Embed Code. More...
 
(OOReturnState) - updateWithDictionary:
 
(BOOL) - hasMoreChildren
 Find out it this OOPaginatedParentItem has more children. More...
 
(NSString *) - nextChildren
 
(BOOL) - fetchMoreChildren:
 Fetch the additional children if they exist. More...
 
(NSUInteger) - childrenCount
 The number of children this OOPaginatedParentItem has. More...
 

Method Documentation

- (NSUInteger) childrenCount

The number of children this OOPaginatedParentItem has.

Returns
an NSUInteger with the number of children

Reimplemented in OOChannel, and OOChannelSet.

- (NSString *) embedCode

The OOPaginatedParentItem's Embed Code.

Returns
the NSString embed code
- (BOOL) fetchMoreChildren: (OOFetchMoreChildrenCallback)  callback

Fetch the additional children if they exist.

Parameters
[in]callbackthe OOFetchMoreChildrenCallback to execute when the children are fetched
Returns
YES if more children exist, NO if they don't or they are already in the process of being fetched

Reimplemented in OOChannel, and OOChannelSet.

- (BOOL) hasMoreChildren

Find out it this OOPaginatedParentItem has more children.

Returns
YES if it does, NO if it doesn't

Reimplemented in OOChannel, and OOChannelSet.

- (NSString *) nextChildren
- (OOReturnState) updateWithDictionary: (NSDictionary *)  data

Reimplemented in OOChannel, OOChannelSet, and OODynamicChannel.


The documentation for this protocol was generated from the following file: