public class EditionFile extends DBObject
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
the file is for publication edition which is running on a "DROID"
|
static java.lang.String |
DBCLASS_NAME
the file is for publication edition which is running on a "DROID"
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
EditionFile(DBClass def,
DataSource dataSource)
Std.
|
Modifier and Type | Method and Description |
---|---|
static EditionFile |
create(MutableDataSource mds)
Make a new instance of this class.
|
protected void |
eventFieldUpdated(DBField field,
java.lang.Object previous,
GlobalKey previousKey,
FldParams params)
update dependent fields.
|
protected java.lang.Object |
extGetDerivedValue(DBField field,
FldParams params)
Calculate the derived value for this field.
|
DBFile |
findFile(java.lang.String... args)
Link to DBFile object, the edition file.
|
EditionFileFormat |
findFormat(java.lang.String... args)
The format of this file.
|
EditionFileStatus |
findFormatStatus(java.lang.String... args)
The status of this edition file.
|
DBFile |
findFormattedFile(java.lang.String... args)
Formatted file.
|
static EditionFile |
findKey(DataSource ds,
int key)
Find the target for this class by the primary key
|
Edition |
getEdition()
get the edition
|
DBFile |
getFile(java.lang.String... args) |
EditionFileFormat |
getFormat(java.lang.String... args) |
java.lang.String |
getFormatMsg(java.lang.String... args) |
EditionFileStatus |
getFormatStatus(java.lang.String... args) |
DBFile |
getFormattedFile(java.lang.String... args) |
int |
getID(java.lang.String... args) |
static DBQuery<EditionFile> |
makeQuery(DataSource ds)
Make a new QUERY for this class.
|
EditionFile |
setEdition(com.aspc.dal.publication.Edition value,
java.lang.String... args) |
EditionFile |
setFile(com.aspc.dal.file.DBFile value,
java.lang.String... args) |
EditionFile |
setFormat(com.aspc.dal.publication.EditionFileFormat value,
java.lang.String... args) |
EditionFile |
setFormatMsg(java.lang.String value,
java.lang.String... args) |
EditionFile |
setFormatStatus(com.aspc.dal.publication.EditionFileStatus value,
java.lang.String... args) |
EditionFile |
setID(int value,
java.lang.String... args) |
addReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, clearCache, copy, copyFields, copyIncludeField, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, eventDataLoaded, extAutoEnterCreate, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extFixUp, extGetDerivedGlobalKey, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, extPreValidate, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, extValidateField, extValidateRecord, fetchLinkHolder, findGlobalKey, findGlobalKey, findGlobalKey, findGlobalKey, findLinkedObject, findLinkedObject, findLinkedObject, findRawData, fireEventDataLoaded, fixUp, forceLockedTransaction, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getChangedFieldInfo, getChangedFields, getDate, getDate, getDate, getDate, getDate, getDefaultValue, getDisableOnChangeEvent, getDouble, getDouble, getDouble, getDouble, getDouble, getFieldDouble, getFieldInt, getFieldLong, getFieldString, getFormattedString, getFormattedString, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getInt, getInt, getInt, getInt, getInt, getInt, getInwardLinkage, getKeyString, getKeyValue, getLinkedObject, getLinkedObject, getLinkedObject, getLinkedObjectByKey, getLinkedRowId, getLinkedRowId, getLinkedRowIdByData, getLinkHolder, getLockedTransaction, getLong, getLong, getLong, getLong, getLong, getLong, getMutableArrayValue, getMutableArrayValue, getOriginalKey, getOriginalValue, getOriginalValue, getProcessedValue, getPureValue, getRawData, getRawValue, getRawValue, getRowId, getRowKey, getSecondaryCacheGroupKey, getSrcLayerID, getString, getString, getString, getString, getString, getString, getValue, getValue, getValue, getValue, hasAutoChanged, hasAutoChanged, hasChanged, hasChangedByUser, hasChangedByUserField, hasChangedByUserField, hasFieldChanged, hasFieldChanged, hashCode, hasStoredResult, iCheckDeleteAccess, iCheckModifyAccess, iCheckReadAccess, iGetDenormalizedMap, iGetRawValue, iPlaceDenormalizedResult, iPostSaveOrDeleteRecord, iPreSaveOrDeleteRecord, iPreValidate, iRaiseEvents, iSaveOrDeleteRecord, isBrokenLink, isBrokenLink, isChanged, isDataCacheKnownToBeDirty, isDeleted, isEmpty, iSetValue, isForceReindex, isKeyWordField, isMandatory, isNew, isNull, isNull, isOnChange, isReindex, iValidateRecord, lastTouched, makeArchiveDataLoader, makeClone, makeDataLoader, makeDenormalizedDoc, makeLinkedArray, makeModifyAccessException, makeSearchPlan, makeWriteProvider, manualDenormalizeOnSave, markSavePoint, optLockedTransaction, registerWatchedObject, reindex, releaseDenormalized, removeReloadEventListener, restoreByJournal, rollbackTo, setBoolean, setBoolean, setBoolean, setBoolean, setDisableOnChangeEvent, setDouble, setDouble, setInt, setInt, setLong, setLong, setRawData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, touch, undelete, validateField, validateRecord, validateSubType
public static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public EditionFile(DBClass def, DataSource dataSource) throws java.lang.Exception
def
- The class of this objectdataSource
- The datasource for this objectjava.lang.Exception
- A serious problem occurred@CheckReturnValue public int getID(java.lang.String... args)
@Nonnull public EditionFile setID(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@Nonnull public EditionFile setEdition(com.aspc.dal.publication.Edition value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBFile getFile(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBFile findFile(java.lang.String... args) throws NotFoundException
DBFile
(Integer, Mandatory,
Searchable)args
- the optional argumentsNotFoundException
- DBFile was not found@Nonnull public EditionFile setFile(com.aspc.dal.file.DBFile value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public EditionFileFormat getFormat(java.lang.String... args)
@CheckReturnValue @Nonnull public final EditionFileFormat findFormat(java.lang.String... args) throws NotFoundException
EditionFileFormat
(String, Searchable)args
- the optional argumentsNotFoundException
- EditionFileFormat was not found@Nonnull public EditionFile setFormat(com.aspc.dal.publication.EditionFileFormat value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getFormatMsg(java.lang.String... args)
@Nonnull public EditionFile setFormatMsg(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public EditionFileStatus getFormatStatus(java.lang.String... args)
@CheckReturnValue @Nonnull public final EditionFileStatus findFormatStatus(java.lang.String... args) throws NotFoundException
EditionFileStatus
(String, Mandatory, Searchable)args
- the optional argumentsNotFoundException
- EditionFileStatus was not found@Nonnull public EditionFile setFormatStatus(com.aspc.dal.publication.EditionFileStatus value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBFile getFormattedFile(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBFile findFormattedFile(java.lang.String... args) throws NotFoundException
DBFile
(Integer, Derived,
Searchable)args
- the optional argumentsNotFoundException
- DBFile was not found@Nonnull @CheckReturnValue public static EditionFile create(@Nonnull MutableDataSource mds) throws java.lang.Exception
mds
- the datasourcejava.lang.Exception
- an object of this class could not be created@Nonnull @CheckReturnValue public static DBQuery<EditionFile> makeQuery(@Nonnull DataSource ds) throws NotFoundException
ds
- the datasourceNotFoundException
- if class could not be found@Nonnull @CheckReturnValue public static EditionFile findKey(@Nonnull DataSource ds, int key) throws NotFoundException, java.lang.Exception
ds
- the datasourcekey
- the valueNotFoundException
- if target could not be foundjava.lang.Exception
- a serious problem@OverridingMethodsMustInvokeSuper protected void eventFieldUpdated(@Nonnull DBField field, @Nullable java.lang.Object previous, @Nullable GlobalKey previousKey, @Nullable FldParams params) throws java.lang.Exception
eventFieldUpdated
in class DBObject
field
- The field updated.previous
- The previous value for this field.previousKey
- The previous keyparams
- The field parametersjava.lang.Exception
- a serious problem@CheckReturnValue protected java.lang.Object extGetDerivedValue(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedValue
in class DBObject
field
- The field to getparams
- The parameters for this field eg. language= or default=java.lang.Exception
- A serious problempublic Edition getEdition()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.