| org.apache.lenya.cms.export.Importer
Importer | public class Importer extends AbstractLogEnabled (Code) | | Import content.
|
Constructor Summary | |
public | Importer(ServiceManager manager, Logger logger) Ctor. |
Method Summary | |
protected void | convertLinks(Publication srcPub, Area area) | protected void | importChildren(Area area, NamespaceHelper helper, Element element, String baseUri, String path) | public void | importContent(Area area, String path) Imports content into an area. | public void | importContent(Publication srcPub, Area area, String path) Imports content from a different publication into an area. | protected void | importDocument(Area area, Element element, String baseUri, String path, boolean visibleInNav) | protected void | importElement(Area area, NamespaceHelper helper, Element element, String baseUri, String parentPath) |
Importer | public Importer(ServiceManager manager, Logger logger)(Code) | | Ctor.
Parameters: manager - The service manager. Parameters: logger - The logger. |
importContent | public void importContent(Area area, String path) throws Exception(Code) | | Imports content into an area.
Parameters: area - The area. Parameters: path - The path containing the content. throws: Exception - if an error occurs. |
importContent | public void importContent(Publication srcPub, Area area, String path) throws Exception(Code) | | Imports content from a different publication into an area.
Parameters: srcPub - The source publication. Parameters: area - The area. Parameters: path - The path containing the content. throws: Exception - if an error occurs. |
|
|