Package com.documentum.registry
Class DfRegistrySnapshot
java.lang.Object
com.documentum.registry.DfRegistrySnapshot
- All Implemented Interfaces:
IDfRegistryHandler
This class serves as snapshot in memory of the registry
at the moment before operation started thus allowing
replace multiple accesses to registry with much speedier
in-memory operation. Operation will update information in
this structure as it will update information in registry
but no assumption about equvalence of data in this
class and in registry should be made.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDfRegistrySnapshot(String registryDump) DfRegistrySnapshot(String rootName, String registryDump) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisValueNamePresent(String name) booleanAttn. openKey doesn't supply current key name in the input so current key name should be added at the beginningvoidprocessEntry(String name, String value) booleanprocessKeys(String[] keys) voidremoveEntry(String name) voidvoidvoidbooleansubKeyExists(String[] keys) String[]subkeys()toString()String[]values()
-
Field Details
-
ROOT_NAME
- See Also:
-
-
Constructor Details
-
DfRegistrySnapshot
- Throws:
IOExceptionDfException
-
DfRegistrySnapshot
- Throws:
IOExceptionDfException
-
-
Method Details
-
processKeys
- Specified by:
processKeysin interfaceIDfRegistryHandler
-
subKeyExists
-
isSubKey
-
processEntry
- Specified by:
processEntryin interfaceIDfRegistryHandler
-
removeEntry
-
removeSubkeys
public void removeSubkeys() -
values
-
subkeys
-
isValueNamePresent
-
getValue
-
setValue
-
toString
-
openKey
Attn. openKey doesn't supply current key name in the input so current key name should be added at the beginning- Parameters:
key-- Returns:
- true means some new keys were created and update for file is necessary
-
resetToRoot
public void resetToRoot() -
getCurrentSubkeyFully
-
getCurrentKey
-