Class S3Store
java.lang.Object
com.logicaldoc.core.store.AbstractStore
com.logicaldoc.enterprise.store.EncryptionAbstractStore
com.logicaldoc.enterprise.store.s3.S3Store
- All Implemented Interfaces:
com.logicaldoc.core.store.Store
,Comparable<com.logicaldoc.core.store.Store>
- Direct Known Subclasses:
S3StoreIAMRole
A Store 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.AbstractStore
compareTo, destroy, equals, getBytes, getConfig, getId, getParameters, getResourceName, getResourceName, getStoreDefinitions, getString, hashCode, init, newStore, setConfig, setId, test, toString, writeToFile, writeToStream, writeToStream
-
Constructor Details
-
S3Store
public S3Store()
-
-
Method Details
-
getParameterNames
- Specified by:
getParameterNames
in interfacecom.logicaldoc.core.store.Store
- Overrides:
getParameterNames
in classEncryptionAbstractStore
-
store
- Specified by:
store
in interfacecom.logicaldoc.core.store.Store
- Overrides:
store
in classcom.logicaldoc.core.store.AbstractStore
- 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.Store
- Overrides:
isEnabled
in classcom.logicaldoc.core.store.AbstractStore
-
moveResourcesToStore
- Throws:
IOException
-