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() |
getIdPrefixgetId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdgetId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedprotected long contentLength
protected byte[] contentBytes
protected Date created
public Object getPersistentState()
getPersistentState in interface Entitypublic void setCreated(Date created)
setCreated in interface DatabaseContentObjectEntitypublic Date getCreated()
getCreated in interface DatabaseContentObjectEntitypublic long getContentLength()
getContentLength in interface ContentObjectpublic InputStream getContent()
getContent in interface ContentObjectpublic void setContent(InputStream content)
setContent in interface DatabaseContentObjectEntitypublic byte[] getContentBytes()
public void setContentBytes(byte[] contentBytes)