E
- parent data object of the image content propertypublic class Imagecontent<E extends DataObject<E> & UniqueidentifiedInterface<E>> extends DataObjectProperty<E>
updatedfieldingui
definition, field, parentpayload
Constructor and Description |
---|
Imagecontent(ImagecontentDefinition<E> definition,
DataObjectPayload parentpayload)
creates a property specifying the data object has an object content
|
Modifier and Type | Method and Description |
---|---|
SFile |
getfullimage(E object)
gets the full image for the object
|
DataObjectId<Binaryfile> |
getImgid()
gets the id of the binary file object storing the full image
|
DataObjectId<Binaryfile> |
getThbid()
gets the id of the binary file object storing the thumbnail image
|
SFile |
getthumbnail(E object)
gets the thumbnail for the object
|
void |
setDependentPropertyUniqueidentified(Uniqueidentified<E> uniqueidentified) |
void |
setimage(E object,
SFile image,
SFile thumbnail)
sets the image for the data object.
|
generateSimpleDataEltFromObject, getDisplayDataElt, getDynamicDataElt, getFieldBufferForGUI
getAllTriggersForRefresh, getFieldFromName, getFieldNumber, getStoredField, getTriggersForThisUpdate, initFromDB, postTreatmentAfterInitFromDB
changeName, cleanName, equals, getName
public Imagecontent(ImagecontentDefinition<E> definition, DataObjectPayload parentpayload)
definition
- definition of the propertyparentpayload
- parent object payloadpublic SFile getthumbnail(E object)
object
- data objectpublic SFile getfullimage(E object)
object
- data objectpublic void setimage(E object, SFile image, SFile thumbnail)
object
- data objectimage
- full imagethumbnail
- thumbnail imagepublic DataObjectId<Binaryfile> getImgid()
public DataObjectId<Binaryfile> getThbid()
public void setDependentPropertyUniqueidentified(Uniqueidentified<E> uniqueidentified)
uniqueidentified
-