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 void
delete(long docId)
void
delete(long docId, String resource)
boolean
exists(long docId, String resource)
byte[]
getBytes(long docId, String resource, long start, long length)
List<String>
getParameterNames()
InputStream
getStream(long docId, String resource)
long
getTotalSize()
boolean
isEnabled()
List<String>
listResources(long docId, String fileVersion)
int
moveResourcesToStore(long docId, int targetStorageId)
long
size(long docId, String resource)
void
store(InputStream stream, long docId, String resource)
-
-
-
Method Detail
-
getParameterNames
public List<String> getParameterNames()
- Specified by:
getParameterNames
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
getParameterNames
in 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:
isEnabled
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
isEnabled
in classcom.logicaldoc.core.store.AbstractStorer
-
moveResourcesToStore
public int moveResourcesToStore(long docId, int targetStorageId) throws IOException
- Throws:
IOException
-
-