Class DfRegistrySnapshot

java.lang.Object
com.documentum.registry.DfRegistrySnapshot
All Implemented Interfaces:
IDfRegistryHandler

public class DfRegistrySnapshot extends Object implements 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 Details

  • Constructor Details

  • Method Details

    • processKeys

      public boolean processKeys(String[] keys)
      Specified by:
      processKeys in interface IDfRegistryHandler
    • subKeyExists

      public boolean subKeyExists(String[] keys)
    • isSubKey

      public boolean isSubKey(String key)
    • processEntry

      public void processEntry(String name, String value)
      Specified by:
      processEntry in interface IDfRegistryHandler
    • removeEntry

      public void removeEntry(String name)
    • removeSubkeys

      public void removeSubkeys()
    • values

      public String[] values()
    • subkeys

      public String[] subkeys()
    • isValueNamePresent

      public boolean isValueNamePresent(String name)
    • getValue

      public String getValue(String name)
    • setValue

      public void setValue(String name, String value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • openKey

      public boolean openKey(String key)
      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

      public String getCurrentSubkeyFully()
    • getCurrentKey

      public DfRegistryKey getCurrentKey()