Package com.logicaldoc.enterprise.store
Class EnterpriseFSStore
java.lang.Object
com.logicaldoc.core.store.AbstractStore
com.logicaldoc.core.store.FSStore
com.logicaldoc.enterprise.store.EnterpriseFSStore
- All Implemented Interfaces:
com.logicaldoc.core.store.Store
,Comparable<com.logicaldoc.core.store.Store>
public class EnterpriseFSStore
extends com.logicaldoc.core.store.FSStore
A Store that operates on the Filesystem and also has compression
capabilities. If the parameter encryption=true all the document
resources will be placed in a compressed archive called container.
This archive is also encrypted.
- Since:
- 7.6.4
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
byte[]
listResources
(long docId, String fileVersion) long
void
void
store
(InputStream stream, long docId, String resource) void
writeToFile
(long docId, String resource, File out) Methods inherited from class com.logicaldoc.core.store.FSStore
delete, getContainer, getRoot, getTotalSize, moveResourcesToStore
Methods inherited from class com.logicaldoc.core.store.AbstractStore
compareTo, destroy, equals, getBytes, getConfig, getId, getParameters, getResourceName, getResourceName, getStoreDefinitions, getString, hashCode, init, isEnabled, newStore, setConfig, setId, test, toString, writeToStream, writeToStream
-
Constructor Details
-
EnterpriseFSStore
public EnterpriseFSStore()
-
-
Method Details
-
getParameterNames
- Specified by:
getParameterNames
in interfacecom.logicaldoc.core.store.Store
- Overrides:
getParameterNames
in classcom.logicaldoc.core.store.FSStore
-
store
- Specified by:
store
in interfacecom.logicaldoc.core.store.Store
- Overrides:
store
in classcom.logicaldoc.core.store.FSStore
- Throws:
IOException
-
store
- Specified by:
store
in interfacecom.logicaldoc.core.store.Store
- Overrides:
store
in classcom.logicaldoc.core.store.FSStore
- Throws:
IOException
-
delete
- Specified by:
delete
in interfacecom.logicaldoc.core.store.Store
- Overrides:
delete
in classcom.logicaldoc.core.store.FSStore
-
listResources
- Specified by:
listResources
in interfacecom.logicaldoc.core.store.Store
- Overrides:
listResources
in classcom.logicaldoc.core.store.FSStore
-
size
- Specified by:
size
in interfacecom.logicaldoc.core.store.Store
- Overrides:
size
in classcom.logicaldoc.core.store.FSStore
-
exists
- Specified by:
exists
in interfacecom.logicaldoc.core.store.Store
- Overrides:
exists
in classcom.logicaldoc.core.store.FSStore
-
getStream
- Specified by:
getStream
in interfacecom.logicaldoc.core.store.Store
- Overrides:
getStream
in classcom.logicaldoc.core.store.FSStore
- Throws:
IOException
-
writeToFile
- Specified by:
writeToFile
in interfacecom.logicaldoc.core.store.Store
- Overrides:
writeToFile
in classcom.logicaldoc.core.store.FSStore
- Throws:
IOException
-
getBytes
- Specified by:
getBytes
in interfacecom.logicaldoc.core.store.Store
- Overrides:
getBytes
in classcom.logicaldoc.core.store.FSStore
- Throws:
IOException
-