ECHOMemberObject Class Reference
| Inherits from | ECHODataObject : ECHOObject : NSObject |
|---|---|
| Conforms to | DeleteProtocol FetchProtocol PushProtocol |
| Declared in | ECHOMemberObject.h ECHOMemberObject.m |
Other Methods
– initWithInstanceId:
Initializes a new ECHOMemberObject. 新しいメンバーとしてオブジェクトを初期化します。
- (id)initWithInstanceId:(NSString *)instanceIdParameters
instanceId |
The reference ID of the instance to which this object belongs.新しいメンバーを所属させるメンバーインスタンスのID。 |
|---|
Discussion
Initializes a new ECHOMemberObject. 新しいメンバーとしてオブジェクトを初期化します。
Declared In
ECHOMemberObject.h
– initWithInstanceId:refid:
Initializes a new ECHOMemberObject based on an existing one on the remote server. 既存のメンバーとしてオブジェクトを初期化します。
- (id)initWithInstanceId:(NSString *)instanceId refid:(NSString *)refidParameters
instanceId |
The reference ID of the instance to which this object has belonged.既存メンバーが所属するメンバーインスタンスのID。 |
|---|---|
refid |
The reference ID of the existing one.既存メンバーのID。 |
Discussion
Initializes a new ECHOMemberObject based on an existing one on the remote server. 既存のメンバーとしてオブジェクトを初期化します。
Declared In
ECHOMemberObject.h
– initWithInstanceId:refid:copyFrom:
Initializes a new ECHOMemberObject based on an existing one on the remote server.
- (id)initWithInstanceId:(NSString *)instanceId refid:(NSString *)refid copyFrom:(NSDictionary *)sourceParameters
instanceId |
The reference ID of the instance to which this object has belonged. |
|---|---|
refid |
The reference ID of the existing one. |
source |
A source NSDictionary to copy. |
Discussion
Initializes a new ECHOMemberObject based on an existing one on the remote server.
Declared In
ECHOMemberObject.h
Other Methods
– fetch:
Fetches data from the ECHO server by synchronous communication. 同期通信によるデータ取得。
- (void)fetch:(NSError **)returningErrorDiscussion
Fetches data from the ECHO server by synchronous communication. 同期通信によるデータ取得。
Declared In
FetchProtocol.h
– fetchInBackgroundWithBlock:
Fetches data from the ECHO server in a background thread. A block is done in the main (UI) thread after the fetching. 非同期通信によるデータ取得。取得完了後に指定したブロックをメインスレッドで実行します。
- (void)fetchInBackgroundWithBlock:(ECHOResultBlock)blockDiscussion
Fetches data from the ECHO server in a background thread. A block is done in the main (UI) thread after the fetching. 非同期通信によるデータ取得。取得完了後に指定したブロックをメインスレッドで実行します。
Declared In
FetchProtocol.h
– push:
Pushes data to the remote server by synchronous communication. 同期通信による保存。
- (void)push:(NSError **)returningErrorDiscussion
Pushes data to the remote server by synchronous communication. 同期通信による保存。
Declared In
PushProtocol.h
– pushInBackgroundWithBlock:
Pushes data to the remote server in a background thread. A block is done in the main (UI) thread after the pushing. 非同期通信による保存。保存完了後に指定したブロックをメインスレッドで実行します。
- (void)pushInBackgroundWithBlock:(ECHOResultBlock)blockDiscussion
Pushes data to the remote server in a background thread. A block is done in the main (UI) thread after the pushing. 非同期通信による保存。保存完了後に指定したブロックをメインスレッドで実行します。
Declared In
PushProtocol.h
– delete:
Deletes an object from the remote server by a synchronous communication. 同期通信による削除。
- (void)delete:(NSError **)returningErrorDiscussion
Deletes an object from the remote server by a synchronous communication. 同期通信による削除。
Declared In
DeleteProtocol.h
– deleteInBackgroundWithBlock:
Deletes an object from the remote server in a background thread. A block is done in the main (UI) thread after the deleting. 非同期通信による削除。削除完了後に指定したブロックをメインスレッドで実行します。
- (void)deleteInBackgroundWithBlock:(ECHOResultBlock)blockDiscussion
Deletes an object from the remote server in a background thread. A block is done in the main (UI) thread after the deleting. 非同期通信による削除。削除完了後に指定したブロックをメインスレッドで実行します。
Declared In
DeleteProtocol.h
– copyFrom:
Copies data from a NSDictionary.
- (void)copyFrom:(NSDictionary *)sourceParameters
source |
The source NSDictionary. |
|---|
Discussion
Copies data from a NSDictionary.
Declared In
ECHODataObject_Protected.h