ActiveResourceKit
v1.2 (498.0)
|
Additional Inherited Members | |
Instance Methods inherited from ARService | |
(id) | - initWithSite: |
Initialises a new Active Resource Base instance using a given site. | |
(id) | - initWithSite:elementName: |
(ARService *) | - serviceForSubelementNamed: |
Derives a service for a subelement based on this service, representing nested resources. | |
(NSArray *) | - knownAttributes |
Answers the known attributes, known because the resource server publishes them; although the server does not necessarily publish everything. | |
(NSURL *) | - siteWithPrefixParameter |
Answers this service's site URL combined with an additional prefix parameter representing the element attached to this service. | |
(id< ARFormat >) | - formatLazily |
(ARConnection *) | - connectionLazily |
(void) | - setConnection: |
(NSMutableDictionary *) | - headersLazily |
(NSString *) | - elementNameLazily |
(NSString *) | - collectionNameLazily |
(NSString *) | - primaryKeyLazily |
(NSString *) | - foreignKey |
Answers the element's foreign key. | |
(NSString *) | - prefixSourceLazily |
(NSString *) | - prefixWithOptions: |
(NSString *) | - elementPathForID:prefixOptions:queryOptions: |
(NSString *) | - newElementPathWithPrefixOptions: |
(NSString *) | - collectionPathWithPrefixOptions:queryOptions: |
(void) | - buildWithAttributes:completionHandler: |
(void) | - createWithAttributes:completionHandler: |
Creates a new resource instance, requesting that the remote service saves the new resource. | |
(void) | - findAllWithOptions:completionHandler: |
(void) | - findFirstWithOptions:completionHandler: |
(void) | - findLastWithOptions:completionHandler: |
(void) | - findSingleWithID:options:completionHandler: |
Finds a single resource for a given identifier using the default URL. | |
(void) | - findOneWithOptions:completionHandler: |
Finds a single resource from a one-off URL. | |
(void) | - deleteWithID:options:completionHandler: |
Deletes the resource with the given ID. | |
(void) | - existsWithID:options:completionHandler: |
Asserts the existence of a resource. | |
(id) | - init [implementation] |
(id< ARFormat >) | - defaultFormat |
(NSString *) | - defaultElementName |
(NSString *) | - defaultCollectionName |
(NSString *) | - defaultPrimaryKey |
(NSString *) | - defaultPrefixSource |
(void) | - findEveryWithOptions:completionHandler: |
(NSArray *) | - instantiateCollection:prefixOptions: |
(ARResource *) | - instantiateRecordWithAttributes:prefixOptions: |
Instantiates a resource element (a record) using the given attributes and prefix options. | |
(NSSet *) | - prefixParameters |
(void) | - splitOptions:prefixOptions:queryOptions: |
(void) | - get:completionHandler: |
Sends an asynchronous GET request. Used to find a resource. | |
(void) | - delete:completionHandler: |
Used to delete resources. Sends an asynchronous DELETE request. | |
(void) | - put:body:completionHandler: |
Sends an asynchronous PUT request. | |
(void) | - post:body:completionHandler: |
Sends an asynchronous POST request. | |
(void) | - head:completionHandler: |
Used to obtain meta-information about resources, whether they exist or their size. Sends an asynchronous HEAD request. | |
(void) | - requestHTTPMethod:path:body:completionHandler: |
Submits an asynchronous request, returning immediately. | |
(ARConnectionCompletionHandler) | - decodeHandlerWithCompletionHandler: |
Answers a decoding handler which, in turn, after decoding, invokes another given completion block. | |
Class Methods inherited from ARService | |
(Class) | + defaultConnectionClass |
(void) | + setDefaultConnectionClass: |
Protected Attributes inherited from ARService | |
ARConnection *__strong | _connection |
Properties inherited from ARService | |
NSDictionary * | schema |
NSURL * | site |
id< ARFormat > | format |
NSTimeInterval | timeout |
NSMutableDictionary * | headers |
NSString * | elementName |
NSString * | collectionName |
NSString * | primaryKey |
NSString * | prefixSource |
Definition at line 49 of file ActiveResourceKitTests.m.