# _FTPersistentSetTransactionStep

## Abstract

Internal method used to perform the database updates

## Methods

`+addTransactionStepForChunk`
  Adds a transaction step to the current transaction in order to update the given chunk for the given set. Does nothing if there already exists a transaction for this chunk
`+addTransactionStepForChunk:forSet:`
  Adds a transaction step to the current transaction in order to update the given chunk for the given set. Does nothing if there already exists a transaction for this chunk
`-initWithChunk`
`-initWithChunk:forContext:`
`-performAction:`
  Called by the transaction controll in order to run the transaction
`-undoAction:`
  removes all modifications previously been done by ``

### addTransactionStepForChunk

Adds a transaction step to the current transaction in order to update the given chunk for the given set. Does nothing if there already exists a transaction for this chunk

See Also:

> addTransactionStepForChunk:forSet:

>     + (void) addTransactionStepForChunk: (_FTPersistentSetChunk *) aChunk forSet: (FTPersistentSetImpl *) aSet;

##### Parameter Descriptions

> `aChunk`
>   chunk to update
> `aSet`
>   set the chunk belongs to

### addTransactionStepForChunk:forSet:

Adds a transaction step to the current transaction in order to update the given chunk for the given set. Does nothing if there already exists a transaction for this chunk

See Also:

> addTransactionStepForChunk

>     + (void) addTransactionStepForChunk: (_FTPersistentSetChunk *) aChunk forSet: (FTPersistentSetImpl *) aSet;

##### Parameter Descriptions

> `aChunk`
>   chunk to update
> `aSet`
>   set the chunk belongs to

### initWithChunk

See Also:

> initWithChunk:forContext:

>     - initWithChunk: (_FTPersistentSetChunk *) chunk forContext: (FTTransactionContext *) aContext;

##### Parameter Descriptions

> `chunk`
>   to update
> `aContext`
>   underlying transaction context

method result
  self

### initWithChunk:forContext:

See Also:

> initWithChunk

>     - initWithChunk: (_FTPersistentSetChunk *) chunk forContext: (FTTransactionContext *) aContext;

##### Parameter Descriptions

> `chunk`
>   to update
> `aContext`
>   underlying transaction context

### performAction:

Called by the transaction controll in order to run the transaction

>     - (BOOL) performAction: (FTTransactionContext *) transactionContext;

method result
  return information about the success of this operation

### undoAction:

removes all modifications previously been done by ``

>     - (BOOL) undoAction: (FTTransactionContext *) transactionContext;

method result
  return YES if done successfully

(Last Updated August 27, 2006)