6 #import <Foundation/Foundation.h>
8 #import "BDListResult.h"
13 typedef void (^BDUserResultBlock)(
BDUser *user, NSError *error);
29 + (
BDUser *)fetchWithId:(NSString *)id error:(NSError **)error;
36 + (
BDUser *)fetchWithId:(NSString *)id;
43 + (void)fetchInBackgroundWithId:(NSString *)id block:(BDUserResultBlock)block;
88 + (void)fetchAllInBackgroundWithQuery:(
BDQuery *)query block:(BDListResultBlock)block;
96 + (void)fetchAllInBackground:(BDListResultBlock)block;