com.liferay.portlet.blogs.lar
Class WordPressImporter
java.lang.Object
com.liferay.portlet.blogs.lar.WordPressImporter
public class WordPressImporter
- extends Object
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 |
WordPressImporter
public WordPressImporter()
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