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:
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
long
void
setContent
(InputStream content) void
setContentBytes
(byte[] contentBytes) void
setCreated
(Date created) 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 Details
-
contentLength
protected long contentLength -
contentBytes
protected byte[] contentBytes -
created
-
-
Constructor Details
-
DatabaseContentObjectEntityImpl
public DatabaseContentObjectEntityImpl()
-
-
Method Details
-
getPersistentState
- Specified by:
getPersistentState
in interfaceEntity
-
setCreated
- Specified by:
setCreated
in interfaceDatabaseContentObjectEntity
-
getCreated
- Specified by:
getCreated
in interfaceDatabaseContentObjectEntity
-
getContentLength
public long getContentLength()- Specified by:
getContentLength
in interfaceContentObject
-
getContent
- Specified by:
getContent
in interfaceContentObject
-
setContent
- Specified by:
setContent
in interfaceDatabaseContentObjectEntity
-
getContentBytes
public byte[] getContentBytes() -
setContentBytes
public void setContentBytes(byte[] contentBytes) -
toString
-