Class SMB3Storer
- java.lang.Object
-
- com.logicaldoc.core.store.AbstractStorer
-
- com.logicaldoc.enterprise.storer.EncryptionAbstractStorer
-
- com.logicaldoc.enterprise.storer.smb3.SMB3Storer
-
- All Implemented Interfaces:
com.logicaldoc.core.store.Storer,Comparable<com.logicaldoc.core.store.Storer>
public class SMB3Storer extends EncryptionAbstractStorer
A storer that operates on a remote SMB3 and SMB3 share- Since:
- 8.2.2
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description SMB3Storer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(long docId)voiddelete(long docId, String resource)booleanexists(long docId, String resource)byte[]getBytes(long docId, String resource, long start, long length)List<String>getParameterNames()InputStreamgetStream(long docId, String resource)longgetTotalSize()booleanisEnabled()List<String>listResources(long docId, String fileVersion)intmoveResourcesToStore(long docId, int targetStorageId)longsize(long docId, String resource)voidstore(InputStream stream, long docId, String resource)
-
-
-
Method Detail
-
getParameterNames
public List<String> getParameterNames()
- Specified by:
getParameterNamesin interfacecom.logicaldoc.core.store.Storer- Overrides:
getParameterNamesin classEncryptionAbstractStorer
-
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)
-
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:
isEnabledin interfacecom.logicaldoc.core.store.Storer- Overrides:
isEnabledin classcom.logicaldoc.core.store.AbstractStorer
-
moveResourcesToStore
public int moveResourcesToStore(long docId, int targetStorageId) throws IOException- Throws:
IOException
-
-