Class S3Storer
java.lang.Object
com.logicaldoc.core.store.AbstractStorer
com.logicaldoc.enterprise.storer.EncryptionAbstractStorer
com.logicaldoc.enterprise.storer.s3.S3Storer
- All Implemented Interfaces:
com.logicaldoc.core.store.Storer
,Comparable<com.logicaldoc.core.store.Storer>
- Direct Known Subclasses:
S3StorerIAMRole
A storer that operates on a remote S3 bucket using secretKey / accessKey
credentials.
- Since:
- 7.7.1
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(long docId) void
boolean
byte[]
long
boolean
listResources
(long docId, String fileVersion) int
moveResourcesToStore
(long docId, int targetStorageId) long
void
void
store
(InputStream stream, long docId, String resource) Methods inherited from class com.logicaldoc.core.store.AbstractStorer
compareTo, destroy, equals, getBytes, getConfig, getId, getParameters, getResourceName, getResourceName, getStorerDefinitions, getString, hashCode, init, newStorer, setConfig, setId, test, toString, writeToFile, writeToStream, writeToStream
-
Constructor Details
-
S3Storer
public S3Storer()
-
-
Method Details
-
getParameterNames
- Specified by:
getParameterNames
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
getParameterNames
in classEncryptionAbstractStorer
-
store
- Specified by:
store
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
store
in classcom.logicaldoc.core.store.AbstractStorer
- Throws:
IOException
-
store
- Throws:
IOException
-
delete
public void delete(long docId) -
delete
-
listResources
-
size
-
exists
-
getStream
- Throws:
IOException
-
getBytes
- 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
- Throws:
IOException
-