- All Superinterfaces:
public interface NodeStorageInterface extends L2pStorageInterface
Stores the given Envelope in the network. The content is signed with the key from the given author. If an exception occurs its wrapped as StorageException. With this method collisions are handled by throwing an
EnvelopeAlreadyExistsException. This method uses the default timeout defined by the acting node.
envelope- The Envelope to store in the network.
author- The author that is used to sign the content.
EnvelopeException- If an issue with the storage occurs.
EnvelopeVersion fetchEnvelope(java.lang.String identifier) throws EnvelopeNotFoundException, EnvelopeExceptionFetches the latest version for the given identifier from the network. This method uses the default timeout defined by the acting node.