contentbox.model.importers

Class MangoImporter

railo-context.Component
        extended by contentbox.model.importers.MangoImporter
Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    All Implemented Interfaces:
    ICBImporter

    ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Import a mango database into contentbox

    Property Summary
    type property default serializable required
    any authorService


    • inject = id:authorService@cb
    true false
    any categoryService


    • inject = id:categoryService@cb
    true false
    any commentService


    • inject = id:commentService@cb
    true false
    any customFieldService


    • inject = id:customFieldService@cb
    true false
    any entryService


    • inject = id:entryService@cb
    true false
    any htmlHelper


    • inject = coldbox:plugin:HTMLHelper
    true false
    any log


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


    • inject = id:pageService@cb
    true false
    any roleService


    • inject = id:roleService@cb
    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 railo-context.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    authorService

    property any authorService

    Attributes:
    required - false
    inject - id:authorService@cb
    serializable - true

    categoryService

    property any categoryService

    Attributes:
    required - false
    inject - id:categoryService@cb
    serializable - true

    commentService

    property any commentService

    Attributes:
    required - false
    inject - id:commentService@cb
    serializable - true

    customFieldService

    property any customFieldService

    Attributes:
    required - false
    inject - id:customFieldService@cb
    serializable - true

    entryService

    property any entryService

    Attributes:
    required - false
    inject - id:entryService@cb
    serializable - true

    htmlHelper

    property any htmlHelper

    Attributes:
    required - false
    inject - coldbox:plugin:HTMLHelper
    serializable - true

    log

    property any log

    Attributes:
    required - false
    inject - logbox:logger:{this}
    serializable - true

    pageService

    property any pageService

    Attributes:
    required - false
    inject - id:pageService@cb
    serializable - true

    roleService

    property any roleService

    Attributes:
    required - false
    inject - id:roleService@cb
    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