mura.bean

Class bean

lucee.Component
    extended by mura.baseobject
      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
    any addEventHandler([any component])
    private any addObject([any obj])
    any allowAccess([any $], [any m], [any mura])
    any allowDelete()
    any allowQueryParams([any params], [any $], [any m], [any mura])
    any allowRead()
    any allowSave()
    any appendHasRef([any cfc], [any type], [any ref], [any candidate='true'])
    any clone()
    any compare([any bean], [any propertyList=''])
    any exists()
    any get([String property=''], [any defaultValue])
    any getAll()
    any getAllValues()
    any getBundleable()
    any getCategorizable()
    any getDbUtility()
    any getDynamic()
    any getEntityDisplayName()
    any getEntityName()
    any getErrors()
    any getFeed()
    any getHasManyPropArray()
    any getHasOnePropArray()
    any getInstanceName()
    any getIsHistorical()
    any getIsVersioned()
    any getListViewProps()
    any getOrderBy()
    any getPermissions()
    any getPrimaryKey()
    any getProperties([any rebuild='false'])
    any getPublicAPI()
    any getRegisteredEntity()
    any getScaffold()
    any getSearchableProps()
    any getSynthedFunctions()
    any getTable()
    any getTaggable()
    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 on([any eventName], [any fn])
    any OnMissingMethod([string MissingMethodName], [Struct MissingMethodArguments])
    any parseDateArg([String arg])
    any parseEncrypted([any value])
    any pluralizeHasRefName([any name])
    any registerAsEntity()
    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 toBundle()
    any transformEventName([any eventName])
    any translatePropKey([any property])
    any trigger([any eventName])
    any validate([any fields=''])
    any valueExists([any valueKey])
     
    Methods inherited from class mura.baseobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEntity, getEventManager, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getQueryAttrs, getQueryService, getServiceFactory, getSession, hasCustomDatasource, initTracePoint, inject, injectMethod, invokeMethod, isORM, 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

    addEventHandler

    public any addEventHandler([any component])

    Parameters:
    component

    addObject

    private any addObject([any obj])

    Parameters:
    obj

    allowAccess

    public any allowAccess([any $], [any m], [any mura])

    Parameters:
    $
    m
    mura

    allowDelete

    public any allowDelete()


    allowQueryParams

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

    Parameters:
    params
    $
    m
    mura

    allowRead

    public any allowRead()


    allowSave

    public any allowSave()


    appendHasRef

    public any appendHasRef([any cfc], [any type], [any ref], [any candidate='true'])

    Parameters:
    cfc
    type
    ref
    candidate

    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 baseobject
    Parameters:
    property
    defaultValue

    getAll

    public any getAll()


    getAllValues

    public any getAllValues()


    getBundleable

    public any getBundleable()


    getCategorizable

    public any getCategorizable()


    getDbUtility

    public any getDbUtility()


    getDynamic

    public any getDynamic()


    getEntityDisplayName

    public any getEntityDisplayName()


    getEntityName

    public any getEntityName()


    getErrors

    public any getErrors()


    getFeed

    public any getFeed()

    Overrides:
    getFeed in class baseobject

    getHasManyPropArray

    public any getHasManyPropArray()


    getHasOnePropArray

    public any getHasOnePropArray()


    getInstanceName

    public any getInstanceName()


    getIsHistorical

    public any getIsHistorical()


    getIsVersioned

    public any getIsVersioned()


    getListViewProps

    public any getListViewProps()


    getOrderBy

    public any getOrderBy()


    getPermissions

    public any getPermissions()


    getPrimaryKey

    public any getPrimaryKey()


    getProperties

    public any getProperties([any rebuild='false'])

    Parameters:
    rebuild

    getPublicAPI

    public any getPublicAPI()


    getRegisteredEntity

    public any getRegisteredEntity()


    getScaffold

    public any getScaffold()


    getSearchableProps

    public any getSearchableProps()


    getSynthedFunctions

    public any getSynthedFunctions()


    getTable

    public any getTable()


    getTaggable

    public any getTaggable()


    getValidations

    public any getValidations()


    getValue

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

    Overrides:
    getValue in class baseobject
    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

    on

    public any on([any eventName], [any fn])

    Parameters:
    eventName
    fn

    OnMissingMethod

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

    Parameters:
    MissingMethodName
    MissingMethodArguments

    parseDateArg

    public any parseDateArg([String arg])

    Overrides:
    parseDateArg in class baseobject
    Parameters:
    arg

    parseEncrypted

    public any parseEncrypted([any value])

    Parameters:
    value

    pluralizeHasRefName

    public any pluralizeHasRefName([any name])

    Parameters:
    name

    registerAsEntity

    public any registerAsEntity()


    removeObject

    private any removeObject([any obj])

    Parameters:
    obj

    set

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

    Overrides:
    set in class baseobject
    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 baseobject
    Parameters:
    property
    propertyValue

    synthArgs

    private any synthArgs([any args])

    Parameters:
    args

    toBundle

    public any toBundle()


    transformEventName

    public any transformEventName([any eventName])

    Parameters:
    eventName

    translatePropKey

    public any translatePropKey([any property])

    Parameters:
    property

    trigger

    public any trigger([any eventName])

    Parameters:
    eventName

    validate

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

    Parameters:
    fields

    valueExists

    public any valueExists([any valueKey])

    Overrides:
    valueExists in class baseobject
    Parameters:
    valueKey