FTSystemDictionary


Abstract

The system dictionary is used to manage system internal settings

Methods

-initWithDictionaryProvider
initialize this instance with the underlying dictionary to be used
-initWithDictionaryProvider:forServer:
initialize this instance with the underlying dictionary to be used
-newGraphDatabaseName
Get a unique name for a graph database
-newGraphDatabaseName This method is for internal purposes only.
return a unique name usefule for creating a database. This name is based on a naming scheme and a related counter.
-newUniqueNameWithScheme:counterName:increment:
return a unique name usefule for creating a database. This name is based on a naming scheme and a related counter.
-setup
setup this dictionary
-updateCounterWithName
update an entry by incrementing its value
-updateCounterWithName:increment:
update an entry by incrementing its value

initWithDictionaryProvider


initialize this instance with the underlying dictionary to be used

See Also:
initWithDictionaryProvider:forServer:
- initWithDictionaryProvider: (id <FTDictionaryProvider>) aDictionaryProvider forServer: (id <FTServer>) aServer;
Parameter Descriptions
aDictionaryProvider
dictionary to use

initWithDictionaryProvider:forServer:


initialize this instance with the underlying dictionary to be used

See Also:
initWithDictionaryProvider
- initWithDictionaryProvider: (id <FTDictionaryProvider>) aDictionaryProvider forServer: (id <FTServer>) aServer;
Parameter Descriptions
aDictionaryProvider
dictionary to use

newGraphDatabaseName


Get a unique name for a graph database

- (NSString *) newGraphDatabaseName;
method result
unique name for a database
Discussion

This method is based on an internal counter and the naming schema to be found in info.plist under


newGraphDatabaseName This method is for internal purposes only.


return a unique name usefule for creating a database. This name is based on a naming scheme and a related counter.

See Also:
newUniqueNameWithScheme:counterName:increment:
- (NSString *) newUniqueNameWithScheme: (NSString *) schemeInfoEntry counterName: (NSString *) aCounterName increment: (int) increment;
Parameter Descriptions
schemeInfoEntry
reference to an entry within info.plist which contains the naming scheme
aCounterName
name of the counter which refers to an integer value within the dictionary provider
increment
value to add to the counter before creating the name
Discussion

based on a naming scheme, a counter and an increment value this method creates a unique name for a database. For internal usage only.


newUniqueNameWithScheme:counterName:increment:


return a unique name usefule for creating a database. This name is based on a naming scheme and a related counter.

See Also:
newGraphDatabaseName This method is for internal purposes only.
- (NSString *) newUniqueNameWithScheme: (NSString *) schemeInfoEntry counterName: (NSString *) aCounterName increment: (int) increment;
Parameter Descriptions
schemeInfoEntry
reference to an entry within info.plist which contains the naming scheme
aCounterName
name of the counter which refers to an integer value within the dictionary provider
increment
value to add to the counter before creating the name
Discussion

based on a naming scheme, a counter and an increment value this method creates a unique name for a database. For internal usage only.


setup


setup this dictionary

- setup;
Discussion

this method should directly be called after the dictionary database has been created. It setups basic entries.


updateCounterWithName


update an entry by incrementing its value

See Also:
updateCounterWithName:increment:
- (int) updateCounterWithName: (NSString *) aName increment: (int) increment;
Parameter Descriptions
aName
name of entry
increment
value to add
method result
new value
Discussion

This method is for internal purposes only


updateCounterWithName:increment:


update an entry by incrementing its value

See Also:
updateCounterWithName
- (int) updateCounterWithName: (NSString *) aName increment: (int) increment;
Parameter Descriptions
aName
name of entry
increment
value to add
Discussion

This method is for internal purposes only

(Last Updated August 27, 2006)