com.basecmp.core.persistence.beans
Class Image
java.lang.Object
com.basecmp.core.persistence.impl.SinglePersistentAsset
com.basecmp.core.persistence.impl.DistributedPersistentAsset
com.basecmp.core.persistence.beans.Image
- All Implemented Interfaces:
- java.lang.Cloneable, IPersistentRow, java.util.Map, PersistentAsset
- Direct Known Subclasses:
- Flash
- public class Image
- extends DistributedPersistentAsset
- Author:
- Wolfgang Schröder
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Fields inherited from class com.basecmp.core.persistence.impl.SinglePersistentAsset |
assetDataRow, assetType, attachedAssetsByAlias, attachedAssetsById, attachedAssetsByUseType, attachedValuesByGroup, attachedValuesById, attachedValuesByName, childBindings2, dirtyAttachedValues, isAPIInstance, isManagingInstance, isNewAsset, log, metaDataBean, parentBindings2, transientAttachedValues |
|
Constructor Summary |
|
Image()
|
protected |
Image(java.lang.String aliasname)
|
| Methods inherited from class com.basecmp.core.persistence.impl.DistributedPersistentAsset |
addAttachedAsset, addAttachedAsset, addAttachedValue, addAttachedValue, addChildBinding, addParentBinding, containsColumn, createColumnNames, enableXmlAttributes, enableXmlAttributes, getAttachedAsset, getAttachedAsset, getAttachedAssetById, getAttachedAssetIds, getAttachedAssets, getAttachedAssets, getAttachedAssetsForUseType, getAttachedValue, getAttachedValueById, getAttachedValueGroup, getAttachedValues, getAttachedValues, getCaptionForChildBinding, getCaptionForParentBinding, getChildAsset, getChildAssetIds, getChildAssetIds, getChildAssets, getChildAssets, getChildBindings, getChildBindings, getColumn, getColumnAsBoolean, getColumnAsInt, getColumnAsInteger, getColumnAsLong, getColumnAsLongObject, getColumnAsString, getDateColumn, getFulltextData, getParentAssetIds, getParentAssetIds, getParentAssets, getParentAssets, getParentBindings, getParentBindings, getPrimaryKeyColumn, getTableName, isAttachedAssetsLoaded, isTransient, readAsset, readAttachedAssets, removeAttachedAsset, removeAttachedValue, removeChildBinding, removeChildBindings, removeParentBinding, removeParentBindings, setAttachedValue, setColumn, setFulltextData, setRequestParameters, setTransient, toString, unbindAllChilds, unbindAllParents, wipeAllBindings, writeAsset, writeAsset |
| Methods inherited from class com.basecmp.core.persistence.impl.SinglePersistentAsset |
checkLaunchConditions, clear, clone, clone, containsKey, containsValue, containsXmlAttributes, createSqlColumnNames, entrySet, get, getAliasId, getAssetType, getColumnCount, getDataType, getId, getLockedBy, getParentAsset, getPrimaryKeyColumns, isArray, isEmpty, isLocked, isOnlineStateExpired, isOnlineStateLive, isOnlineStateOffline, isOnlineStateOfflineOrRevision, isOnlineStateRevision, keySet, lock, parseInlineContentFields, put, putAll, readAsset, remove, rewriteBindings, setColumnAliasMap, setColumns, setWorkflowStep, setWorkflowStep, size, unlock, updateACLLists, values |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
Image
public Image()
Image
protected Image(java.lang.String aliasname)
expireAsset
public boolean expireAsset()
- Description copied from interface:
PersistentAsset
- Löscht den Asset und alle Referenzen auf ihn aus dem Live-Tablespace.
- Specified by:
expireAsset in interface PersistentAsset- Overrides:
expireAsset in class SinglePersistentAsset
getCaption
public java.lang.String getCaption()
getCID
public java.lang.Integer getCID()
getDescription
public java.lang.String getDescription()
getFileName
public java.lang.String getFileName()
getFilePath
public java.lang.String getFilePath()
getFileSize
public java.lang.Integer getFileSize()
getHeight
public java.lang.Integer getHeight()
getImageAttribute
public java.lang.String getImageAttribute(java.lang.String attributeName)
getImageAttribute
public java.lang.String getImageAttribute(java.lang.String attributeName,
java.lang.String defaultValue)
getImageAttributes
public java.lang.String getImageAttributes()
getMimFk
public java.lang.String getMimFk()
getPreviewUrl
public java.lang.String getPreviewUrl()
getWidth
public java.lang.Integer getWidth()
launchAsset
public boolean launchAsset()
- Description copied from interface:
PersistentAsset
- Launcht den aktuellen Asset und alle Child-Bindings auf Asset, die schon
live sind.
- Specified by:
launchAsset in interface PersistentAsset- Overrides:
launchAsset in class SinglePersistentAsset
launchAsset
public boolean launchAsset(int checkPolicy)
- Description copied from interface:
PersistentAsset
- Launcht den aktuellen Asset und alle Child-Bindings auf Asset, die schon
live sind.
- Specified by:
launchAsset in interface PersistentAsset- Overrides:
launchAsset in class SinglePersistentAsset
wipeAsset
public boolean wipeAsset()
- Description copied from interface:
PersistentAsset
- Löscht einen Asset und alle Referenzen endgültig aus der Datenbank.
- Specified by:
wipeAsset in interface PersistentAsset- Overrides:
wipeAsset in class DistributedPersistentAsset
Copyright © 2004 by basecmp® - Professional Web Solutions