public class BlogVideo extends Blog
DBObject.DenormalizeAction| Modifier and Type | Field and Description |
|---|---|
static GlobalId |
DBCLASS_GID
A video article
|
static java.lang.String |
DBCLASS_NAME
A video article
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS| Constructor and Description |
|---|
BlogVideo(DBClass def,
DataSource dataSource)
Std.
|
| Modifier and Type | Method and Description |
|---|---|
protected GlobalKey |
extGetDerivedGlobalKey(DBField field,
FldParams params)
OVERRIDE This method to return a derived global key.
|
protected ValidationError |
extValidateField(DBField field,
ValidationList list)
Additional validation for particular field OVERRIDE THIS METHOD TO ADD VALIDATIONS FOR A FIELD.
|
DBFile |
findVideo(java.lang.String... args)
The raw video file.
|
DBFile |
getVideo(java.lang.String... args) |
java.lang.String |
getYouTubeAuthor(java.lang.String... args) |
java.lang.String |
getYouTubeAuthorUrl(java.lang.String... args) |
java.lang.String |
getYouTubeEmbed(java.lang.String... args) |
java.lang.String |
getYouTubeUrl(java.lang.String... args) |
int |
getYouTubeVideoHeight(java.lang.String... args) |
java.lang.String |
getYouTubeVideoId(java.lang.String... args) |
java.lang.String |
getYouTubeVideoThumb(java.lang.String... args) |
int |
getYouTubeVideoThumbHeight(java.lang.String... args) |
int |
getYouTubeVideoThumbWidth(java.lang.String... args) |
int |
getYouTubeVideoWidth(java.lang.String... args) |
boolean |
isYouTubeVideo(java.lang.String... args) |
BlogVideo |
setVideo(com.aspc.dal.file.DBFile value,
java.lang.String... args) |
BlogVideo |
setYouTubeAuthor(java.lang.String value,
java.lang.String... args) |
BlogVideo |
setYouTubeAuthorUrl(java.lang.String value,
java.lang.String... args) |
BlogVideo |
setYouTubeUrl(java.lang.String value,
java.lang.String... args) |
BlogVideo |
setYouTubeVideo(boolean value,
java.lang.String... args) |
BlogVideo |
setYouTubeVideoHeight(int value,
java.lang.String... args) |
BlogVideo |
setYouTubeVideoId(java.lang.String value,
java.lang.String... args) |
BlogVideo |
setYouTubeVideoThumb(java.lang.String value,
java.lang.String... args) |
BlogVideo |
setYouTubeVideoThumbHeight(int value,
java.lang.String... args) |
BlogVideo |
setYouTubeVideoThumbWidth(int value,
java.lang.String... args) |
BlogVideo |
setYouTubeVideoWidth(int value,
java.lang.String... args) |
correctHTML, eventFieldUpdated, extGetDerivedValue, extPreDeleteRecord, extPreSaveRecord, extPreValidate, findAuthor, findBanner, findChannel, findDefaultDistributionEmailTemplate, findEdition, findStatus, findStatusIcon, generatePath, getArchiveTS, getAuthor, getAuthorName, getBanner, getChannel, getCorrectionTS, getDefaultDistributionEmailTemplate, getDerivedChannels, getEdition, getID, getPath, getPublishedTS, getRawSearchText, getSeq, getShortSummary, getStatus, getStatusIcon, getSubTitle, getSummary, getTags, getTagsRaw, getTextSummary, getTitle, getUpdatedTS, getUUID, isDistribute, isPublished, makeDateElement, makeSearchText, offline, publish, setAuthor, setBanner, setChannel, setCorrectionTS, setDistribute, setEdition, setID, setPath, setPublished, setPublishedTS, setRawSearchText, setSeq, setSubTitle, setTags, setTagsRaw, setTitle, setUpdatedTS, setUseArchiveVersion, useArchiveVersionaddReloadEventListener, 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, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, 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, validateSubTypepublic static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public BlogVideo(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 boolean isYouTubeVideo(java.lang.String... args)
@Nonnull public BlogVideo setYouTubeVideo(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public DBFile getVideo(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBFile findVideo(java.lang.String... args) throws NotFoundException
DBFile (Integer, Searchable)args - the optional argumentsNotFoundException - DBFile was not found@Nonnull public BlogVideo setVideo(com.aspc.dal.file.DBFile value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getYouTubeAuthor(java.lang.String... args)
@Nonnull public BlogVideo setYouTubeAuthor(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getYouTubeAuthorUrl(java.lang.String... args)
@Nonnull public BlogVideo setYouTubeAuthorUrl(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getYouTubeEmbed(java.lang.String... args)
@CheckReturnValue @Nonnull public java.lang.String getYouTubeUrl(java.lang.String... args)
@Nonnull public BlogVideo setYouTubeUrl(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public int getYouTubeVideoHeight(java.lang.String... args)
@Nonnull public BlogVideo setYouTubeVideoHeight(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getYouTubeVideoId(java.lang.String... args)
@Nonnull public BlogVideo setYouTubeVideoId(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getYouTubeVideoThumb(java.lang.String... args)
@Nonnull public BlogVideo setYouTubeVideoThumb(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public int getYouTubeVideoThumbHeight(java.lang.String... args)
@Nonnull public BlogVideo setYouTubeVideoThumbHeight(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public int getYouTubeVideoThumbWidth(java.lang.String... args)
@Nonnull public BlogVideo setYouTubeVideoThumbWidth(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public int getYouTubeVideoWidth(java.lang.String... args)
@Nonnull public BlogVideo setYouTubeVideoWidth(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable protected GlobalKey extGetDerivedGlobalKey(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
DBObjectextGetDerivedGlobalKey in class Blogfield - The field that is being changedparams - The extra parametersjava.lang.Exception - A serious problem. In general validation is done later.@CheckReturnValue @OverridingMethodsMustInvokeSuper @Nullable protected ValidationError extValidateField(@Nonnull DBField field, @Nonnull ValidationList list) throws java.lang.Exception
DBObjectextValidateField in class ArticleTemplatefield - The field to be validatedlist - The validation listjava.lang.Exception - a serious errorstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.