com.basecmp.core.persistence.beans
Class File

java.lang.Object
  extended bycom.basecmp.core.persistence.impl.SinglePersistentAsset
      extended bycom.basecmp.core.persistence.impl.DistributedPersistentAsset
          extended bycom.basecmp.core.persistence.beans.File
All Implemented Interfaces:
java.lang.Cloneable, IPersistentRow, java.util.Map, PersistentAsset

public class File
extends DistributedPersistentAsset

Author:
Wolfgang Schröder

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
 
Fields inherited from class com.basecmp.core.persistence.impl.DistributedPersistentAsset
masterAsset
 
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
 
Fields inherited from interface com.basecmp.core.persistence.impl.PersistentAsset
INTERACTIVE_LAUNCH_CHECK_POLICY, OVERRULE_LAUNCH_CHECK_POLICY, SCHEDULED_LAUNCH_CHECK_POLICY
 
Constructor Summary
File()
           
 
Method Summary
 boolean expireAsset()
          Löscht den Asset und alle Referenzen auf ihn aus dem Live-Tablespace.
 java.lang.String getCaption()
           
 java.lang.Integer getCID()
           
 java.lang.String getDescription()
           
 java.lang.String getFileName()
           
 java.lang.String getFilePath()
           
 java.lang.Integer getFileSize()
           
 java.lang.String getMimFk()
           
 java.lang.String getPreviewUrl()
           
 boolean launchAsset()
          Launcht den aktuellen Asset und alle Child-Bindings auf Asset, die schon live sind.
 boolean launchAsset(int checkPolicy)
          Launcht den aktuellen Asset und alle Child-Bindings auf Asset, die schon live sind.
 boolean wipeAsset()
          Löscht einen Asset und alle Referenzen endgültig aus der Datenbank.
 
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
 

Constructor Detail

File

public File()
Method Detail

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()

getMimFk

public java.lang.String getMimFk()

getPreviewUrl

public java.lang.String getPreviewUrl()

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