mura.content

Class contentStatsBean

WEB-INF.cftags.component
    extended by mura.cfobject
      extended by mura.bean.bean
        extended by mura.content.contentStatsBean

This provides content stats functionality

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


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


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


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


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


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


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


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


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


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


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


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


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


    • returntype = any
    • access = public
    0 true true
    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
    OnMissingMethod, addEventHandler, addObject, allowAccess, allowDelete, allowQueryParams, allowRead, allowSave, clone, compare, exists, get, getAll, getAllValues, getBundleable, getDynamic, getEntityDisplayName, getEntityName, getErrors, getFeed, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getOrderBy, getPrimaryKey, getProperties, getPublicAPI, getRegisteredEntity, getScaffold, getSynthedFunctions, getTable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, on, parseDateArg, registerAsEntity, removeObject, set, setAddedObjectValues, setAllValues, setErrors, setPropAsIDColumn, setValidations, setValue, setlastUpdateBy, synthArgs, transformEventName, translatePropKey, trigger, validate, valueExists
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEntity, getEventManager, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getQueryAttrs, getQueryService, getServiceFactory, getSession, hasCustomDatasource, initTracePoint, inject, injectMethod, invokeMethod, mixin, removeValue
     
    Methods inherited from class WEB-INF.cftags.component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    comments

    property numeric comments = [0]

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

    content

    property any content

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

    disablecomments

    property numeric disablecomments = [0]

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

    downvotes

    property numeric downvotes = [0]

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

    lockid

    property string lockid

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

    locktype

    property string locktype

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

    majorversion

    property numeric majorversion = [0]

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

    minorversion

    property numeric minorversion = [0]

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

    rating

    property numeric rating = [0]

    Attributes:
    returntype - any
    required - true
    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

    totalvotes

    property numeric totalvotes = [0]

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

    upvotes

    property numeric upvotes = [0]

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

    views

    property numeric views = [0]

    Attributes:
    returntype - any
    required - true
    access - public
    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