contentbox.modules.contentbox-admin.handlers

Class versions

lucee.Component
    extended by contentbox.modules.contentbox-admin.handlers.baseHandler
      extended by contentbox.modules.contentbox-admin.handlers.versions

Manage content versions

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


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


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


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


    • access = public
    • returntype = any
    • inject = id:contentVersionService@cb
    true false
    Method Summary
    any diff([any event], [any rc], [any prc])
         Diff different versions.
    any index([any event], [any rc], [any prc])
         Versions History Index.
    any pager([any event], [any rc], [any prc], any contentID, [numeric max='10'], [boolean viewFullHistory='true'])
         Pager Viewlet for version records.
    any quickLook([any event], [any rc], [any prc])
         Version quick look.
    any remove([any event], [any rc], [any prc])
         Remove permanently a version.
    any rollback([any event], [any rc], [any prc])
         Rollback a version.
     
    Methods inherited from class contentbox.modules.contentbox-admin.handlers.baseHandler
    None
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    authorService

    property any authorService

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

    CBHelper

    property any CBHelper

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

    contentService

    property any contentService

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

    contentVersionService

    property any contentVersionService

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

    Method Detail

    diff

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

    Diff different versions

    Parameters:
    event
    rc
    prc

    index

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

    Versions History Index

    Parameters:
    event
    rc
    prc

    pager

    public any pager([any event], [any rc], [any prc], any contentID, [numeric max='10'], [boolean viewFullHistory='true'])

    Pager Viewlet for version records

    Parameters:
    event
    rc
    prc
    contentID - The contentID to iterate records on
    max - The maximum records to show
    viewFullHistory - View full history or partial paginated results

    quickLook

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

    Version quick look

    Parameters:
    event
    rc
    prc

    remove

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

    Remove permanently a version

    Parameters:
    event
    rc
    prc

    rollback

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

    Rollback a version

    Parameters:
    event
    rc
    prc