mura.content.file

Class fileBean

lucee.Component
    extended by mura.cfobject
      extended by mura.bean.bean
        extended by mura.bean.beanORM
          extended by mura.content.file.fileBean

This provides file data access and persistence

Class Attributes:
  • entityname : file
  •  
  • table : tfiles
  •  
  • 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
    any content


    • access = public
    • fieldtype = one-to-one
    • returntype = any
    • nullable = true
    • fkcolumn = contentid
    • cfc = content
    true no
    any contentSubType


    • access = public
    • returntype = any
    • datatype = varchar
    • length = 200
    true false
    any contentType


    • access = public
    • returntype = any
    • datatype = varchar
    • length = 100
    true false
    any created


    • access = public
    • returntype = any
    • datatype = datetime
    true false
    any credits


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


    • access = public
    • returntype = any
    • datatype = int
    0 true false
    any exif


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


    • access = public
    • returntype = any
    • datatype = varchar
    • length = 50
    true false
    any fileField


    • access = public
    • returntype = any
    • persistent = false
    newfile true false
    any fileid


    • access = public
    • fieldtype = id
    • returntype = any
    true false
    any filename


    • access = public
    • returntype = any
    • datatype = varchar
    • length = 200
    true false
    any fileSize


    • access = public
    • returntype = any
    • datatype = int
    0 true false
    any moduleid


    • access = public
    • returntype = any
    • datatype = char
    • length = 35
    00000000000000000000000000000000000 true false
    mura.content.file.varchar remoteID


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


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


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


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


    • access = public
    • returntype = any
    • length = 255
    true false
    any site


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = siteid
    • cfc = site
    true false
    Method Summary
    any deserializeExif()
    any getExifAsJSON()
    any getExifAsStruct()
    any getExifTag([any tag])
    any getURL([any complete='false'], [any secure='false'], [any method='inline'])
    any save([any processFile='true'])
    any serializeExif()
    any setExifPartial([any exif])
    any setExifTag([any tag], [any value])
    any setFileField([any fileField])
    any setFileSize([any fileSize])
    any setRemotePubDate([any remotePubDate])
     
    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, getLoadSQL, getManageSchema, getPrimaryKey, getQueryAttrs, getQueryParamType, getQueryService, getReadOnly, getSaveErrors, getSite, getUseCache, getUseTrash, hasColumn, hasCustomDatasource, init, loadBy, postCreate, postDelete, postInsert, postLoad, postUpdate, preCreate, preDelete, preInsert, preLoad, preUpdate, purgeCache, set, setDbUtility, setPropAsIDColumn, setSaveErrors, toBundle, updateMappingsByIDLists, validate
     
    Methods inherited from class mura.bean.bean
    addObject, 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

    content

    property any content

    Attributes:
    access - public
    required - no
    fieldtype - one-to-one
    returntype - any
    nullable - true
    fkcolumn - contentid
    serializable - true
    cfc - content

    contentSubType

    property any contentSubType

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

    contentType

    property any contentType

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

    created

    property any created

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

    credits

    property any credits

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

    deleted

    property any deleted = [0]

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

    exif

    property any exif

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

    fileExt

    property any fileExt

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

    fileField

    property any fileField = [newfile]

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

    fileid

    property any fileid

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

    filename

    property any filename

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

    fileSize

    property any fileSize = [0]

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

    moduleid

    property any moduleid = [00000000000000000000000000000000000]

    Attributes:
    access - public
    required - false
    returntype - any
    datatype - char
    length - 35
    serializable - true

    remoteID

    property mura.content.file.varchar remoteID

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

    remotePubDate

    property mura.content.file.datetime remotePubDate

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

    remoteSource

    property mura.content.file.varchar remoteSource

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

    remoteSourceURL

    property mura.content.file.varchar remoteSourceURL

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

    remoteURL

    property mura.content.file.varchar remoteURL

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

    site

    property any site

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

    Method Detail

    deserializeExif

    public any deserializeExif()


    getExifAsJSON

    public any getExifAsJSON()


    getExifAsStruct

    public any getExifAsStruct()


    getExifTag

    public any getExifTag([any tag])

    Parameters:
    tag

    getURL

    public any getURL([any complete='false'], [any secure='false'], [any method='inline'])

    Parameters:
    complete
    secure
    method

    save

    public any save([any processFile='true'])

    Overrides:
    save in class beanORM
    Parameters:
    processFile

    serializeExif

    public any serializeExif()


    setExifPartial

    public any setExifPartial([any exif])

    Parameters:
    exif

    setExifTag

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

    Parameters:
    tag
    value

    setFileField

    public any setFileField([any fileField])

    Parameters:
    fileField

    setFileSize

    public any setFileSize([any fileSize])

    Parameters:
    fileSize

    setRemotePubDate

    public any setRemotePubDate([any remotePubDate])

    Parameters:
    remotePubDate