ContentBox Core API 1.6.0

contentbox.model.importers
Class MangoImporter

WEB-INF.cftags.component
        extended by contentbox.model.importers.MangoImporter
All Implemented Interfaces:
ICBImporter

public class MangoImporter
extends WEB-INF.cftags.component

******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | 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 & Description Default Serializable Required
 any authorService


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


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


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


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


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


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


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


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


Attributes:
  • 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 WEB-INF.cftags.component
None
 

Constructor Detail

init

public init()
Constructor

Property Detail

authorService

any authorService

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

categoryService

any categoryService

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

commentService

any commentService

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

customFieldService

any customFieldService

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

entryService

any entryService

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

htmlHelper

any htmlHelper

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

log

any log

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

pageService

any pageService

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

roleService

any roleService

Attributes:
inject - id:roleService@cb
required - false
serializable - true
default -

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

ContentBox Core API 1.6.0