Liferay 6.0.5

com.liferay.portlet.blogs.lar
Class WordPressImporter

java.lang.Object
  extended by com.liferay.portlet.blogs.lar.WordPressImporter

public class WordPressImporter
extends Object


Constructor Summary
WordPressImporter()
           
 
Method Summary
protected static String getWordPressPath(PortletDataContext context, String fileName)
           
protected static Map<String,Long> getWordPressUserMap(PortletDataContext context)
           
protected static void importComment(PortletDataContext context, User defaultUser, MBMessageDisplay messageDisplay, Map<Long,Long> messageIdMap, BlogsEntry entry, Element commentEl)
           
static void importData(PortletDataContext context)
           
protected static void importEntry(PortletDataContext context, User defaultUser, Map<String,Long> userMap, DateFormat dateFormat, Element entryEl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordPressImporter

public WordPressImporter()
Method Detail

importData

public static void importData(PortletDataContext context)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getWordPressPath

protected static String getWordPressPath(PortletDataContext context,
                                         String fileName)

getWordPressUserMap

protected static Map<String,Long> getWordPressUserMap(PortletDataContext context)

importComment

protected static void importComment(PortletDataContext context,
                                    User defaultUser,
                                    MBMessageDisplay messageDisplay,
                                    Map<Long,Long> messageIdMap,
                                    BlogsEntry entry,
                                    Element commentEl)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

importEntry

protected static void importEntry(PortletDataContext context,
                                  User defaultUser,
                                  Map<String,Long> userMap,
                                  DateFormat dateFormat,
                                  Element entryEl)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5