mura.content.file

Class fileBean

WEB-INF.cftags.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:
  • table : tfiles
  •  
  • entityname : file
  •  
    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
    any content


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


    • cfc = site
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = siteid
    • access = public
    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, getCache, getCacheKey, getCacheName, getCacheSiteID, getColumns, getCustomDatasource, getDbType, getDbUtility, getDiscriminatorColumn, getDiscriminatorValue, getFeed, getIterator, getLoadSQL, getLoadSQLColumnsAndTables, getManageSchema, getPrimaryKey, getPropertiesAsJSON, 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
    OnMissingMethod, addEventHandler, addObject, 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

    content

    property any content

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

    contentSubType

    property any contentSubType

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

    contentType

    property any contentType

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

    created

    property any created

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

    credits

    property any credits

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

    deleted

    property any deleted = [0]

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

    exif

    property any exif

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

    fileExt

    property any fileExt

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

    fileField

    property any fileField = [newfile]

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

    fileSize

    property any fileSize = [0]

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

    fileid

    property any fileid

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

    filename

    property any filename

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

    moduleid

    property any moduleid = [00000000000000000000000000000000000]

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

    remoteID

    property mura.content.file.varchar remoteID

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

    remotePubDate

    property mura.content.file.datetime remotePubDate

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

    remoteSource

    property mura.content.file.varchar remoteSource

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

    remoteSourceURL

    property mura.content.file.varchar remoteSourceURL

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

    remoteURL

    property mura.content.file.varchar remoteURL

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

    site

    property any site

    Attributes:
    cfc - site
    fieldtype - many-to-one
    returntype - any
    required - false
    fkcolumn - siteid
    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

    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