public class Bild
extends de.ipcon.db.core.BildBase
implements de.ipcon.messaging.email.DataSourceConvertibleI
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT |
static int |
FILTER_BELL |
static int |
FILTER_BICUBIC |
static int |
FILTER_BICUBIC_HIGHFREQ |
static int |
FILTER_BOX |
static int |
FILTER_BSPLINE |
static int |
FILTER_HERMITE |
static int |
FILTER_LANCZOS |
static int |
FILTER_MITCHELL |
static int |
FILTER_TRIANGLE |
static int |
NO_ZOOM |
ATT_BildPosten, ATT_BildVonBenutzern, ATT_FileSize, ATT_Height, ATT_IssueReports, ATT_MyTISMBenachrichtigungsVorlageBildZuweisungen, ATT_MyTISMBildURI, ATT_PersistentFileSize, ATT_PersistentHeight, ATT_PersistentWidth, ATT_Tid, ATT_Width, ENT_Bild
ATT_Beschreibung, ATT_KinderRefs, ATT_L10nBeschreibung, ATT_L10nName, ATT_Name, ENT_Benannt
ATT_AlsAntwortAnBeiAuftraegen, ATT_AlsEmpfaengerBCCBeiAuftraegen, ATT_AlsEmpfaengerBeiAuftraegen, ATT_AlsEmpfaengerCCBeiAuftraegen, ATT_AlsKontextBOBeiAuftraegen, ATT_WirdAlsAntwortAnVerwendetBeiAlarmen, ATT_WirdBenachrichtigtBCCBeiAlarm, ATT_WirdBenachrichtigtBeiAlarm, ATT_WirdBenachrichtigtCCBeiAlarm, ENT_CoreBO
BLOB_KEY, CANCEL_RECALC_CALLED, D_0, D_1, D_10, D_100, D_1000, D_10000, D_5, D_MINUS_1, D_MINUS_ONE, D_ONE, D_ZERO, doExWriteLRMFunction, EMPTY_ARRAY, F_0, F_1, L_0, L10N_KEY_BO_INSTANTIATION, L10N_KEY_BO_WITH_PROTECTED_CONSTRUCTOR, NULL_AGGREGATE, NULL_ITERATOR
ATT_Badge, ATT_Badge2, ATT_Badge3, ATT_Badge4, ATT_BLOBCreatedBy, ATT_BLOBCreatedOn, ATT_BLOBDeletedBy, ATT_BLOBDeletedOn, ATT_BLOBLastModifiedBy, ATT_BLOBLastModifiedOn, ATT_Bot, ATT_Crea, ATT_CreatedBy, ATT_CreatedModifiedText, ATT_Id, ATT_InvolvedInProcs, ATT_LastModifiedBy, ATT_Ldel, ATT_Lmod, ATT_Procs, EMPTY_ARRAY, ENT_BO
Constructor and Description |
---|
Bild() |
Modifier and Type | Method and Description |
---|---|
void |
afterVerifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx) |
boolean |
exportBild() |
boolean |
exportBild(BasicClientContextI ctx) |
void |
flushCache() |
java.awt.image.BufferedImage |
getAsBufferedImage(int type)
Returns this BLOB as BufferedImage object.
|
byte[] |
getAsByteArray() |
byte[] |
getAsByteArray(int _width) |
byte[] |
getAsByteArray(int _width,
int _height) |
byte[] |
getAsByteArray(int _width,
int _height,
int _quality) |
byte[] |
getAsByteArray(int _width,
int _height,
int _quality,
boolean _absolute) |
byte[] |
getAsByteArray(int _width,
int _height,
int _quality,
boolean _absolute,
boolean _box) |
byte[] |
getAsByteArray(int _width,
int _height,
int _quality,
boolean _absolute,
boolean _box,
boolean _crop) |
byte[] |
getAsByteArray(int _width,
int _height,
int _quality,
boolean _absolute,
boolean _box,
boolean _crop,
int _filter) |
byte[] |
getAsJPGByteArray()
Creates a byte array containing the given bytes as a JPEG image.
|
byte[] |
getAsJPGByteArray(int _width) |
byte[] |
getAsJPGByteArray(int _width,
int _height) |
byte[] |
getAsJPGByteArray(int _width,
int _height,
int _quality) |
byte[] |
getAsJPGByteArray(int _width,
int _height,
int _quality,
boolean _absolute) |
byte[] |
getAsJPGByteArray(int _width,
int _height,
int _quality,
boolean _absolute,
boolean _box) |
byte[] |
getAsJPGByteArray(int _width,
int _height,
int _quality,
boolean _absolute,
boolean _box,
boolean _crop) |
byte[] |
getAsJPGByteArray(int _width,
int _height,
int _quality,
boolean _absolute,
boolean _box,
boolean _crop,
int _filter) |
byte[] |
getAsJPGByteArray(int _width,
int _height,
int _quality,
boolean _absolute,
boolean _box,
boolean _crop,
int _filter,
com.mortennobel.imagescaling.AdvancedResizeOp.UnsharpenMask _unsharpMask) |
byte[] |
getAsPNGByteArray()
Creates a byte array containing the given bytes as a PNG image.
|
byte[] |
getAsPNGByteArray(int _width) |
byte[] |
getAsPNGByteArray(int _width,
int _height) |
byte[] |
getAsPNGByteArray(int _width,
int _height,
boolean _absolute) |
byte[] |
getAsPNGByteArray(int _width,
int _height,
boolean _absolute,
boolean _box) |
byte[] |
getAsPNGByteArray(int _width,
int _height,
boolean _absolute,
boolean _box,
boolean _crop) |
byte[] |
getAsPNGByteArray(int _width,
int _height,
boolean _absolute,
boolean _box,
boolean _crop,
int _filter) |
byte[] |
getAsPNGByteArray(int _width,
int _height,
boolean _absolute,
boolean _box,
boolean _crop,
int _filter,
com.mortennobel.imagescaling.AdvancedResizeOp.UnsharpenMask _unsharpMask) |
static java.awt.image.BufferedImage |
getBufferedImageInCorrectOrientation(java.io.File file)
Turns the file into a BufferedImage and rotates it based on the metadata.
|
static byte[] |
getByteArray(java.awt.image.BufferedImage _image) |
static byte[] |
getByteArray(java.awt.image.BufferedImage _image,
int _quality) |
javax.activation.DataSource |
getDataSource()
Returns the DataSource (ByteArrayDataSource) of the image stored on the server.
|
java.util.Locale |
getDataSourceLocale() |
java.lang.Long |
getFileSize() |
com.mortennobel.imagescaling.ResampleFilter |
getFilter(int filter)
Returns the fitting Filter for scaling the image
|
java.lang.Integer |
getHeight() |
java.lang.Integer |
getHeightForWidth(int _w) |
java.awt.Image |
getImage() |
java.awt.Image |
getImageForJasperReport(int minw,
int minh,
float maxfac) |
javax.swing.ImageIcon |
getImageIcon() |
static javax.swing.ImageIcon |
getImageIcon(BO bo) |
static javax.swing.ImageIcon |
getImageIcon(BO bo,
int width) |
static javax.swing.ImageIcon |
getImageIcon(BO bo,
int width,
int height) |
static javax.swing.ImageIcon |
getImageIcon(BO bo,
int width,
int height,
int mode) |
javax.swing.ImageIcon |
getImageIcon(int width,
int height) |
javax.swing.ImageIcon |
getImageIcon(int width,
int height,
int mode) |
java.lang.String |
getMyTISMBildURI() |
javax.swing.ImageIcon |
getRealImageIcon() |
static javax.swing.ImageIcon |
getRealImageIcon(BO bo) |
java.lang.Integer |
getWidth() |
java.lang.Integer |
getWidthForHeight(int _h) |
boolean |
importBild()
Shows a FileChooser and imports the selected file into the persistent file storage
To ensure the physical file sync, you MUST trigger a save on the used Transaction after calling this method.
|
boolean |
importBild(BasicClientContextI ctx) |
boolean |
importBild(BasicClientContextI ctx,
int maxWidth) |
boolean |
importBild(BasicClientContextI ctx,
int maxWidth,
int maxHeight) |
boolean |
importBild(BasicClientContextI ctx,
int maxWidth,
int maxHeight,
int maxLength) |
boolean |
importBild(java.awt.image.BufferedImage bild) |
boolean |
importBild(java.awt.image.BufferedImage bild,
int maxWidth) |
boolean |
importBild(java.awt.image.BufferedImage bild,
int maxWidth,
int maxHeight) |
boolean |
importBild(java.awt.image.BufferedImage bild,
int maxWidth,
int maxHeight,
int maxLength) |
boolean |
importBildAndMove()
Shows a FileChooser and imports the selected file into the persistent file storage
Afterwards it moves the file to destinationFolder
To ensure the physical file sync, you MUST trigger a save on the used Transaction after calling this method.
|
boolean |
importBildAndMove(BasicClientContextI ctx) |
boolean |
importBildAndMove(BasicClientContextI ctx,
java.io.File destinationFolder) |
boolean |
importBildAndMove(BasicClientContextI ctx,
java.io.File destinationFolder,
int maxWidth) |
boolean |
importBildAndMove(BasicClientContextI ctx,
java.io.File destinationFolder,
int maxWidth,
int maxHeight) |
boolean |
importBildAndMove(BasicClientContextI ctx,
java.io.File destinationFolder,
int maxWidth,
int maxHeight,
int maxLength) |
boolean |
importBildArray(byte[] data) |
static Bild |
importBildAsNew(BasicClientContextI ctx) |
static Bild |
importBildAsNew(BasicClientContextI ctx,
int maxWidth) |
static Bild |
importBildAsNew(BasicClientContextI ctx,
int maxWidth,
int maxHeight) |
static Bild |
importBildAsNew(BasicClientContextI ctx,
int maxWidth,
int maxHeight,
int maxLength) |
boolean |
importBildFile(java.io.File selfile)
Imports an image file into the database as a BLOB (Binary Large Object).
|
boolean |
importBildFile(java.io.File selfile,
BasicClientContextI ctx) |
boolean |
importBildFile(java.io.File selfile,
BasicClientContextI ctx,
int maxWidth) |
boolean |
importBildFile(java.io.File selfile,
BasicClientContextI ctx,
int maxWidth,
int maxHeight) |
boolean |
importBildFile(java.io.File selfile,
BasicClientContextI ctx,
int maxWidth,
int maxHeight,
int maxLength) |
java.awt.Image |
internalGetImage() |
boolean |
isLazy() |
boolean |
isNoBLOB() |
void |
recalcHeight() |
void |
recalcWidth() |
void |
setDataSourceLocale(java.util.Locale $21) |
void |
setImageIcon(javax.swing.ImageIcon i) |
void |
setNoBLOB(boolean $22) |
void |
verifyOnClient(BasicClientContextI ctx) |
void |
verifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx) |
addBildPosten, addBildVonBenutzer, addIssueReport, addMyTISMBenachrichtigungsVorlageBildZuweisung, copyFrom, copyFrom, equalPayload, getBildPosten, getBildPostenIterator, getBildVonBenutzern, getBildVonBenutzernIterator, getFileSizeNN, getFileSizeNN, getHeightNN, getHeightNN, getIssueReports, getIssueReportsIterator, getMyTISMBenachrichtigungsVorlageBildZuweisungen, getMyTISMBenachrichtigungsVorlageBildZuweisungenIterator, getMyTISMBildURINE, getMyTISMBildURINN, getMyTISMBildURINN, getPersistentFileSize, getPersistentFileSizeNN, getPersistentFileSizeNN, getPersistentHeight, getPersistentHeightNN, getPersistentHeightNN, getPersistentWidth, getPersistentWidthNN, getPersistentWidthNN, getTid, getTidNE, getTidNN, getTidNN, getWidthNN, getWidthNN, needFileSize, needHeight, needMyTISMBildURI, needPersistentFileSize, needPersistentHeight, needPersistentWidth, needPopulatedBildPosten, needPopulatedBildVonBenutzern, needPopulatedIssueReports, needPopulatedMyTISMBenachrichtigungsVorlageBildZuweisungen, needTid, needWidth, pgetBildPostenLazy, pgetBildVonBenutzernLazy, pgetIssueReportsLazy, pgetMyTISMBenachrichtigungsVorlageBildZuweisungenLazy, readExternal, removeBildPosten, removeBildVonBenutzer, removeIssueReport, removeMyTISMBenachrichtigungsVorlageBildZuweisung, setBildPosten, setBildVonBenutzern, setBOLoader, setIssueReports, setMyTISMBenachrichtigungsVorlageBildZuweisungen, setPersistentFileSize, setPersistentHeight, setPersistentWidth, setTid, slim, slim, writeExternal
compareTo, createTID, createTID, getL10nBeschreibung, getL10nName, getPairStorage, inputAsBenanntRelation, inputAsBenanntRelation, inputAsBenanntRelation, inputAsBenanntRelation, inputAsMultiBenanntRelation, inputAsMultiBenanntRelation, inputAsMultiBenanntRelation, inputAsMultiRelation, inputAsMultiRelation, inputAsMultiRelation, inputAsRelation, inputAsRelation, inputAsRelation, inputAsRelation, outputAsBenanntRelation, outputAsBenanntRelation, outputAsMultiBenanntRelation, outputAsMultiBenanntRelation, outputAsMultiRelation, outputAsMultiRelation, outputAsRelation, outputAsRelation, outputAsRelation, outputBOTName, outputIntoElement, outputIntoElement, storePreparedRelationQueryResult
addKinderRef, getBeschreibung, getBeschreibungNE, getBeschreibungNN, getBeschreibungNN, getKinderRefs, getKinderRefsIterator, getL10nBeschreibungNE, getL10nBeschreibungNN, getL10nBeschreibungNN, getL10nNameNE, getL10nNameNN, getL10nNameNN, getName, getNameNE, getNameNN, getNameNN, needBeschreibung, needL10nBeschreibung, needL10nName, needName, needPopulatedKinderRefs, pgetKinderRefsLazy, removeKinderRef, setBeschreibung, setKinderRefs, setName
addAlsAntwortAnBeiAuftrag, addAlsEmpfaengerBCCBeiAuftrag, addAlsEmpfaengerBeiAuftrag, addAlsEmpfaengerCCBeiAuftrag, addAlsKontextBOBeiAuftrag, addWirdAlsAntwortAnVerwendetBeiAlarm, addWirdBenachrichtigtBCCBeiAlarm, addWirdBenachrichtigtBeiAlarm, addWirdBenachrichtigtCCBeiAlarm, getAlsAntwortAnBeiAuftraegen, getAlsAntwortAnBeiAuftraegenIterator, getAlsEmpfaengerBCCBeiAuftraegen, getAlsEmpfaengerBCCBeiAuftraegenIterator, getAlsEmpfaengerBeiAuftraegen, getAlsEmpfaengerBeiAuftraegenIterator, getAlsEmpfaengerCCBeiAuftraegen, getAlsEmpfaengerCCBeiAuftraegenIterator, getAlsKontextBOBeiAuftraegen, getAlsKontextBOBeiAuftraegenIterator, getWirdAlsAntwortAnVerwendetBeiAlarmen, getWirdAlsAntwortAnVerwendetBeiAlarmenIterator, getWirdBenachrichtigtBCCBeiAlarm, getWirdBenachrichtigtBCCBeiAlarmIterator, getWirdBenachrichtigtBeiAlarm, getWirdBenachrichtigtBeiAlarmIterator, getWirdBenachrichtigtCCBeiAlarm, getWirdBenachrichtigtCCBeiAlarmIterator, needPopulatedAlsAntwortAnBeiAuftraegen, needPopulatedAlsEmpfaengerBCCBeiAuftraegen, needPopulatedAlsEmpfaengerBeiAuftraegen, needPopulatedAlsEmpfaengerCCBeiAuftraegen, needPopulatedAlsKontextBOBeiAuftraegen, needPopulatedWirdAlsAntwortAnVerwendetBeiAlarmen, needPopulatedWirdBenachrichtigtBCCBeiAlarm, needPopulatedWirdBenachrichtigtBeiAlarm, needPopulatedWirdBenachrichtigtCCBeiAlarm, pgetAlsAntwortAnBeiAuftraegenLazy, pgetAlsEmpfaengerBCCBeiAuftraegenLazy, pgetAlsEmpfaengerBeiAuftraegenLazy, pgetAlsEmpfaengerCCBeiAuftraegenLazy, pgetAlsKontextBOBeiAuftraegenLazy, pgetWirdAlsAntwortAnVerwendetBeiAlarmenLazy, pgetWirdBenachrichtigtBCCBeiAlarmLazy, pgetWirdBenachrichtigtBeiAlarmLazy, pgetWirdBenachrichtigtCCBeiAlarmLazy, removeAlsAntwortAnBeiAuftrag, removeAlsEmpfaengerBCCBeiAuftrag, removeAlsEmpfaengerBeiAuftrag, removeAlsEmpfaengerCCBeiAuftrag, removeAlsKontextBOBeiAuftrag, removeWirdAlsAntwortAnVerwendetBeiAlarm, removeWirdBenachrichtigtBCCBeiAlarm, removeWirdBenachrichtigtBeiAlarm, removeWirdBenachrichtigtCCBeiAlarm, setAlsAntwortAnBeiAuftraegen, setAlsEmpfaengerBCCBeiAuftraegen, setAlsEmpfaengerBeiAuftraegen, setAlsEmpfaengerCCBeiAuftraegen, setAlsKontextBOBeiAuftraegen, setWirdAlsAntwortAnVerwendetBeiAlarmen, setWirdBenachrichtigtBCCBeiAlarm, setWirdBenachrichtigtBeiAlarm, setWirdBenachrichtigtCCBeiAlarm
_set, $, $, $, $$, $$bo, $$o, $$r, $$ri, $$ri, acquireTxWriteLock, add, afterSaveOnClient, afterSaveOnServer, afterVerifyOnClient, aggregate, aggregate, aggregate, badge, badge, beforeVerifyOnClient, beforeVerifyOnServer, bumpVersion, cacheLocally, cacheLocally, cacheLocallyAndThrowUnwrappedCause, cacheLocallyAndThrowUnwrappedCause, cacheLocallyAndThrowUnwrappedUncheckedCause, cacheLocallyAndThrowUnwrappedUncheckedCause, cancelCheckConstraints, cancelRecalc, cancelRecalcViaLoadingTransaction, clone, commitTransaction, computeTransientPropertyIfAbsent, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, consumeAndAssureTransientPropertyExists, copyBLOBFrom, createCopy, createCopy, deepClone, deepClone, delete, describe, describe, describe, describe, describe, describe, describe, describe, describe, describe, describeId, describeId, describeId, describeId, describeId, describeId, describeId, describeId, describeNE, describeNE, describeNE, describeNE, describeNE, destub, equalPayload, equalPayload, equalPayload, equalPayload, equals, equalsBO, equalsBO, equalsRegardingAttrs, exportBLOB, exReadString, exWriteString, filterDeleted, filterDeleted, filterDeleted, forgetTransientBLOBHandle, frap, getAsBOInIssueReports, getAsBOInIssueReportsIterator, getAsString, getBackendBOLoaderWithPersistenceHandler, getBadge, getBadge, getBadge2, getBadge3, getBadge4, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOBAsDataInput, getBLOBAsEncodedString, getBLOBAsEncodedString, getBLOBAsInputStream, getBLOBAsUTF8EncodedString, getBLOBCreatedBy, getBLOBCreatedOn, getBLOBDeletedBy, getBLOBDeletedOn, getBLOBInfo, getBLOBLastModifiedBy, getBLOBLastModifiedOn, getBOLoader, getBot, getBOVersion, getBytes, getCache, getCache, getCache, getCacheNT, getCacheNT, getCacheNT, getCacheProvider, getCacheProvider, getClazz, getCreatedBy, getCreatedModifiedText, getDefaultScriptImportsList, getDefaultScriptImportsList, getDefaultScriptImportsList, getDescribingBOWrapper, getDescribingBOWrapper, getEventProvider, getEventProvider, getId, getInvolvedInProcs, getInvolvedInProcsIterator, getLastModifiedBy, getLazyData, getLoadingTransaction, getNullIterator, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getPermissionHandler, getProcs, getProcsIterator, getRootLoaderSchema, getSchema, getSizeFast, getTransaction, getTransientProperty, getTransientProperty, getWrappedTransientProperty, hasActiveTransaction, hasBLOB, hasBLOBOnServerSide, hasBOAssignedTempId, hashCode, hasRelationObjects, hasRelationObjects, hasSessionAssignedTempId, hasTempId, hasTempIdForNewBOs, hasTransientProperty, hasTransientPropertyUnfiltered, includeAllowed, includeInTransaction, invalidateBLOBCache, isBOAssignedTempId, isCompoundChangeInProgress, isCurrentTransactionUnderAdminControl, isIgnoreModificationConstraints, isMandatory, isNew, isReadOnly, isServerSideAndLoadedReadOnly, isSessionAssignedTempId, isStub, isTempId, isTempIdForNewInstance, isTemporary, isVisible, isWriteable, markCompoundChangeInProgress, markDelete, markUndelete, needLoadingTransaction, needsReload, needTransactionInclusion, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, nextTempId, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBusOfAdd, notifyMessageBusOfRemove, nullSafeCompareTo, nullSafeCompareTo, nullSafeContainsBO, nullSafeContainsBO, nullSafeEquals, nullSafeEqualsBO, nullSafeEqualsBO, ofStub, propertyMissing, propertyMissing, releaseCompoundChangeInProgress, releaseTxWriteLock, remove, removeBLOB, requireNonEmptyRelation, requireNonNullAttribute, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, setAsString, setBadge, setBadge, setBadge2, setBadge3, setBadge4, setBOLoaderNoCascade, setBOLoaderNoCascade, setBot, setId, setId, setIgnoreModificationConstraints, setLazyData, setTempId, setTransientProperty, setTransientProperty, setTransientProperty, setTransientProperty, setTransientProperty, setTransientProperty, slim, slim, storeBLOB, storeBLOB, storeBLOB, storeBLOB, storeBLOB, stub, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toString, undelete, wrapIfGroovy
getCrea, getLdel, getLmod, isDeleted, isLdel, setCrea, setLdel, setLdel, setLmod
getInstanceSpecificLocale, getInstanceSpecificPaths, l10n, l10n, l10n, l10n, l10n, l10n, l10n
bumpVersion, cancelCheckConstraints, consumeAndAssureTransientPropertyExists, contains, equalsBO, equalsBO, getAttribute, getAttribute, getBLOB, getBLOB, getBOVersion, getClazz, getCrea, getEntity, getEntity, getRootLoaderSchema, getSchema, getTransientProperty, hasBLOB, hasTransientProperty, hasTransientPropertyUnfiltered, isDeleted, isMandatory, isNew, isReadOnly, isSubEntityOf, isSubEntityOf, isTemporary, isVisible, setTransientProperty, toRelationMapRO
collectIds, collectIds, getCommaSeparatedIdList, getId, toMap, toMap
collectDescribe, collectDescribe, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, describe, describe, describe, describe, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeNE, describeNE, join, join, join, notEmptyDescription
public static final int DEFAULT
public static final int NO_ZOOM
public static final int FILTER_BELL
public static final int FILTER_BICUBIC
public static final int FILTER_BICUBIC_HIGHFREQ
public static final int FILTER_BOX
public static final int FILTER_BSPLINE
public static final int FILTER_HERMITE
public static final int FILTER_LANCZOS
public static final int FILTER_MITCHELL
public static final int FILTER_TRIANGLE
public void verifyOnClient(BasicClientContextI ctx)
verifyOnClient
in interface SaveVetoI
verifyOnClient
in class BO
public void verifyOnServer(java.lang.Long nodeNumber, Benutzer user, Transaction tx) throws SaveVetoException
verifyOnServer
in interface SaveVetoI
verifyOnServer
in class BO
SaveVetoException
public void afterVerifyOnServer(java.lang.Long nodeNumber, Benutzer user, Transaction tx) throws SaveVetoException
afterVerifyOnServer
in interface SaveAwareI
afterVerifyOnServer
in class BO
SaveVetoException
public void recalcHeight()
public void recalcWidth()
public java.lang.Integer getWidth()
getWidth
in class de.ipcon.db.core.BildBase
public java.lang.Integer getHeight()
getHeight
in class de.ipcon.db.core.BildBase
public java.lang.Long getFileSize()
getFileSize
in class de.ipcon.db.core.BildBase
public java.lang.String getMyTISMBildURI()
getMyTISMBildURI
in class de.ipcon.db.core.BildBase
public void flushCache()
public boolean isLazy()
public void setImageIcon(javax.swing.ImageIcon i)
public java.lang.Integer getHeightForWidth(int _w)
public java.lang.Integer getWidthForHeight(int _h)
public javax.swing.ImageIcon getImageIcon()
public java.awt.Image internalGetImage()
public java.awt.Image getImage()
public static javax.swing.ImageIcon getImageIcon(BO bo)
public static javax.swing.ImageIcon getImageIcon(BO bo, int width)
public static javax.swing.ImageIcon getImageIcon(BO bo, int width, int height)
public static javax.swing.ImageIcon getImageIcon(BO bo, int width, int height, int mode)
public javax.swing.ImageIcon getImageIcon(int width, int height)
public javax.swing.ImageIcon getImageIcon(int width, int height, int mode)
public java.awt.Image getImageForJasperReport(int minw, int minh, float maxfac)
public byte[] getAsByteArray()
public byte[] getAsByteArray(int _width)
public byte[] getAsByteArray(int _width, int _height)
public byte[] getAsByteArray(int _width, int _height, int _quality)
public byte[] getAsByteArray(int _width, int _height, int _quality, boolean _absolute)
public byte[] getAsByteArray(int _width, int _height, int _quality, boolean _absolute, boolean _box)
public byte[] getAsByteArray(int _width, int _height, int _quality, boolean _absolute, boolean _box, boolean _crop)
public byte[] getAsByteArray(int _width, int _height, int _quality, boolean _absolute, boolean _box, boolean _crop, int _filter)
public byte[] getAsJPGByteArray()
public byte[] getAsJPGByteArray(int _width)
public byte[] getAsJPGByteArray(int _width, int _height)
public byte[] getAsJPGByteArray(int _width, int _height, int _quality)
public byte[] getAsJPGByteArray(int _width, int _height, int _quality, boolean _absolute)
public byte[] getAsJPGByteArray(int _width, int _height, int _quality, boolean _absolute, boolean _box)
public byte[] getAsJPGByteArray(int _width, int _height, int _quality, boolean _absolute, boolean _box, boolean _crop)
public byte[] getAsJPGByteArray(int _width, int _height, int _quality, boolean _absolute, boolean _box, boolean _crop, int _filter)
public byte[] getAsJPGByteArray(int _width, int _height, int _quality, boolean _absolute, boolean _box, boolean _crop, int _filter, com.mortennobel.imagescaling.AdvancedResizeOp.UnsharpenMask _unsharpMask)
public byte[] getAsPNGByteArray()
public byte[] getAsPNGByteArray(int _width)
public byte[] getAsPNGByteArray(int _width, int _height)
public byte[] getAsPNGByteArray(int _width, int _height, boolean _absolute)
public byte[] getAsPNGByteArray(int _width, int _height, boolean _absolute, boolean _box)
public byte[] getAsPNGByteArray(int _width, int _height, boolean _absolute, boolean _box, boolean _crop)
public byte[] getAsPNGByteArray(int _width, int _height, boolean _absolute, boolean _box, boolean _crop, int _filter)
public byte[] getAsPNGByteArray(int _width, int _height, boolean _absolute, boolean _box, boolean _crop, int _filter, com.mortennobel.imagescaling.AdvancedResizeOp.UnsharpenMask _unsharpMask)
public static byte[] getByteArray(java.awt.image.BufferedImage _image)
public static byte[] getByteArray(java.awt.image.BufferedImage _image, int _quality)
public java.awt.image.BufferedImage getAsBufferedImage(int type)
type
- the type integer of the colormodel, e.g. BufferedImage.TYPE_INT_RGB
public com.mortennobel.imagescaling.ResampleFilter getFilter(int filter)
public static Bild importBildAsNew(BasicClientContextI ctx)
public static Bild importBildAsNew(BasicClientContextI ctx, int maxWidth)
public static Bild importBildAsNew(BasicClientContextI ctx, int maxWidth, int maxHeight)
public static Bild importBildAsNew(BasicClientContextI ctx, int maxWidth, int maxHeight, int maxLength)
public boolean importBild()
ctx
- public boolean importBild(BasicClientContextI ctx)
public boolean importBild(BasicClientContextI ctx, int maxWidth)
public boolean importBild(BasicClientContextI ctx, int maxWidth, int maxHeight)
public boolean importBild(BasicClientContextI ctx, int maxWidth, int maxHeight, int maxLength)
public boolean importBildAndMove()
ctx
- destinationFolder
- File will be moved herepublic boolean importBildAndMove(BasicClientContextI ctx)
public boolean importBildAndMove(BasicClientContextI ctx, java.io.File destinationFolder)
public boolean importBildAndMove(BasicClientContextI ctx, java.io.File destinationFolder, int maxWidth)
public boolean importBildAndMove(BasicClientContextI ctx, java.io.File destinationFolder, int maxWidth, int maxHeight)
public boolean importBildAndMove(BasicClientContextI ctx, java.io.File destinationFolder, int maxWidth, int maxHeight, int maxLength)
public boolean importBildFile(java.io.File selfile)
Thumbnailer.scaleUserGivenImageToConstraints(BufferedImage, int, int, int, String)
method.
To ensure the physical file synchronization, you MUST trigger a save on the used Transaction after calling this method.
selfile
- The file containing the image to be imported.ctx
- The BasicClientContextI for user interaction (optional parameter). FIXME parameter isn't used.maxWidth
- The maximum width the imported image may have; otherwise, it is scaled down on import (optional parameter).maxHeight
- The maximum height the imported image may have; otherwise, it is scaled down on import (optional parameter).maxLength
- The maximum length in bytes the imported image may have; otherwise, it is scaled down on import (optional parameter).true
if the image was successfully imported; false
otherwise.java.lang.RuntimeException
- if there was an error while trying to rotate or import the image.public boolean importBildFile(java.io.File selfile, BasicClientContextI ctx)
public boolean importBildFile(java.io.File selfile, BasicClientContextI ctx, int maxWidth)
public boolean importBildFile(java.io.File selfile, BasicClientContextI ctx, int maxWidth, int maxHeight)
public boolean importBildFile(java.io.File selfile, BasicClientContextI ctx, int maxWidth, int maxHeight, int maxLength)
public boolean importBild(java.awt.image.BufferedImage bild)
public boolean importBild(java.awt.image.BufferedImage bild, int maxWidth)
public boolean importBild(java.awt.image.BufferedImage bild, int maxWidth, int maxHeight)
public boolean importBild(java.awt.image.BufferedImage bild, int maxWidth, int maxHeight, int maxLength)
public boolean importBildArray(byte[] data)
public static java.awt.image.BufferedImage getBufferedImageInCorrectOrientation(java.io.File file) throws java.io.IOException, org.apache.commons.imaging.ImagingException
file
- An image file.java.io.IOException
org.apache.commons.imaging.ImagingException
public boolean exportBild()
public boolean exportBild(BasicClientContextI ctx)
public javax.swing.ImageIcon getRealImageIcon()
public static javax.swing.ImageIcon getRealImageIcon(BO bo)
public javax.activation.DataSource getDataSource()
getDataSource
in interface de.ipcon.messaging.email.DataSourceConvertibleI
public java.util.Locale getDataSourceLocale()
getDataSourceLocale
in interface de.ipcon.messaging.email.DataSourceConvertibleI
public void setDataSourceLocale(java.util.Locale $21)
public boolean isNoBLOB()
public void setNoBLOB(boolean $22)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.