contentbox.modules.contentbox-ui.handlers

Class content

lucee.Component
    extended by contentbox.modules.contentbox-ui.handlers.content
Direct Known Subclasses:
blog , page , rss

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Manage Content display

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


    • access = public
    • returntype = any
    • inject = antisamy@cbantisamy
    true false
    any authorService


    • access = public
    • returntype = any
    • inject = id:authorService@cb
    true false
    any captchaService


    • access = public
    • returntype = any
    • inject = id:captcha@cb
    true false
    any categoryService


    • access = public
    • returntype = any
    • inject = id:categoryService@cb
    true false
    any CBHelper


    • access = public
    • returntype = any
    • inject = id:CBHelper@cb
    true false
    any commentService


    • access = public
    • returntype = any
    • inject = id:commentService@cb
    true false
    any contentService


    • access = public
    • returntype = any
    • inject = id:contentService@cb
    true false
    any dataMarshaller


    • access = public
    • returntype = any
    • inject = DataMarshaller@coldbox
    true false
    any messagebox


    • access = public
    • returntype = any
    • inject = id:messagebox@cbMessageBox
    true false
    any rssService


    • access = public
    • returntype = any
    • inject = id:rssService@cb
    true false
    any themeService


    • access = public
    • returntype = any
    • inject = id:themeService@cb
    true false
    Method Summary
    any maintenance([any event], [any rc], [any prc])
         Go Into maintenance mode.
    any onError([any event], [any rc], [any prc], [any faultAction], [any exception], [any eventArguments])
    any preHandler([any event], [any rc], [any prc], [any action], [any eventArguments])
         Pre Handler.
    private any preview([any event], [any rc], [any prc])
         Preview content page super event.
    any previewSite([any event], [any rc], [any prc])
         Preview the site.
    private any saveComment(any thisContent, any subscribe='false', any prc)
         Save the comment for a content object.
    private any validateCommentPost(any event, any rc, any prc, any thisContent)
         Validate incoming comment post, if not valid, it redirects back.
    private any wrapContentAdvice(any event, any rc, any prc, any eventArguments, any action, boolean contentCaching)
         Content display around advice that provides caching for content display and multi-format capabilities.
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    antiSamy

    property any antiSamy

    Attributes:
    access - public
    required - false
    returntype - any
    inject - antisamy@cbantisamy
    serializable - true

    authorService

    property any authorService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:authorService@cb
    serializable - true

    captchaService

    property any captchaService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:captcha@cb
    serializable - true

    categoryService

    property any categoryService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:categoryService@cb
    serializable - true

    CBHelper

    property any CBHelper

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:CBHelper@cb
    serializable - true

    commentService

    property any commentService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:commentService@cb
    serializable - true

    contentService

    property any contentService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:contentService@cb
    serializable - true

    dataMarshaller

    property any dataMarshaller

    Attributes:
    access - public
    required - false
    returntype - any
    inject - DataMarshaller@coldbox
    serializable - true

    messagebox

    property any messagebox

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:messagebox@cbMessageBox
    serializable - true

    rssService

    property any rssService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:rssService@cb
    serializable - true

    themeService

    property any themeService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:themeService@cb
    serializable - true

    Method Detail

    maintenance

    public any maintenance([any event], [any rc], [any prc])

    Go Into maintenance mode.

    Parameters:
    event
    rc
    prc

    onError

    public any onError([any event], [any rc], [any prc], [any faultAction], [any exception], [any eventArguments])

    Parameters:
    event
    rc
    prc
    faultAction
    exception
    eventArguments

    preHandler

    public any preHandler([any event], [any rc], [any prc], [any action], [any eventArguments])

    Pre Handler

    Parameters:
    event
    rc
    prc
    action
    eventArguments

    preview

    private any preview([any event], [any rc], [any prc])

    Preview content page super event. Only called internally

    Parameters:
    event
    rc
    prc

    previewSite

    public any previewSite([any event], [any rc], [any prc])

    Preview the site

    Parameters:
    event
    rc
    prc

    saveComment

    private any saveComment(any thisContent, any subscribe='false', any prc)

    Save the comment for a content object

    Parameters:
    thisContent - The content object
    subscribe - Subscribing to comments or not
    prc - The prc reference

    validateCommentPost

    private any validateCommentPost(any event, any rc, any prc, any thisContent)

    Validate incoming comment post, if not valid, it redirects back

    Parameters:
    event
    rc
    prc
    thisContent - The content object to validate the comment post for
    Returns:
    content handler

    wrapContentAdvice

    private any wrapContentAdvice(any event, any rc, any prc, any eventArguments, any action, boolean contentCaching)

    Content display around advice that provides caching for content display and multi-format capabilities

    Parameters:
    event - Request context
    rc - Request collection
    prc - Private request collection
    eventArguments - Event arguments
    action - The action to wrap
    contentCaching - Wether content caching is enabled or not