E
- parent data objectpublic interface FilecontentInterface<E extends DataObject<E>> extends UniqueidentifiedInterface<E>
UniqueidentifiedInterface.MassiveDelete<E extends DataObject<E>>, UniqueidentifiedInterface.MassiveUpdate<E extends DataObject<E>>
StoredobjectInterface.MassiveInsert<E extends DataObject<E>>
Modifier and Type | Method and Description |
---|---|
void |
addattachment(Objattachment attachment,
SFile file)
adds the provided attachment to the object (performs persistence)
|
void |
deleteattachment(DataObjectId<Objattachment> attachmentid)
deletes the attachment
|
Objattachment[] |
getattachments(QueryFilter additionalcondition)
gets all the attachments for the object
|
void |
updateattachment(Objattachment attachment,
SFile newfile)
update the attachment with the new binary content
|
delete, getId, getMassiveDelete, getMassiveUpdate, update
getMassiveInsert, insert
writeObjectContent
void addattachment(Objattachment attachment, SFile file)
attachment
- attachment to add to the object (should not be persisted
yet)file
- binary contentvoid deleteattachment(DataObjectId<Objattachment> attachmentid)
attachmentid
- id of the attachment objectvoid updateattachment(Objattachment attachment, SFile newfile)
attachment
- attachement to updatenewfile
- new binary contentObjattachment[] getattachments(QueryFilter additionalcondition)
additionalcondition
- additional filter condition