| Methods' Details | 
isReadOnly
 
- Description
 
- checks if the key can be overwritten.
 
 
 
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
 | 
 
 
 | 
isValid
 
- Description
 
- checks if the key points to an open valid key in the data-source.
 
 
 
 | 
 
 
 | 
getKeyType
 
- Returns
 
- the type of the specified key.
 
 
 
- Parameter rKeyName
 
- specifies the relative path from the current key to
 the key of the type which will be returned. 
 
 
 
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
 | 
 
 
 | 
getValueType
 
- Returns
 
- the type of the key value or NOT_DEFINED if the key has no value.
 
 
 
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
 | 
 
 
 | 
getLongValue
 
- Returns
 
- a long value if the key contains one.
 
 
 
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
- Throws
 
- InvalidValueException 
 if the value is not of type long. 
 
 
 
 | 
 
 
 | 
setLongValue
 
- Description
 
- sets a long value to the key.
 
 
 
If the key already has a value, the value will be
 overridden. 
 
   
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
 | 
 
 
 | 
getLongListValue
 
- Returns
 
- a sequence of longs if the key contains a long list value.
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open.
 
 
 
- Throws
 
- InvalidValueException
 if the actual value is not of type long list.
 
 
 
 | 
 
 
 | 
setLongListValue
 
- Description
 
- sets a long list value to the key.
 
 
 
If the key already has a value, the value will be
 overridden. 
 
   
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
 | 
 
 
 | 
getAsciiValue
 
- Returns
 
- an ascii string value if the key contains one.
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open.
 
 
- Throws
 
- InvalidValueException
 if the actual value is not of type ascii.
 
 
 
 | 
 
 
 | 
setAsciiValue
 
- Description
 
- sets an ASCII string value to the key.
 
 
 
The high byte of the string should be NULL. If not, there
 is no guarantee that the string will be correctly transported.
 If the key already has a value, the value will be overridden. 
 
   
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
 | 
 
 
 | 
getAsciiListValue
 
- Returns
 
- a sequence of ascii strings if the key contains an asci list value.
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open.
 
 
 
- Throws
 
- InvalidValueException
 if the actual value is not of type ascii list.
 
 
 
 | 
 
 
 | 
setAsciiListValue
 
- Description
 
- sets an ASCII string list value to the key.
 
 
 
The high byte of the string should be NULL. If not, there
 is no guarantee that the string will be correctly transported.
 If the key already has a value, the value will be overridden. 
 
   
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
 | 
 
 
 | 
getStringValue
 
- Returns
 
- a unicode string value if the key contains one.
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open.
 
 
 
- Throws
 
- InvalidValueException
 if the actual value is not of type string.
 
 
 
 | 
 
 
 | 
setStringValue
 
- Description
 
- sets a unicode string value to the key.
 
 
 
 If the key already has a value, the value will be
 overridden. 
 
   
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
 | 
 
 
 | 
getStringListValue
 
- Returns
 
- a sequence of unicode strings if the key contains an unicode string list value.
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open.
 
 
 
- Throws
 
- InvalidValueException
 if the actual value is not of type string list.
 
 
 
 | 
 
 
 | 
setStringListValue
 
- Description
 
- sets a unicode string value to the key.
 
 
 
If the key already has a value, the value will be overridden. 
 
   
- Throws
 
- InvalidRegistryException
 if the registry is not open.
 
 
 
 | 
 
 
 | 
getBinaryValue
 
- Returns
 
- a binary value if the key contains one.
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open.
 
 
 
- Throws
 
- InvalidValueException
 if the actual value is not of type binary.
 
 
 
 | 
 
 
 | 
setBinaryValue
 
- Description
 
- sets a binary value to the key.
 
 
 
If the key already has a value, the value will be
 overridden. 
 
   
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
 | 
 
 
 | 
openKey
 
- Description
 
- opens a sub key of the key.
 
 
 
If the sub key does not exist, the function returns a
 NULL-interface. 
 
   
- Parameter aKeyName
 
- the relative path from the current key to the key
 which will be created. 
 
 
 
- Returns
 
- a NULL interface if the key does not exist. 
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open.
 
 
 
 | 
 
 
 | 
createKey
 
- Description
 
- creates a new key in the registry.
 
 
  If the key already exists, the function will open the key.
 
   
- Parameter aKeyName
 
- specifies the relative path from the current key to
 the key which will be created. 
 
 
 
- Returns
 
- a NULL interface if the key could not be created. 
 
 
 
- Throws
 
- InvalidRegistryException 
 if the registry is not open, the registry is readonly
 or if the key exists and is of type LINK.
 
 
 
 | 
 
 
 | 
closeKey
 
- Description
 
- closes a key in the registry.
 
 
 
- Throws
 
- InvalidRegistryException 
 if the registry is not open.
 
 
 
 | 
 
 
 | 
deleteKey
 
- Description
 
- deletes a key from the registry.
 
 
 
- Parameter aKeyName
 
- specifies the relative path from the current key to
 the key which will be deleted. 
 
 
 
- Throws
 
- InvalidRegistryException 
 if the registry is not open, the registry is readonly,
 the key does not exists or if the key is of type LINK.
 
 
 
 | 
 
 
 | 
openKeys
 
- Description
 
- opens all subkeys of the key. If a subkey is a link, the link will be 
 resolved and the appropriate key will be opened.
 
 
 
- Returns
 
- an empty sequence if the key has no subkeys. 
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open.
 
 
 
 | 
 
 
 | 
getKeyNames
 
- Returns
 
- a sequence with the names of all subkeys of the key.
 If the key has no subkeys, the function returns an empty sequence. If a subkey is 
 a link, the name of the link will be returned.
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open.
 
 
 
 | 
 
 
 | 
createLink
 
- Description
 
- creates a new link in the registry.
 
 
 
- Returns
 
- true if the link was created. If the link already
 exists or the link target does not exist, the
 function returns false.
 
 
 
- Parameter aLinkName
 
- specifies the relative path from the current key to
 the link which will be created. 
 
 
 
- Parameter aLinkTarget
 
- specifies the full path of the key which will be
 referenced by the link. 
 
 
 
- Throws
 
- InvalidRegistryException 
 if the registry is not open or the registry is
 readonly.
 
 
 
 
 | 
 
 
 | 
deleteLink
 
- Description
 
- deletes a link from the registry.
 
 
 
- Parameter aLinkName
 
- specifies the relative path from the current key to
 the link which will be deleted. 
 
 
 
- Throws
 
- InvalidRegistryException 
 if the registry is not open, the registry is readonly,
 or if the link does not exist.
 
 
 
 | 
 
 
 | 
getLinkTarget
 
- Returns
 
- the target (complete path of a key) of the link specified by rLinkName.
 
 
 
- Parameter rLinKName
 
- specifies the relative path from the current key to 
 the link which target will be returned. 
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open or the link does not exists.
 
 
 
 | 
 
 
 | 
getResolvedName
 
- Returns
 
- the resolved name of a key. The function resolve the complete name of the key. 
 If a link could not be resolved, the linktarget concatenated with the unresolved rest 
 of the name, will be returned. 
 
 
 
- Parameter rKeyName
 
- specifies a relative path from the current key which will be resolved from all links. 
 
 
 
- Throws
 
- InvalidRegistryException
 if the registry is not open or a recursion was detected. 
 
 
 
 | 
 
 
 | 
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.