Class DatabaseContentObjectEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- com.flowable.content.engine.impl.persistence.entity.AbstractContentEngineNoRevisionEntity
-
- com.flowable.content.engine.impl.persistence.entity.DatabaseContentObjectEntityImpl
-
- All Implemented Interfaces:
DatabaseContentObjectEntity
,Serializable
,Entity
,ContentObject
public class DatabaseContentObjectEntityImpl extends AbstractContentEngineNoRevisionEntity implements DatabaseContentObjectEntity, Serializable
- Author:
- Yvo Swillens
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
contentBytes
protected long
contentLength
protected Date
created
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
-
Constructor Summary
Constructors Constructor Description DatabaseContentObjectEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getContent()
byte[]
getContentBytes()
long
getContentLength()
Date
getCreated()
Object
getPersistentState()
void
setContent(InputStream content)
void
setContentBytes(byte[] contentBytes)
void
setCreated(Date created)
String
toString()
-
Methods inherited from class com.flowable.content.engine.impl.persistence.entity.AbstractContentEngineNoRevisionEntity
getIdPrefix
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.flowable.content.api.ContentObject
getId
-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
-
-
-
Field Detail
-
contentLength
protected long contentLength
-
contentBytes
protected byte[] contentBytes
-
created
protected Date created
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentState
in interfaceEntity
-
setCreated
public void setCreated(Date created)
- Specified by:
setCreated
in interfaceDatabaseContentObjectEntity
-
getCreated
public Date getCreated()
- Specified by:
getCreated
in interfaceDatabaseContentObjectEntity
-
getContentLength
public long getContentLength()
- Specified by:
getContentLength
in interfaceContentObject
-
getContent
public InputStream getContent()
- Specified by:
getContent
in interfaceContentObject
-
setContent
public void setContent(InputStream content)
- Specified by:
setContent
in interfaceDatabaseContentObjectEntity
-
getContentBytes
public byte[] getContentBytes()
-
setContentBytes
public void setContentBytes(byte[] contentBytes)
-
-