mura.content

Class contentFileMetaDataBean

WEB-INF.cftags.component
    extended by mura.cfobject
      extended by mura.bean.bean
        extended by mura.bean.beanORM
          extended by mura.bean.beanORMVersioned
            extended by mura.content.contentFileMetaDataBean

This provides content file metadata functionalityss

Class Attributes:
  • versioned : true
  •  
  • table : tcontentfilemetadata
  •  
  • bundleable : true
  •  
  • entityname : fileMetaData
  •  
    Property Summary
    type property default serializable required
    any altText


    • datatype = varchar
    • returntype = any
    • length = 255
    • access = public
    true false
    any caption


    • datatype = text
    • returntype = any
    • access = public
    true false
    string contentSubType


    • persistent = false
    • returntype = any
    • access = public
    true false
    string contentType


    • persistent = false
    • returntype = any
    • access = public
    true false
    mura.content.datetime created


    • persistent = false
    • returntype = any
    • access = public
    true false
    any credits


    • datatype = text
    • returntype = any
    • access = public
    true false
    boolean directImages


    • persistent = false
    • returntype = any
    • access = public
    true true false
    any exif


    • datatype = text
    • returntype = any
    • access = public
    true false
    any file


    • cfc = file
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = fileid
    • access = public
    true false
    string fileExt


    • persistent = false
    • returntype = any
    • access = public
    true false
    string filename


    • persistent = false
    • returntype = any
    • access = public
    true false
    mura.content.integer filesize


    • persistent = false
    • returntype = any
    • access = public
    0 true false
    any metaID


    • fieldtype = id
    • returntype = any
    • access = public
    true false
    mura.content.varchar remoteID


    • fieldtype = index
    • returntype = any
    • length = 255
    • access = public
    true false
    mura.content.datetime remotePubDate


    • returntype = any
    • access = public
    true false
    mura.content.varchar remoteSource


    • returntype = any
    • length = 255
    • access = public
    true false
    mura.content.varchar remoteSourceURL


    • returntype = any
    • length = 255
    • access = public
    true false
    mura.content.varchar remoteURL


    • returntype = any
    • length = 255
    • access = public
    true false
    Method Summary
    any deserializeExif()
    any getExifAsJSON()
    any getExifAsStruct()
    any getExifTag([any tag])
    private any getLoadSQL()
    any getURLForFile([any method='inline'])
    any getURLForImage([any size='large'], [any direct='false'], [any complete='false'], [any height='AUTO'], [any width='AUTO'], [any siteid='[runtime expression]'], [any fileid='[runtime expression]'])
    any hasCroppableImageFileExt()
    any hasImageFileExt()
    any loadBy([any returnFormat='self'])
    any persistToVersion([any previousBean], [any newBean], [any $])
    any save([any setAsDefault='false'])
    any serializeExif()
    any setExifPartial([any exif])
    any setExifTag([any tag], [any value])
    any setRemotePubDate([any remotePubDate])
    any setSiteID([any siteid])
     
    Methods inherited from class mura.bean.beanORMVersioned
    addObject, toBundle
     
    Methods inherited from class mura.bean.beanORM
    addQueryParam, checkSchema, clone, delete, fromBundle, getCache, getCacheKey, getCacheName, getCacheSiteID, getColumns, getCustomDatasource, getDbType, getDbUtility, getDiscriminatorColumn, getDiscriminatorValue, getFeed, getIterator, getLoadSQLColumnsAndTables, getManageSchema, getPrimaryKey, getPropertiesAsJSON, getQueryAttrs, getQueryParamType, getQueryService, getReadOnly, getSaveErrors, getSite, getUseCache, getUseTrash, hasColumn, hasCustomDatasource, init, postCreate, postDelete, postInsert, postLoad, postUpdate, preCreate, preDelete, preInsert, preLoad, preUpdate, purgeCache, set, setDbUtility, setPropAsIDColumn, setSaveErrors, updateMappingsByIDLists, validate
     
    Methods inherited from class mura.bean.bean
    OnMissingMethod, addEventHandler, allowAccess, allowDelete, allowQueryParams, allowRead, allowSave, compare, exists, get, getAll, getAllValues, getBundleable, getDynamic, getEntityDisplayName, getEntityName, getErrors, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getOrderBy, getProperties, getPublicAPI, getRegisteredEntity, getScaffold, getSynthedFunctions, getTable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, on, parseDateArg, registerAsEntity, removeObject, setAddedObjectValues, setAllValues, setErrors, setValidations, setValue, setlastUpdateBy, synthArgs, transformEventName, translatePropKey, trigger, valueExists
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEntity, getEventManager, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getServiceFactory, getSession, initTracePoint, inject, injectMethod, invokeMethod, mixin, removeValue
     
    Methods inherited from class WEB-INF.cftags.component
    None

    Property Detail

    altText

    property any altText

    Attributes:
    datatype - varchar
    returntype - any
    length - 255
    required - false
    access - public
    serializable - true

    caption

    property any caption

    Attributes:
    datatype - text
    returntype - any
    required - false
    access - public
    serializable - true

    contentSubType

    property string contentSubType

    Attributes:
    persistent - false
    returntype - any
    required - false
    access - public
    serializable - true

    contentType

    property string contentType

    Attributes:
    persistent - false
    returntype - any
    required - false
    access - public
    serializable - true

    created

    property mura.content.datetime created

    Attributes:
    persistent - false
    returntype - any
    required - false
    access - public
    serializable - true

    credits

    property any credits

    Attributes:
    datatype - text
    returntype - any
    required - false
    access - public
    serializable - true

    directImages

    property boolean directImages = [true]

    Attributes:
    persistent - false
    returntype - any
    required - false
    access - public
    serializable - true

    exif

    property any exif

    Attributes:
    datatype - text
    returntype - any
    required - false
    access - public
    serializable - true

    file

    property any file

    Attributes:
    cfc - file
    fieldtype - many-to-one
    returntype - any
    required - false
    fkcolumn - fileid
    access - public
    serializable - true

    fileExt

    property string fileExt

    Attributes:
    persistent - false
    returntype - any
    required - false
    access - public
    serializable - true

    filename

    property string filename

    Attributes:
    persistent - false
    returntype - any
    required - false
    access - public
    serializable - true

    filesize

    property mura.content.integer filesize = [0]

    Attributes:
    persistent - false
    returntype - any
    required - false
    access - public
    serializable - true

    metaID

    property any metaID

    Attributes:
    fieldtype - id
    returntype - any
    required - false
    access - public
    serializable - true

    remoteID

    property mura.content.varchar remoteID

    Attributes:
    fieldtype - index
    returntype - any
    length - 255
    required - false
    access - public
    serializable - true

    remotePubDate

    property mura.content.datetime remotePubDate

    Attributes:
    returntype - any
    required - false
    access - public
    serializable - true

    remoteSource

    property mura.content.varchar remoteSource

    Attributes:
    returntype - any
    length - 255
    required - false
    access - public
    serializable - true

    remoteSourceURL

    property mura.content.varchar remoteSourceURL

    Attributes:
    returntype - any
    length - 255
    required - false
    access - public
    serializable - true

    remoteURL

    property mura.content.varchar remoteURL

    Attributes:
    returntype - any
    length - 255
    required - false
    access - public
    serializable - true

    Method Detail

    deserializeExif

    public any deserializeExif()


    getExifAsJSON

    public any getExifAsJSON()


    getExifAsStruct

    public any getExifAsStruct()


    getExifTag

    public any getExifTag([any tag])

    Parameters:
    tag

    getLoadSQL

    private any getLoadSQL()

    Overrides:
    getLoadSQL in class beanORM

    getURLForFile

    public any getURLForFile([any method='inline'])

    Parameters:
    method

    getURLForImage

    public any getURLForImage([any size='large'], [any direct='false'], [any complete='false'], [any height='AUTO'], [any width='AUTO'], [any siteid='[runtime expression]'], [any fileid='[runtime expression]'])

    Parameters:
    size
    direct
    complete
    height
    width
    siteid
    fileid

    hasCroppableImageFileExt

    public any hasCroppableImageFileExt()


    hasImageFileExt

    public any hasImageFileExt()


    loadBy

    public any loadBy([any returnFormat='self'])

    Overrides:
    loadBy in class beanORM
    Parameters:
    returnFormat

    persistToVersion

    public any persistToVersion([any previousBean], [any newBean], [any $])

    Overrides:
    persistToVersion in class beanORMVersioned
    Parameters:
    previousBean
    newBean
    $

    save

    public any save([any setAsDefault='false'])

    Overrides:
    save in class beanORM
    Parameters:
    setAsDefault

    serializeExif

    public any serializeExif()


    setExifPartial

    public any setExifPartial([any exif])

    Parameters:
    exif

    setExifTag

    public any setExifTag([any tag], [any value])

    Parameters:
    tag
    value

    setRemotePubDate

    public any setRemotePubDate([any remotePubDate])

    Parameters:
    remotePubDate

    setSiteID

    public any setSiteID([any siteid])

    Parameters:
    siteid