# FTDictionaryServiceTransactionStepImpl

## Abstract

A step using to update the dictionary of a particular graph

## Methods

`-performAction:`
  Called by the transaction controll in order to run the transaction
`+transactionForOperationREMOVEOfNode`
  creates an transaction for removing a dictionary entry
`+transactionForOperationREMOVEOfNode:withKey:withDictionaryServiceGraphImpl:transactionContext:`
  creates an transaction for removing a dictionary entry
`+transactionForOperationSETOfNode`
  creates an transaction for adding/updating a dictionary entry
`+transactionForOperationSETOfNode:withKey:withObject:withDictionaryServiceGraphImpl:transactionContext:`
  creates an transaction for adding/updating a dictionary entry
`-undoAction:`
  removes all modifications previously been done by ``

### 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

### transactionForOperationREMOVEOfNode

creates an transaction for removing a dictionary entry

See Also:

> transactionForOperationREMOVEOfNode:withKey:withDictionaryServiceGraphImpl:transactionContext:

>     + (FTDictionaryServiceTransactionStepImpl *)
>             transactionForOperationREMOVEOfNode: (id <FTNode>) aNode withKey: (id <NSCoding>) aKey withDictionaryServiceGraphImpl:(FTDictionaryServiceForGraphImpl *) serviceImpl transactionContext: (FTTransactionContext *) context;

##### Parameter Descriptions

> `aNode`
>   associated node
> `aKey`
>   key for entry
> `serviceImpl`
>   underlying service instance
> `context`
>   transaction context to use

method result
  created transaction step

### transactionForOperationREMOVEOfNode:withKey:withDictionaryServiceGraphImpl:transactionContext:

creates an transaction for removing a dictionary entry

See Also:

> transactionForOperationREMOVEOfNode

>     + (FTDictionaryServiceTransactionStepImpl *)
>             transactionForOperationREMOVEOfNode: (id <FTNode>) aNode withKey: (id <NSCoding>) aKey withDictionaryServiceGraphImpl:(FTDictionaryServiceForGraphImpl *) serviceImpl transactionContext: (FTTransactionContext *) context;

##### Parameter Descriptions

> `aNode`
>   associated node
> `aKey`
>   key for entry
> `serviceImpl`
>   underlying service instance
> `context`
>   transaction context to use

### transactionForOperationSETOfNode

creates an transaction for adding/updating a dictionary entry

See Also:

> transactionForOperationSETOfNode:withKey:withObject:withDictionaryServiceGraphImpl:transactionContext:

>     + (FTDictionaryServiceTransactionStepImpl *)
>             transactionForOperationSETOfNode: (id <FTNode>) aNode withKey: (id <NSCoding>) aKey withObject: (id <NSCoding>) anObject withDictionaryServiceGraphImpl:(FTDictionaryServiceForGraphImpl *) serviceImpl transactionContext: (FTTransactionContext *) context;

##### Parameter Descriptions

> `aNode`
>   associated node
> `aKey`
>   key for entry
> `anObject`
>   object to set
> `serviceImpl`
>   underlying service instance
> `context`
>   transaction context to use

method result
  created transaction step

### transactionForOperationSETOfNode:withKey:withObject:withDictionaryServiceGraphImpl:transactionContext:

creates an transaction for adding/updating a dictionary entry

See Also:

> transactionForOperationSETOfNode

>     + (FTDictionaryServiceTransactionStepImpl *)
>             transactionForOperationSETOfNode: (id <FTNode>) aNode withKey: (id <NSCoding>) aKey withObject: (id <NSCoding>) anObject withDictionaryServiceGraphImpl:(FTDictionaryServiceForGraphImpl *) serviceImpl transactionContext: (FTTransactionContext *) context;

##### Parameter Descriptions

> `aNode`
>   associated node
> `aKey`
>   key for entry
> `anObject`
>   object to set
> `serviceImpl`
>   underlying service instance
> `context`
>   transaction context to use

### undoAction:

removes all modifications previously been done by ``

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

method result
  return YES if done successfully

(Last Updated August 27, 2006)