ECHOEntryObject Class Reference

Inherits from ECHOContentsObject : ECHODataObject : ECHOObject : NSObject
Conforms to DeleteProtocol
FetchProtocol
PushProtocol
Declared in ECHOEntryObject.h
ECHOEntryObject.m

Overview

An ECHOEntryObject is a particular entry object. 記事オブジェクト。

Other Methods

– initWithInstanceId:

Initializes a new ECHOEntryObject. 新しい記事としてオブジェクトを初期化します。

- (id)initWithInstanceId:(NSString *)instanceId

Parameters

instanceId

The reference ID of the instance to which this object belongs.新しい記事を所属させるデータベースインスタンスのID。

Discussion

Initializes a new ECHOEntryObject. 新しい記事としてオブジェクトを初期化します。

Declared In

ECHOEntryObject.h

– initWithInstanceId:refid:

Initializes a new ECHOEntryObject based on an existing one on the remote server. 既存の記事としてオブジェクトを初期化します。

- (id)initWithInstanceId:(NSString *)instanceId refid:(NSString *)refid

Parameters

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 ECHOEntryObject based on an existing one on the remote server. 既存の記事としてオブジェクトを初期化します。

Declared In

ECHOEntryObject.h

– initWithInstanceId:refid:copyFrom:

Initializes a new ECHOEntryObject based on an existing one on the remote server.

- (id)initWithInstanceId:(NSString *)instanceId refid:(NSString *)refid copyFrom:(NSDictionary *)source

Parameters

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 ECHOEntryObject based on an existing one on the remote server.

Declared In

ECHOEntryObject.h

Other Methods

– fetch:

Fetches data from the ECHO server by synchronous communication. 同期通信によるデータ取得。

- (void)fetch:(NSError **)returningError

Discussion

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)block

Discussion

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 **)returningError

Discussion

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)block

Discussion

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 **)returningError

Discussion

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)block

Discussion

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 *)source

Parameters

source

The source NSDictionary.

Discussion

Copies data from a NSDictionary.

Declared In

ECHODataObject_Protected.h