mura.content

Class contentCommentBean

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

This provides content comment functionality

Class Attributes:
  • entityname : comment
  •  
  • output : false
  •  
  • table : tcontentcomments
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    string commentID


    • access = public
    • fieldtype = id
    • returntype = any
    true false
    string comments


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


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


    • access = public
    • returntype = any
    true false
    date entered


    • access = public
    • returntype = any
    true false
    numeric flagCount


    • access = public
    • returntype = any
    0 true false
    numeric isApproved


    • access = public
    • returntype = any
    0 true false
    numeric isDeleted


    • access = public
    • returntype = any
    0 true false
    numeric isNew


    • access = public
    • returntype = any
    1 true false
    numeric isSpam


    • access = public
    • returntype = any
    0 true false
    any kids


    • access = public
    • fieldtype = one-to-many
    • returntype = any
    • cascade = delete
    • nested = true
    • orderby = created asc
    • cfc = comment
    true false
    string name


    • access = public
    • returntype = any
    true false
    any parent


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = parentid
    • cfc = comment
    true false
    string path


    • access = public
    • returntype = any
    true false
    string remoteID


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


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


    • access = public
    • returntype = any
    0 true false
    string url


    • access = public
    • returntype = any
    true false
    string userID


    • access = public
    • returntype = any
    true false
    Constructor Summary
    init()
    Method Summary
    any clone()
    any delete()
    any flag()
    struct getAllValues()
    any getCommenter()
    any getCommentID()
    any getCrumbIterator(any sort='asc')
    any getCrumbQuery(any sort='asc')
    any getKidsIterator(boolean isEditor='false', string sortOrder='asc')
    any getKidsQuery(boolean isEditor='false', string sortOrder='asc')
    any getParent()
    any getPrimaryKey()
    any getQuery([any commentID], [any remoteID])
    any hasParent()
    any load([any commentID], [any remoteID])
    any loadBy([any commentID], [any remoteID])
    any markAsSpam()
    any notifySubscribers(any script='', any subject='', any notifyAdmin='true')
    any save(any script='', any subject='', any notify='false')
    any saveSubscription()
    any sendNotification(any script='')
    any setAllValues([any instance])
    any setCommenter()
    any setConfigBean([any configBean])
    any setContentDAO([any contentDAO])
    any setContentManager([any contentManager])
    any setEntered([any entered])
    any setFlagCount([any flagCount])
    any setIsApproved([any isApproved])
    any setIsDeleted([any isDeleted])
    any setIsSpam([any isSpam])
    any setKids([any kids])
    any setMailer([any mailer])
    any setSettingsManager([any settingsManager])
    any setSubscribe([any subscribe])
    any setTrashManager([any trashManager])
    any setURL([String url])
    any undelete()
    any unMarkAsSpam()
     
    Methods inherited from class mura.bean.bean
    addObject, allowDelete, allowQueryParams, allowRead, allowSave, compare, exists, get, getAll, getEntityName, getErrors, getFeed, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getListView, getOrderBy, getProperties, getSynthedFunctions, getTable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, OnMissingMethod, parseDateArg, removeObject, set, setAddedObjectValues, 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

    commentID

    property string commentID

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

    comments

    property string comments

    Attributes:
    access - public
    required - false
    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

    email

    property string email

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

    entered

    property date entered

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

    flagCount

    property numeric flagCount = [0]

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

    isApproved

    property numeric isApproved = [0]

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

    isDeleted

    property numeric isDeleted = [0]

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

    isNew

    property numeric isNew = [1]

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

    isSpam

    property numeric isSpam = [0]

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

    kids

    property any kids

    Attributes:
    access - public
    required - false
    fieldtype - one-to-many
    returntype - any
    cascade - delete
    nested - true
    orderby - created asc
    serializable - true
    cfc - comment

    name

    property string name

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

    parent

    property any parent

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

    path

    property string path

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

    remoteID

    property string remoteID

    Attributes:
    access - public
    required - false
    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

    subscribe

    property numeric subscribe = [0]

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

    url

    property string url

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

    userID

    property string userID

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

    Method Detail

    clone

    public any clone()

    Overrides:
    clone in class bean

    delete

    public any delete()


    flag

    public any flag()


    getAllValues

    public struct getAllValues()

    Overrides:
    getAllValues in class bean

    getCommenter

    public any getCommenter()


    getCommentID

    public any getCommentID()


    getCrumbIterator

    public any getCrumbIterator(any sort='asc')

    Parameters:
    sort

    getCrumbQuery

    public any getCrumbQuery(any sort='asc')

    Parameters:
    sort

    getKidsIterator

    public any getKidsIterator(boolean isEditor='false', string sortOrder='asc')

    Parameters:
    isEditor
    sortOrder

    getKidsQuery

    public any getKidsQuery(boolean isEditor='false', string sortOrder='asc')

    Parameters:
    isEditor
    sortOrder

    getParent

    public any getParent()


    getPrimaryKey

    public any getPrimaryKey()

    Overrides:
    getPrimaryKey in class bean

    getQuery

    public any getQuery([any commentID], [any remoteID])

    Parameters:
    commentID
    remoteID

    hasParent

    public any hasParent()


    load

    public any load([any commentID], [any remoteID])

    Parameters:
    commentID
    remoteID

    loadBy

    public any loadBy([any commentID], [any remoteID])

    Parameters:
    commentID
    remoteID

    markAsSpam

    public any markAsSpam()


    notifySubscribers

    public any notifySubscribers(any script='', any subject='', any notifyAdmin='true')

    Parameters:
    script
    subject
    notifyAdmin

    save

    public any save(any script='', any subject='', any notify='false')

    Parameters:
    script - I'm the script that is sent to the subscribers.
    subject - I'm the subject that is sent to the subscribers.
    notify - I tell whether to notify subscribers.

    saveSubscription

    public any saveSubscription()


    sendNotification

    public any sendNotification(any script='')

    Parameters:
    script

    setAllValues

    public any setAllValues([any instance])

    Overrides:
    setAllValues in class bean
    Parameters:
    instance

    setCommenter

    public any setCommenter()


    setConfigBean

    public any setConfigBean([any configBean])

    Parameters:
    configBean

    setContentDAO

    public any setContentDAO([any contentDAO])

    Parameters:
    contentDAO

    setContentManager

    public any setContentManager([any contentManager])

    Parameters:
    contentManager

    setEntered

    public any setEntered([any entered])

    Parameters:
    entered

    setFlagCount

    public any setFlagCount([any flagCount])

    Parameters:
    flagCount

    setIsApproved

    public any setIsApproved([any isApproved])

    Parameters:
    isApproved

    setIsDeleted

    public any setIsDeleted([any isDeleted])

    Parameters:
    isDeleted

    setIsSpam

    public any setIsSpam([any isSpam])

    Parameters:
    isSpam

    setKids

    public any setKids([any kids])

    Parameters:
    kids

    setMailer

    public any setMailer([any mailer])

    Parameters:
    mailer

    setSettingsManager

    public any setSettingsManager([any settingsManager])

    Parameters:
    settingsManager

    setSubscribe

    public any setSubscribe([any subscribe])

    Parameters:
    subscribe

    setTrashManager

    public any setTrashManager([any trashManager])

    Parameters:
    trashManager

    setURL

    public any setURL([String url])

    Parameters:
    url

    undelete

    public any undelete()


    unMarkAsSpam

    public any unMarkAsSpam()