mura.content

Class contentStatsBean

lucee.Component
    extended by mura.cfobject
      extended by mura.bean.bean
        extended by mura.content.contentStatsBean

This provides content stats functionality

Class Attributes:
  • entityname : stats
  •  
  • output : false
  •  
  • table : tcontentstats
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    numeric comments


    • access = public
    • returntype = any
    0 true yes
    any content


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = contentid
    • cfc = content
    true false
    numeric disablecomments


    • access = public
    • returntype = any
    0 true yes
    numeric downvotes


    • access = public
    • returntype = any
    0 true yes
    string lockid


    • access = public
    • returntype = any
    true yes
    string locktype


    • access = public
    • returntype = any
    true yes
    numeric majorversion


    • access = public
    • returntype = any
    0 true yes
    numeric minorversion


    • access = public
    • returntype = any
    0 true yes
    numeric rating


    • access = public
    • returntype = any
    0 true yes
    any site


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = siteid
    • cfc = site
    true false
    numeric totalvotes


    • access = public
    • returntype = any
    0 true yes
    numeric upvotes


    • access = public
    • returntype = any
    0 true yes
    numeric views


    • access = public
    • returntype = any
    0 true yes
    Constructor Summary
    init()
    Method Summary
    any delete()
    any getQuery()
    any getRating()
    any load()
    any save()
    any setComments([any Comments])
    any setConfigBean([any configBean])
    any setDisableComments([any disableComments])
    any setDownVotes([any DownVotes])
    any setMajorVersion([any majorVersion])
    any setMinorVersion([any minorVersion])
    any setRating([any rating])
    any setTotalVotes([any TotalVotes])
    any setUpVotes([any UpVotes])
    any setViews([any views])
     
    Methods inherited from class mura.bean.bean
    addObject, allowDelete, allowQueryParams, allowRead, allowSave, clone, compare, exists, get, getAll, getAllValues, getEntityName, getErrors, getFeed, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getListView, getOrderBy, getPrimaryKey, getProperties, getSynthedFunctions, getTable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, OnMissingMethod, parseDateArg, removeObject, set, setAddedObjectValues, setAllValues, setErrors, setlastUpdateBy, setPropAsIDColumn, setValidations, setValue, synthArgs, translatePropKey, validate, valueExists
     
    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

    comments

    property numeric comments = [0]

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

    content

    property any content

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

    disablecomments

    property numeric disablecomments = [0]

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

    downvotes

    property numeric downvotes = [0]

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

    lockid

    property string lockid

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

    locktype

    property string locktype

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

    majorversion

    property numeric majorversion = [0]

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

    minorversion

    property numeric minorversion = [0]

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

    rating

    property numeric rating = [0]

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

    site

    property any site

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

    totalvotes

    property numeric totalvotes = [0]

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

    upvotes

    property numeric upvotes = [0]

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

    views

    property numeric views = [0]

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

    Method Detail

    delete

    public any delete()


    getQuery

    public any getQuery()


    getRating

    public any getRating()


    load

    public any load()


    save

    public any save()


    setComments

    public any setComments([any Comments])

    Parameters:
    Comments

    setConfigBean

    public any setConfigBean([any configBean])

    Parameters:
    configBean

    setDisableComments

    public any setDisableComments([any disableComments])

    Parameters:
    disableComments

    setDownVotes

    public any setDownVotes([any DownVotes])

    Parameters:
    DownVotes

    setMajorVersion

    public any setMajorVersion([any majorVersion])

    Parameters:
    majorVersion

    setMinorVersion

    public any setMinorVersion([any minorVersion])

    Parameters:
    minorVersion

    setRating

    public any setRating([any rating])

    Parameters:
    rating

    setTotalVotes

    public any setTotalVotes([any TotalVotes])

    Parameters:
    TotalVotes

    setUpVotes

    public any setUpVotes([any UpVotes])

    Parameters:
    UpVotes

    setViews

    public any setViews([any views])

    Parameters:
    views