public class DatabaseContentObjectEntityImpl extends AbstractContentEngineNoRevisionEntity implements DatabaseContentObjectEntity, Serializable
Modifier and Type | Field and Description |
---|---|
protected byte[] |
contentBytes |
protected long |
contentLength |
protected Date |
created |
id, isDeleted, isInserted, isUpdated, originalPersistentState
Constructor and Description |
---|
DatabaseContentObjectEntityImpl() |
Modifier and Type | Method and 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() |
getIdPrefix
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
protected long contentLength
protected byte[] contentBytes
protected Date created
public Object getPersistentState()
getPersistentState
in interface Entity
public void setCreated(Date created)
setCreated
in interface DatabaseContentObjectEntity
public Date getCreated()
getCreated
in interface DatabaseContentObjectEntity
public long getContentLength()
getContentLength
in interface ContentObject
public InputStream getContent()
getContent
in interface ContentObject
public void setContent(InputStream content)
setContent
in interface DatabaseContentObjectEntity
public byte[] getContentBytes()
public void setContentBytes(byte[] contentBytes)