contentbox.models.importers

Class MangoImporter

lucee.Component
    extended by contentbox.models.importers.MangoImporter
All Implemented Interfaces:
ICBImporter

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Import a mango database into contentbox

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


    • access = public
    • returntype = any
    • inject = id:authorService@contentbox
    true false
    any bCrypt


    • access = public
    • returntype = any
    • inject = BCrypt@BCrypt
    true false
    any categoryService


    • access = public
    • returntype = any
    • inject = id:categoryService@contentbox
    true false
    any commentService


    • access = public
    • returntype = any
    • inject = id:commentService@contentbox
    true false
    any customFieldService


    • access = public
    • returntype = any
    • inject = id:customFieldService@contentbox
    true false
    any entryService


    • access = public
    • returntype = any
    • inject = id:entryService@contentbox
    true false
    any htmlHelper


    • access = public
    • returntype = any
    • inject = HTMLHelper@coldbox
    true false
    any log


    • access = public
    • returntype = any
    • inject = logbox:logger:{this}
    true false
    any pageService


    • access = public
    • returntype = any
    • inject = id:pageService@contentbox
    true false
    any roleService


    • access = public
    • returntype = any
    • inject = id:roleService@contentbox
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    any execute(any dsn, [any dsnUsername=''], [any dsnPassword=''], [any defaultPassword=''], any roleID, [any tableprefix=''])
         Import from mango blog, returns the string console.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    authorService

    property any authorService

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

    bCrypt

    property any bCrypt

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

    categoryService

    property any categoryService

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

    commentService

    property any commentService

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

    customFieldService

    property any customFieldService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:customFieldService@contentbox
    serializable - true

    entryService

    property any entryService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:entryService@contentbox
    serializable - true

    htmlHelper

    property any htmlHelper

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

    log

    property any log

    Attributes:
    access - public
    required - false
    returntype - any
    inject - logbox:logger:{this}
    serializable - true

    pageService

    property any pageService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:pageService@contentbox
    serializable - true

    roleService

    property any roleService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:roleService@contentbox
    serializable - true

    Method Detail

    execute

    public any execute(any dsn, [any dsnUsername=''], [any dsnPassword=''], [any defaultPassword=''], any roleID, [any tableprefix=''])

    Import from mango blog, returns the string console.

    Specified by:
    execute in interface ICBImporter
    Parameters:
    dsn
    dsnUsername
    dsnPassword
    defaultPassword
    roleID
    tableprefix