Up

AFFarmStore class documentation

Authors

Stefan Urbanek

Copyright: (C) 2002 Stefan Urbanek

Software documentation for the AFFarmStore class

AFFarmStore : NSObject

Declared in:
FarmingKit/AFFarmStore.h

Description forthcoming.

Method summary

storeWithPath:create:

+ (id) storeWithPath: (NSString*)aPath create: (BOOL)flag;

Description forthcoming.


commit

- (void) commit;

Save all objects and property lists. Not used yet, only for saving commit count.


create

- (BOOL) create;

Description forthcoming.


initWithPath:create:

- (id) initWithPath: (NSString*)aPath create: (BOOL)create;

Init


objectWithName:

- (id) objectWithName: (NSString*)objectName;

Restore and return an object.


path

- (NSString*) path;

Returns store path


pathForObjectWithName:

- (NSString*) pathForObjectWithName: (NSString*)aString;

Description forthcoming.


pathForPropertyListWithName:

- (NSString*) pathForPropertyListWithName: (NSString*)aString;

Description forthcoming.


propertyListWithName:

- (id) propertyListWithName: (NSString*)plistName;

Restore and return a property list with given name.


setPath:

- (BOOL) setPath: (NSString*)aPath;

Set store path. Path should not be nil or an empty string. If path does not have .afarm extension, it will be added.


storeObject:withName:

- (BOOL) storeObject: (id)anObject withName: (NSString*)objectName;

Description forthcoming.


storePropertyList:withName:

- (BOOL) storePropertyList: (id)plist withName: (NSString*)plistName;

Description forthcoming.



Up