25 #import <Foundation/Foundation.h>
145 + (Class)defaultConnectionClass;
146 + (void)setDefaultConnectionClass:(Class)aClass;
156 - (id)initWithSite:(NSURL *)site;
157 - (id)initWithSite:(NSURL *)site elementName:(NSString *)elementName;
166 - (
ARService *)serviceForSubelementNamed:(NSString *)elementName;
178 @property(copy, NS_NONATOMIC_IOSONLY) NSDictionary *schema;
186 - (NSArray *)knownAttributes;
195 @property(copy, NS_NONATOMIC_IOSONLY) NSURL *site;
206 - (NSURL *)siteWithPrefixParameter;
210 @property(strong, NS_NONATOMIC_IOSONLY) id<ARFormat> format;
217 @property(assign, NS_NONATOMIC_IOSONLY) NSTimeInterval timeout;
241 @property(strong, NS_NONATOMIC_IOSONLY) NSMutableDictionary *headers;
243 - (NSMutableDictionary *)headersLazily;
256 @property(copy, NS_NONATOMIC_IOSONLY) NSString *elementName;
257 @property(copy, NS_NONATOMIC_IOSONLY) NSString *collectionName;
260 - (NSString *)elementNameLazily;
261 - (NSString *)collectionNameLazily;
265 @property(copy, NS_NONATOMIC_IOSONLY) NSString *primaryKey;
267 - (NSString *)primaryKeyLazily;
275 - (NSString *)foreignKey;
282 @property(copy, NS_NONATOMIC_IOSONLY) NSString *prefixSource;
285 - (NSString *)prefixSourceLazily;
295 - (NSString *)prefixWithOptions:(NSDictionary *)options;
299 - (NSString *)elementPathForID:(NSNumber *)ID prefixOptions:(NSDictionary *)prefixOptions queryOptions:(NSDictionary *)queryOptions;
300 - (NSString *)newElementPathWithPrefixOptions:(NSDictionary *)prefixOptions;
301 - (NSString *)collectionPathWithPrefixOptions:(NSDictionary *)prefixOptions queryOptions:(NSDictionary *)queryOptions;
358 - (void)findSingleWithID:(NSNumber *)ID options:(NSDictionary *)options completionHandler:(
ARResourceCompletionHandler)completionHandler;
374 - (void)deleteWithID:(NSNumber *)ID options:(NSDictionary *)options completionHandler:(
void (^)(
ARHTTPResponse *response, NSError *error))completionHandler;
396 - (void)existsWithID:(NSNumber *)ID options:(NSDictionary *)options completionHandler:(
void (^)(
ARHTTPResponse *response, BOOL exists, NSError *error))completionHandler;