mura.content

Class contentCommentManager

WEB-INF.cftags.component
    extended by mura.cfobject
      extended by mura.content.contentCommentManager

This provides content comment service level logic functionality

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


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


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


    • returntype = any
    • access = public
    true false
    Constructor Summary
    init(any contentManager, any configBean)
    Method Summary
    any GETCONFIGBEAN()
    any GETCONTENTMANAGER()
    any GETDEBUG()
    contentCommentManager SETCONFIGBEAN(any configBean)
    contentCommentManager SETCONTENTMANAGER(any contentManager)
    contentCommentManager SETDEBUG(any debug)
    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()
    private any handleError(any error)
    boolean markAsSpam(string commentid)
    boolean purgeDeletedComments([string siteid])
    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, getCurrentUser, getEntity, 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 WEB-INF.cftags.component
    None

    Constructor Detail

    init

    public init(any contentManager, any configBean)

    Parameters:
    contentManager
    configBean

    Property Detail

    configBean

    property any configBean

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

    contentManager

    property any contentManager

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

    debug

    property any debug

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

    Method Detail

    GETCONFIGBEAN

    public any GETCONFIGBEAN()


    GETCONTENTMANAGER

    public any GETCONTENTMANAGER()


    GETDEBUG

    public any GETDEBUG()


    SETCONFIGBEAN

    public contentCommentManager SETCONFIGBEAN(any configBean)

    Parameters:
    configBean

    SETCONTENTMANAGER

    public contentCommentManager SETCONTENTMANAGER(any contentManager)

    Parameters:
    contentManager

    SETDEBUG

    public contentCommentManager SETDEBUG(any debug)

    Parameters:
    debug

    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()


    handleError

    private any handleError(any error)

    Parameters:
    error

    markAsSpam

    public boolean markAsSpam(string commentid)

    Parameters:
    commentid

    purgeDeletedComments

    public boolean purgeDeletedComments([string siteid])

    Parameters:
    siteid

    unapprove

    public boolean unapprove(string commentid)

    Parameters:
    commentid

    undelete

    public boolean undelete(string commentid)

    Parameters:
    commentid

    unmarkAsSpam

    public boolean unmarkAsSpam(string commentid)

    Parameters:
    commentid