Class DatabaseContentStorage
- java.lang.Object
-
- com.flowable.content.engine.impl.db.DatabaseContentStorage
-
- All Implemented Interfaces:
ContentStorage
public class DatabaseContentStorage extends Object implements ContentStorage
-
-
Constructor Summary
Constructors Constructor Description DatabaseContentStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ContentObject
createContentObject(InputStream contentStream)
ContentObject
createContentObject(InputStream contentStream, Map<String,Object> metaData)
ContentObject
createContentObject(InputStream contentStream, ContentObjectStorageMetadata metaData)
void
deleteContentObject(String id)
ContentObject
getContentObject(String id)
String
getContentStoreName()
Map<String,Object>
getMetaData()
ContentObject
updateContentObject(String id, InputStream contentStream, Map<String,Object> metaData)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.content.api.ContentStorage
updateContentObject
-
-
-
-
Method Detail
-
createContentObject
public ContentObject createContentObject(InputStream contentStream, Map<String,Object> metaData)
- Specified by:
createContentObject
in interfaceContentStorage
-
createContentObject
public ContentObject createContentObject(InputStream contentStream, ContentObjectStorageMetadata metaData)
- Specified by:
createContentObject
in interfaceContentStorage
-
createContentObject
protected ContentObject createContentObject(InputStream contentStream)
-
updateContentObject
public ContentObject updateContentObject(String id, InputStream contentStream, Map<String,Object> metaData)
- Specified by:
updateContentObject
in interfaceContentStorage
-
getContentObject
public ContentObject getContentObject(String id)
- Specified by:
getContentObject
in interfaceContentStorage
-
getMetaData
public Map<String,Object> getMetaData()
- Specified by:
getMetaData
in interfaceContentStorage
-
deleteContentObject
public void deleteContentObject(String id)
- Specified by:
deleteContentObject
in interfaceContentStorage
-
getContentStoreName
public String getContentStoreName()
- Specified by:
getContentStoreName
in interfaceContentStorage
-
-