| java.lang.Object com.liferay.portlet.journal.lar.JournalPortletDataHandlerImpl
JournalPortletDataHandlerImpl | public class JournalPortletDataHandlerImpl implements PortletDataHandler(Code) | | View Source
Provides the Journal portlet export and import functionality, which is to
clone all articles, structures, and templates associated with the layout's
group. Upon import, new instances of the corresponding articles, structures,
and templates are created or updated according to the DATA_MIRROW strategy
The author of the newly created objects are determined by the
JournalCreationStrategy class defined in portal.properties. That
strategy also allows the text of the journal article to be modified prior
to import.
This PortletDataHandler differs from
JournalContentPortletDataHandlerImpl in that it exports all
articles owned by the group whether or not they are actually displayed in a
portlet in the layout set.
author: Raymond Augé author: Joel Kozikowski author: Brian Wing Shun Chan author: Bruno Farache See Also: com.liferay.portal.kernel.lar.PortletDataHandler See Also: com.liferay.portlet.journal.lar.JournalContentPortletDataHandlerImpl See Also: com.liferay.portlet.journal.lar.JournalCreationStrategy |
Method Summary | |
public PortletPreferences | deleteData(PortletDataContext context, String portletId, PortletPreferences prefs) | protected static void | exportArticle(PortletDataContext context, JournalArticle article) | public String | exportData(PortletDataContext context, String portletId, PortletPreferences prefs) | protected static void | exportStructure(JournalStructure structure) | protected static void | exportTemplate(PortletDataContext context, JournalTemplate template) | protected static String | getArticleImageDir(JournalArticle article) | public PortletDataHandlerControl[] | getExportControls() | public PortletDataHandlerControl[] | getImportControls() | protected static String | getSmallImageDir(JournalArticle article) | protected static String | getSmallImageDir(JournalTemplate template) | protected static JournalArticle | importArticle(PortletDataContext context, Map structurePKs, Map templatePKs, JournalArticle article) | public PortletPreferences | importData(PortletDataContext context, String portletId, PortletPreferences prefs, String data) | protected static void | importStructure(PortletDataContext context, Map structurePKs, JournalStructure structure) | protected static void | importTemplate(PortletDataContext context, Map structurePKs, Map templatePKs, JournalTemplate template) |
|
|