com.liferay.portlet.blogs.lar
Class WordPressImporter
java.lang.Object
com.liferay.portlet.blogs.lar.WordPressImporter
public class WordPressImporter
- extends java.lang.Object
View Source
- Author:
- Raymond Augé
Method Summary |
protected static java.lang.String |
getWordPressPath(com.liferay.portal.lar.PortletDataContext context,
java.lang.String fileName)
|
protected static java.util.Map<java.lang.String,java.lang.Long> |
getWordPressUserMap(com.liferay.portal.lar.PortletDataContext context)
|
protected static void |
importComment(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.model.User defaultUser,
com.liferay.portlet.messageboards.model.MBMessageDisplay messageDisplay,
java.util.Map<java.lang.Long,java.lang.Long> messageIdMap,
com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portal.kernel.xml.Element commentEl)
|
static void |
importData(com.liferay.portal.lar.PortletDataContext context)
|
protected static void |
importEntry(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.model.User defaultUser,
java.util.Map<java.lang.String,java.lang.Long> userMap,
java.text.DateFormat dateFormat,
com.liferay.portal.kernel.xml.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(com.liferay.portal.lar.PortletDataContext context)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWordPressPath
protected static java.lang.String getWordPressPath(com.liferay.portal.lar.PortletDataContext context,
java.lang.String fileName)
getWordPressUserMap
protected static java.util.Map<java.lang.String,java.lang.Long> getWordPressUserMap(com.liferay.portal.lar.PortletDataContext context)
importComment
protected static void importComment(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.model.User defaultUser,
com.liferay.portlet.messageboards.model.MBMessageDisplay messageDisplay,
java.util.Map<java.lang.Long,java.lang.Long> messageIdMap,
com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portal.kernel.xml.Element commentEl)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importEntry
protected static void importEntry(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.model.User defaultUser,
java.util.Map<java.lang.String,java.lang.Long> userMap,
java.text.DateFormat dateFormat,
com.liferay.portal.kernel.xml.Element entryEl)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException