Class MapMutableVaultSource

    • Constructor Detail

      • MapMutableVaultSource

        public MapMutableVaultSource()
    • Method Detail

      • getEntryIds

        public Set<UUID> getEntryIds()
        Description copied from interface: VaultSource
        Return a not editable list of current stored entry ids.
        Specified by:
        getEntryIds in interface VaultSource
        Returns:
        a list of ids.
      • getName

        public String getName()
        Description copied from interface: VaultSource
        Return a unique name of the source.
        Specified by:
        getName in interface VaultSource
        Returns:
        the name
      • addEntry

        public void addEntry​(VaultEntry entry)
                      throws de.mhus.lib.errors.MException
        Specified by:
        addEntry in interface MutableVaultSource
        Throws:
        de.mhus.lib.errors.MException
      • removeEntry

        public void removeEntry​(UUID id)
                         throws de.mhus.lib.errors.MException
        Specified by:
        removeEntry in interface MutableVaultSource
        Throws:
        de.mhus.lib.errors.MException