Class AzureStorer

java.lang.Object
com.logicaldoc.core.store.AbstractStorer
com.logicaldoc.enterprise.storer.EncryptionAbstractStorer
com.logicaldoc.enterprise.storer.azure.AzureStorer
All Implemented Interfaces:
com.logicaldoc.core.store.Storer, Comparable<com.logicaldoc.core.store.Storer>

public class AzureStorer extends EncryptionAbstractStorer
A storer that operates on a remote Microsoft Azure Storage (Blob)
Since:
7.7.1
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • AzureStorer

      public AzureStorer()
  • Method Details

    • getParameterNames

      public List<String> getParameterNames()
      Specified by:
      getParameterNames in interface com.logicaldoc.core.store.Storer
      Overrides:
      getParameterNames in class EncryptionAbstractStorer
    • store

      public void store(File file, long docId, String resource) throws IOException
      Specified by:
      store in interface com.logicaldoc.core.store.Storer
      Overrides:
      store in class com.logicaldoc.core.store.AbstractStorer
      Throws:
      IOException
    • store

      public void store(InputStream stream, long docId, String resource) throws IOException
      Throws:
      IOException
    • delete

      public void delete(long docId)
    • delete

      public void delete(long docId, String resource)
    • listResources

      public List<String> listResources(long docId, String fileVersion)
    • size

      public long size(long docId, String resource)
    • exists

      public boolean exists(long docId, String resource)
    • getStream

      public InputStream getStream(long docId, String resource) throws IOException
      Throws:
      IOException
    • getBytes

      public byte[] getBytes(long docId, String resource, long start, long length) throws IOException
      Throws:
      IOException
    • getTotalSize

      public long getTotalSize()
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface com.logicaldoc.core.store.Storer
      Overrides:
      isEnabled in class com.logicaldoc.core.store.AbstractStorer
    • moveResourcesToStore

      public int moveResourcesToStore(long docId, int targetStorageId) throws IOException
      Throws:
      IOException