ActiveResourceKit
v1.2 (498.0)
|
#import <Person.h>
Class Methods | |
(NSURL *) | + site [implementation] |
Class Methods inherited from ARResource | |
(ARService *) | + service |
Constructs an active resource service using class methods to establish the site and element name. | |
Additional Inherited Members | |
Instance Methods inherited from ARResource | |
(id) | - initWithService: |
(id) | - initWithService:attributes: |
(id) | - initWithService:attributes:persisted: |
(NSDictionary *) | - optionsForSubelement |
Answers options for applying this resource's identity to a nested service. | |
(ARService *) | - serviceLazily |
Asks for the resource service, lazily constructing a service instance if the resource does not currently retain a service. | |
(void) | - mergeAttributes: |
Merges the contents of a dictionary into the receiver's attributes. | |
(void) | - loadAttributes:removeRoot: |
Loads resource attributes from a dictionary of key-value pairs. | |
(NSDictionary *) | - schema |
(NSArray *) | - knownAttributes |
Answers all the known attributes belonging to this active resource, a unique array of attribute key strings. | |
(BOOL) | - isNew |
(BOOL) | - isNewRecord |
(NSNumber *) | - ID |
Answers the primary key. | |
(void) | - setID: |
(void) | - saveWithCompletionHandler: |
(void) | - destroyWithCompletionHandler: |
(void) | - existsWithCompletionHandler: |
(NSData *) | - encode |
Answers a serialised data representation of the resource according to the configured serialisation format. | |
(id) | - init [implementation] |
(id) | - copyWithZone: [implementation] |
(void) | - setAttributes: [implementation] |
(id) | - valueForUndefinedKey: [implementation] |
(void) | - setValue:forUndefinedKey: [implementation] |
(void) | - setNilValueForKey: [implementation] |
(NSDictionary *) | - dictionaryWithValuesForKeys: [implementation] |
Transfers values from the resource attributes to a dictionary, answering the dictionary. | |
(void) | - setValuesForKeysWithDictionary: [implementation] |
(NSString *) | - description [implementation] |
(void) | - updateWithCompletionHandler: |
(void) | - createWithCompletionHandler: |
(void) | - loadAttributesFromResponse:attributes: |
(NSString *) | - elementPathWithOptions: |
Answers this resource's element path. | |
(NSArray *) | - toKey |
Enumerates all key attributes. | |
(NSString *) | - toParam |
Protected Attributes inherited from ARResource | |
NSMutableDictionary *__strong | _attributes |
Properties inherited from ARResource | |
ARService * | service |
NSDictionary * | attributes |
NSDictionary * | prefixOptions |
BOOL | persisted |