mura.bean

Class bean

lucee.Component
    extended by mura.cfobject
      extended by mura.bean.bean
Direct Known Subclasses:
beanExtendable , beanFeed , beanORM , categoryBean , contentCommentBean , contentDisplayIntervalBean , contentStatsBean , changesetBean , dataCollectionBean , favoriteBean , rateBean , pluginDisplayObjectBean , pluginScriptBean , pluginSettingBean , settingsImageSizeBean

This provides core bean functionality

Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    struct errors


    • access = public
    • comparable = false
    • returntype = any
    • persistent = false
    true false
    boolean fromMuraCache


    • access = public
    • comparable = false
    • returntype = any
    • persistent = false
    false true false
    string instanceID


    • access = public
    • comparable = false
    • returntype = any
    • persistent = false
    true false
    numeric isNew


    • access = public
    • returntype = any
    • persistent = false
    1 true false
    Constructor Summary
    init()
    Method Summary
    private any addObject([any obj])
    any allowDelete()
    any allowQueryParams([any params], [any $])
    any allowRead()
    any allowSave()
    any clone()
    any compare([any bean], [any propertyList=''])
    any exists()
    any get([string property=''], [any defaultValue])
    any getAll()
    any getAllValues()
    any getEntityName()
    any getErrors()
    any getFeed()
    any getHasManyPropArray()
    any getHasOnePropArray()
    any getInstanceName()
    any getIsHistorical()
    any getListView()
    any getOrderBy()
    any getPrimaryKey()
    any getProperties()
    any getSynthedFunctions()
    any getTable()
    any getValidations()
    any getValue([string property], [any defaultValue])
    any has([any valueKey])
    any hasErrors()
    any hasProperty([any property])
    any hasTable()
    any isComparable([any property])
    any OnMissingMethod([string MissingMethodName], [struct MissingMethodArguments])
    any parseDateArg([string arg])
    private any removeObject([any obj])
    any set([any property], [any propertyValue])
    any setAddedObjectValues([any properties])
    any setAllValues([any instance])
    any setErrors([any errors])
    any setlastUpdateBy([any lastUpdateBy])
    private any setPropAsIDColumn([any prop], [any isPrimaryKey='true'])
    any setValidations([any validations])
    any setValue([any property], [any propertyValue=''])
    private any synthArgs([any args])
    any translatePropKey([any property])
    any validate([any fields=''])
    any valueExists([any valueKey])
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getQueryAttrs, getQueryService, getServiceFactory, getSession, hasCustomDatasource, initTracePoint, inject, injectMethod, invokeMethod, mixin, removeValue
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    errors

    property struct errors

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

    fromMuraCache

    property boolean fromMuraCache = [false]

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

    instanceID

    property string instanceID

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

    isNew

    property numeric isNew = [1]

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

    Method Detail

    addObject

    private any addObject([any obj])

    Parameters:
    obj

    allowDelete

    public any allowDelete()


    allowQueryParams

    public any allowQueryParams([any params], [any $])

    Parameters:
    params
    $

    allowRead

    public any allowRead()


    allowSave

    public any allowSave()


    clone

    public any clone()


    compare

    public any compare([any bean], [any propertyList=''])

    Parameters:
    bean
    propertyList

    exists

    public any exists()


    get

    public any get([string property=''], [any defaultValue])

    Overrides:
    get in class cfobject
    Parameters:
    property
    defaultValue

    getAll

    public any getAll()


    getAllValues

    public any getAllValues()


    getEntityName

    public any getEntityName()


    getErrors

    public any getErrors()


    getFeed

    public any getFeed()

    Overrides:
    getFeed in class cfobject

    getHasManyPropArray

    public any getHasManyPropArray()


    getHasOnePropArray

    public any getHasOnePropArray()


    getInstanceName

    public any getInstanceName()


    getIsHistorical

    public any getIsHistorical()


    getListView

    public any getListView()


    getOrderBy

    public any getOrderBy()


    getPrimaryKey

    public any getPrimaryKey()


    getProperties

    public any getProperties()


    getSynthedFunctions

    public any getSynthedFunctions()


    getTable

    public any getTable()


    getValidations

    public any getValidations()


    getValue

    public any getValue([string property], [any defaultValue])

    Overrides:
    getValue in class cfobject
    Parameters:
    property
    defaultValue

    has

    public any has([any valueKey])

    Parameters:
    valueKey

    hasErrors

    public any hasErrors()


    hasProperty

    public any hasProperty([any property])

    Parameters:
    property

    hasTable

    public any hasTable()


    isComparable

    public any isComparable([any property])

    Parameters:
    property

    OnMissingMethod

    public any OnMissingMethod([string MissingMethodName], [struct MissingMethodArguments])

    Parameters:
    MissingMethodName
    MissingMethodArguments

    parseDateArg

    public any parseDateArg([string arg])

    Overrides:
    parseDateArg in class cfobject
    Parameters:
    arg

    removeObject

    private any removeObject([any obj])

    Parameters:
    obj

    set

    public any set([any property], [any propertyValue])

    Overrides:
    set in class cfobject
    Parameters:
    property
    propertyValue

    setAddedObjectValues

    public any setAddedObjectValues([any properties])

    Parameters:
    properties

    setAllValues

    public any setAllValues([any instance])

    Parameters:
    instance

    setErrors

    public any setErrors([any errors])

    Parameters:
    errors

    setlastUpdateBy

    public any setlastUpdateBy([any lastUpdateBy])

    Parameters:
    lastUpdateBy

    setPropAsIDColumn

    private any setPropAsIDColumn([any prop], [any isPrimaryKey='true'])

    Parameters:
    prop
    isPrimaryKey

    setValidations

    public any setValidations([any validations])

    Parameters:
    validations

    setValue

    public any setValue([any property], [any propertyValue=''])

    Overrides:
    setValue in class cfobject
    Parameters:
    property
    propertyValue

    synthArgs

    private any synthArgs([any args])

    Parameters:
    args

    translatePropKey

    public any translatePropKey([any property])

    Parameters:
    property

    validate

    public any validate([any fields=''])

    Parameters:
    fields

    valueExists

    public any valueExists([any valueKey])

    Overrides:
    valueExists in class cfobject
    Parameters:
    valueKey