ECHOMailmagObject Class Reference

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

Overview

An ECHOMailmagObject is a e-mail magazine object. メールマガジンオブジェクト。

Initializer

– initWithInstanceId:

Initializes a new ECHOMailmagObject. 新しいメールマガジンとしてオブジェクトを初期化します。

- (id)initWithInstanceId:(NSString *)instanceId

Parameters

instanceId

The reference ID of a member instance.メンバーインスタンスID。

Discussion

Initializes a new ECHOMailmagObject. 新しいメールマガジンとしてオブジェクトを初期化します。

Declared In

ECHOMailmagObject.h

– initWithInstanceId:refid:

Initializes a new ECHOMailmagObject based on an existing one on the remote server. 既存のメールマガジンとしてオブジェクトを初期化します。

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

Parameters

instanceId

The reference ID of a member instance.メンバーインスタンスID。

refid

The reference ID of the existing one.既存メールマガジンのID。

Discussion

Initializes a new ECHOMailmagObject based on an existing one on the remote server. 既存のメールマガジンとしてオブジェクトを初期化します。

Declared In

ECHOMailmagObject.h

– initWithInstanceId:refid:copyFrom:

Initializes a new ECHOMailmagObject 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 a member instance.

refid

The reference ID of the existing one.

source

A source NSDictionary to copy.

Discussion

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

Declared In

ECHOMailmagObject.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