public class LayoutExportController
extends java.lang.Object
implements com.liferay.exportimport.kernel.controller.ExportController
Constructor and Description |
---|
LayoutExportController() |
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
doExport(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
long[] layoutIds) |
java.io.File |
export(com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) |
protected void |
exportLayout(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
long[] layoutIds,
com.liferay.portal.kernel.model.Layout layout) |
protected void |
getLayoutPortlets(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
long[] layoutIds,
java.util.Map<java.lang.String,java.lang.Object[]> portletIds,
com.liferay.portal.kernel.model.Layout layout) |
protected com.liferay.exportimport.kernel.lar.PortletDataContext |
getPortletDataContext(com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) |
protected int |
getProcessFlag() |
protected boolean |
prepareLayoutStagingHandler(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.Layout layout) |
protected void |
setExportImportLifecycleManager(com.liferay.exportimport.kernel.lifecycle.ExportImportLifecycleManager exportImportLifecycleManager) |
protected void |
setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService) |
protected void |
setImageLocalService(com.liferay.portal.kernel.service.ImageLocalService imageLocalService) |
protected void |
setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService) |
protected void |
setLayoutPrototypeLocalService(com.liferay.portal.kernel.service.LayoutPrototypeLocalService layoutPrototypeLocalService) |
protected void |
setLayoutRevisionLocalService(com.liferay.portal.kernel.service.LayoutRevisionLocalService layoutRevisionLocalService) |
protected void |
setLayoutSetBranchLocalService(com.liferay.portal.kernel.service.LayoutSetBranchLocalService layoutSetBranchLocalService) |
protected void |
setLayoutSetLocalService(com.liferay.portal.kernel.service.LayoutSetLocalService layoutSetLocalService) |
protected void |
setLayoutSetPrototypeLocalService(com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService layoutSetPrototypeLocalService) |
protected void |
setPortletExportController(PortletExportController portletExportController) |
protected void |
setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService) |
public java.io.File export(com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) throws java.lang.Exception
export
in interface com.liferay.exportimport.kernel.controller.ExportController
java.lang.Exception
protected java.io.File doExport(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, long[] layoutIds) throws java.lang.Exception
java.lang.Exception
protected void exportLayout(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, long[] layoutIds, com.liferay.portal.kernel.model.Layout layout) throws java.lang.Exception
java.lang.Exception
protected void getLayoutPortlets(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, long[] layoutIds, java.util.Map<java.lang.String,java.lang.Object[]> portletIds, com.liferay.portal.kernel.model.Layout layout) throws java.lang.Exception
java.lang.Exception
protected com.liferay.exportimport.kernel.lar.PortletDataContext getPortletDataContext(com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) throws java.lang.Exception
java.lang.Exception
protected int getProcessFlag()
protected boolean prepareLayoutStagingHandler(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.Layout layout)
protected void setExportImportLifecycleManager(com.liferay.exportimport.kernel.lifecycle.ExportImportLifecycleManager exportImportLifecycleManager)
protected void setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
protected void setImageLocalService(com.liferay.portal.kernel.service.ImageLocalService imageLocalService)
protected void setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService)
protected void setLayoutPrototypeLocalService(com.liferay.portal.kernel.service.LayoutPrototypeLocalService layoutPrototypeLocalService)
protected void setLayoutRevisionLocalService(com.liferay.portal.kernel.service.LayoutRevisionLocalService layoutRevisionLocalService)
protected void setLayoutSetBranchLocalService(com.liferay.portal.kernel.service.LayoutSetBranchLocalService layoutSetBranchLocalService)
protected void setLayoutSetLocalService(com.liferay.portal.kernel.service.LayoutSetLocalService layoutSetLocalService)
protected void setLayoutSetPrototypeLocalService(com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
protected void setPortletExportController(PortletExportController portletExportController)
protected void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)