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, org.flowable.common.engine.impl.persistence.entity.Entity, org.flowable.content.api.ContentObject

public class DatabaseContentObjectEntityImpl extends AbstractContentEngineNoRevisionEntity implements DatabaseContentObjectEntity, Serializable
Author:
Yvo Swillens
See Also:
  • Field Details

    • contentLength

      protected long contentLength
    • contentBytes

      protected byte[] contentBytes
    • created

      protected Date created
  • Constructor Details

    • DatabaseContentObjectEntityImpl

      public DatabaseContentObjectEntityImpl()
  • Method Details

    • getPersistentState

      public Object getPersistentState()
      Specified by:
      getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.Entity
    • setCreated

      public void setCreated(Date created)
      Specified by:
      setCreated in interface DatabaseContentObjectEntity
    • getCreated

      public Date getCreated()
      Specified by:
      getCreated in interface DatabaseContentObjectEntity
    • getContentLength

      public long getContentLength()
      Specified by:
      getContentLength in interface org.flowable.content.api.ContentObject
    • getContent

      public InputStream getContent()
      Specified by:
      getContent in interface org.flowable.content.api.ContentObject
    • setContent

      public void setContent(InputStream content)
      Specified by:
      setContent in interface DatabaseContentObjectEntity
    • getContentBytes

      public byte[] getContentBytes()
    • setContentBytes

      public void setContentBytes(byte[] contentBytes)
    • toString

      public String toString()
      Overrides:
      toString in class Object