mura.content

Class contentFileMetaDataBean

lucee.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
  •  
  • bundleable : true
  •  
  • entityname : fileMetaData
  •  
  • table : tcontentfilemetadata
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any altText


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


    • access = public
    • returntype = any
    • length = 255
    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, getBundleable, getCache, getCacheKey, getCacheName, getCacheSiteID, getColumns, getCustomDatasource, getDbType, getDbUtility, getDiscriminatorColumn, getDiscriminatorValue, getFeed, getIterator, getManageSchema, getPrimaryKey, 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
    allowDelete, allowQueryParams, allowRead, allowSave, compare, exists, get, getAll, getAllValues, getEntityName, getErrors, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getListView, getOrderBy, getProperties, getSynthedFunctions, getTable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, OnMissingMethod, parseDateArg, removeObject, setAddedObjectValues, setAllValues, setErrors, setlastUpdateBy, setValidations, setValue, synthArgs, translatePropKey, valueExists
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getServiceFactory, getSession, initTracePoint, inject, injectMethod, invokeMethod, mixin, removeValue
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    altText

    property any altText

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

    caption

    property any caption

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

    contentSubType

    property string contentSubType

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

    contentType

    property string contentType

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

    created

    property mura.content.datetime created

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

    credits

    property any credits

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

    directImages

    property boolean directImages = [true]

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

    exif

    property any exif

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

    file

    property any file

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

    fileExt

    property string fileExt

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

    filename

    property string filename

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

    filesize

    property mura.content.integer filesize = [0]

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

    metaID

    property any metaID

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

    remoteID

    property mura.content.varchar remoteID

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

    remotePubDate

    property mura.content.datetime remotePubDate

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

    remoteSource

    property mura.content.varchar remoteSource

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

    remoteSourceURL

    property mura.content.varchar remoteSourceURL

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

    remoteURL

    property mura.content.varchar remoteURL

    Attributes:
    access - public
    required - false
    returntype - any
    length - 255
    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