@Entity public class FileContent extends AbstractAuditableEntity
Entity used to store the content of uploaded files
createdBy, createdDate, lastModifiedBy, lastModifiedDate
Constructor and Description |
---|
FileContent() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
AbstractAuditableEntity |
getParent()
Override this in subclasses and return the parent entity, or null if no
parent entity exists
|
void |
setBytes(byte[] bytes) |
ensureParentUpdated, getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate, touch
getVersion
equals, getId, hashCode, isNew, setId, toString
public byte[] getBytes()
public void setBytes(byte[] bytes)
public AbstractAuditableEntity getParent()
AbstractAuditableEntity
getParent
in class AbstractAuditableEntity