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[]contentBytesprotected longcontentLengthprotected Datecreated-
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 InputStreamgetContent()byte[]getContentBytes()longgetContentLength()DategetCreated()ObjectgetPersistentState()voidsetContent(InputStream content)voidsetContentBytes(byte[] contentBytes)voidsetCreated(Date created)StringtoString()-
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:
getPersistentStatein interfaceEntity
-
setCreated
public void setCreated(Date created)
- Specified by:
setCreatedin interfaceDatabaseContentObjectEntity
-
getCreated
public Date getCreated()
- Specified by:
getCreatedin interfaceDatabaseContentObjectEntity
-
getContentLength
public long getContentLength()
- Specified by:
getContentLengthin interfaceContentObject
-
getContent
public InputStream getContent()
- Specified by:
getContentin interfaceContentObject
-
setContent
public void setContent(InputStream content)
- Specified by:
setContentin interfaceDatabaseContentObjectEntity
-
getContentBytes
public byte[] getContentBytes()
-
setContentBytes
public void setContentBytes(byte[] contentBytes)
-
-