ContentBox Core API 1.6.0

contentbox.model.importers
Class BlogCFCImporter

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

public class BlogCFCImporter
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 blogcfc 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 interceptorService


Attributes:
  • inject = coldbox:interceptorService
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
 any settingService


Attributes:
  • inject = id:settingService@cb
true false
 
Constructor Summary
init()
 
Method Summary
private string convertContent(string content)
 any execute(any dsn, [any dsnUsername=''], [any dsnPassword=''], [any defaultPassword=''], any roleID, [any tableprefix=''])
private string findImages(string content)
 
Methods inherited from class WEB-INF.cftags.component
None
 

Constructor Detail

init

public init()

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 -

interceptorService

any interceptorService

Attributes:
inject - coldbox:interceptorService
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 -

settingService

any settingService

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

Method Detail

convertContent

private string convertContent(string content)

Parameters:
content

execute

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

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

findImages

private string findImages(string content)

Parameters:
content

ContentBox Core API 1.6.0