Diffusion Apple API  5.9.24
Unified Client Library for iOS, OS X and tvOS
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<PTDiffusionPagedStringTopicDetailsBuilder> Protocol Reference

Introduction

The protocol to which paged string topic details builders conform.

See Also
PTDiffusionTopicDetails
Deprecated:
Since 5.9. Will be removed in a future release.
Since
5.7
Inheritance diagram for <PTDiffusionPagedStringTopicDetailsBuilder>:
<PTDiffusionPagedTopicDetailsBuilder> <PTDiffusionTopicDetailsBuilder>

Instance Methods

(void) - order
 
(void) - orderWithDuplicatesPolicy:order:rules:
 
- Instance Methods inherited from <PTDiffusionPagedTopicDetailsBuilder>
(void) - orderWithComparatorName:
 
(void) - orderWithDuplicatesPolicy:comparatorName:
 
(void) - unordered
 
- Instance Methods inherited from <PTDiffusionTopicDetailsBuilder>
(void) - setPropertyValue:forKey:
 
(BOOL) - removePropertyForKey:
 
(nullable NSString *) - propertyValueForKey:
 

Additional Inherited Members

- Properties inherited from <PTDiffusionTopicDetailsBuilder>
NSString * reference
 
BOOL tidiesOnUnsubscribe
 
NSDictionary< NSString
*, NSString * > * 
properties
 

Method Documentation

- (void) order

Specifies that the topic should be ordered by policy.

The policy would be ascending order with default collation and a duplicates policy of 'not allowed'.

Calling this method replaces any previously declared ordering policy.

Since
5.7
- (void) orderWithDuplicatesPolicy: (PTDiffusionPagedTopicDuplicates *)  duplicatesPolicy
order: (PTDiffusionPagedTopicOrder *)  order
rules: (nullable PTDiffusionPagedTopicRules *)  rules 

Specifies that the topic should be ordered by policy.

The order and collation rules may be specified.

Calling this method replaces any previously declared ordering policy.

Parameters
duplicatesPolicySpecifies the policy to be applied when two lines are determined equal according to the policy.
orderThe order.
rulesThe collation rules to apply. If nil then 'no rules' is assumed.
Exceptions
NSInvalidArgumentExceptionif duplicatesPolicy or order are nil.
Since
5.7