public class FileData extends DataObject implements Removable
DEBUG, record
MAX_IDENTIFIER
Constructor and Description |
---|
FileData(Repository.Record res) |
Modifier and Type | Method and Description |
---|---|
MimeStreamData |
getData() |
javax.activation.DataSource |
getDataSource() |
static TableSpecification |
getDefaultTableSpecification() |
void |
remove()
This method removes the record
It should delete any dependent data then call
DataObject.delete() |
void |
setData(MimeStreamData msd) |
addToMap, addToMap, addToMap, commit, delete, empty, equals, formUpdate, getContext, getDatabaseService, getFactoryTag, getID, getIdentifier, getIdentifier, getLogger, getMap, getMap, getOwningFactory, getRecord, getRecord, getRecord, getSQLContext, getUniqueIdName, hashCode, isLocked, lock, post_commit, postCreate, pre_commit, release, setContents, setDirty, setMap, toString
public FileData(Repository.Record res)
res
- public void setData(MimeStreamData msd)
public MimeStreamData getData() throws DataFault
DataFault
public void remove() throws DataException
Removable
DataObject.delete()
remove
in interface Removable
DataException
public static TableSpecification getDefaultTableSpecification()