mura.content

Class contentCommentManager

lucee.Component
    extended by mura.cfobject
      extended by mura.content.contentCommentManager

This provides content comment service level logic functionality

Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any configBean


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


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


    • access = public
    • returntype = any
    true false
    Constructor Summary
    init(any contentManager, any configBean)
    Method Summary
    boolean approve(string commentid)
    boolean delete(string commentid)
    string dspCategoriesNestSelect([string siteID], [string parentID], [string categoryID], [numeric nestLevel], [numeric useID], [string elementName])
    any getCommentBeanByCommentID(string commentid)
    any getComments([string siteid='default'], [string commentid], [string contentid], [string parentid], [string remoteid], [string ip], [string email], [string name], [boolean isapproved], [boolean isspam], [boolean isdeleted], [string sortby='entered'], [string sortdirection='asc'], [boolean returnCountOnly='false'], [numeric maxItems='1000'])
    any getCommentsIterator()
    string getContentManager()
    string getDebug()
    private any handleError(any error)
    boolean markAsSpam(string commentid)
    boolean purgeDeletedComments([string siteid])
    any setConfigBean(any configBean)
    any setContentManager(any contentManager)
    any setDebug(any debug)
    boolean unapprove(string commentid)
    boolean undelete(string commentid)
    boolean unmarkAsSpam(string commentid)
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, get, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getFeed, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getQueryAttrs, getQueryService, getServiceFactory, getSession, getValue, hasCustomDatasource, initTracePoint, inject, injectMethod, invokeMethod, mixin, parseDateArg, removeValue, set, setValue, valueExists
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any contentManager, any configBean)

    Parameters:
    contentManager
    configBean

    Property Detail

    configBean

    property any configBean

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

    contentManager

    property any contentManager

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

    debug

    property any debug

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

    Method Detail

    approve

    public boolean approve(string commentid)

    Parameters:
    commentid

    delete

    public boolean delete(string commentid)

    Parameters:
    commentid

    dspCategoriesNestSelect

    public string dspCategoriesNestSelect([string siteID], [string parentID], [string categoryID], [numeric nestLevel], [numeric useID], [string elementName])

    Parameters:
    siteID
    parentID
    categoryID
    nestLevel
    useID
    elementName

    getCommentBeanByCommentID

    public any getCommentBeanByCommentID(string commentid)

    Parameters:
    commentid

    getComments

    public any getComments([string siteid='default'], [string commentid], [string contentid], [string parentid], [string remoteid], [string ip], [string email], [string name], [boolean isapproved], [boolean isspam], [boolean isdeleted], [string sortby='entered'], [string sortdirection='asc'], [boolean returnCountOnly='false'], [numeric maxItems='1000'])

    Parameters:
    siteid
    commentid
    contentid
    parentid
    remoteid
    ip
    email
    name
    isapproved
    isspam
    isdeleted
    sortby
    sortdirection
    returnCountOnly
    maxItems

    getCommentsIterator

    public any getCommentsIterator()


    getContentManager

    public string getContentManager()


    getDebug

    public string getDebug()


    handleError

    private any handleError(any error)

    Parameters:
    error

    markAsSpam

    public boolean markAsSpam(string commentid)

    Parameters:
    commentid

    purgeDeletedComments

    public boolean purgeDeletedComments([string siteid])

    Parameters:
    siteid

    setConfigBean

    public any setConfigBean(any configBean)

    Parameters:
    configBean

    setContentManager

    public any setContentManager(any contentManager)

    Parameters:
    contentManager

    setDebug

    public any setDebug(any debug)

    Parameters:
    debug

    unapprove

    public boolean unapprove(string commentid)

    Parameters:
    commentid

    undelete

    public boolean undelete(string commentid)

    Parameters:
    commentid

    unmarkAsSpam

    public boolean unmarkAsSpam(string commentid)

    Parameters:
    commentid