public class PortletExportController
extends java.lang.Object
implements com.liferay.exportimport.kernel.controller.ExportController
Constructor and Description |
---|
PortletExportController() |
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
doExport(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
java.io.File |
export(com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) |
protected void |
exportAssetLinks(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
protected void |
exportExpandoTables(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
protected void |
exportLocks(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
protected void |
exportPortlet(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.xml.Element parentElement,
boolean exportPermissions,
boolean exportPortletArchivedSetups,
boolean exportPortletData,
boolean exportPortletSetup,
boolean exportPortletUserPreferences) |
void |
exportPortletData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.model.Layout layout,
javax.portlet.PortletPreferences jxPortletPreferences,
com.liferay.portal.kernel.xml.Element parentElement) |
protected void |
exportPortletPreference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
long ownerId,
int ownerType,
boolean defaultUser,
com.liferay.portal.kernel.model.PortletPreferences portletPreferences,
java.lang.String portletId,
long plid,
com.liferay.portal.kernel.xml.Element parentElement) |
protected void |
exportPortletPreferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
long ownerId,
int ownerType,
boolean defaultUser,
com.liferay.portal.kernel.model.Layout layout,
long plid,
java.lang.String portletId,
com.liferay.portal.kernel.xml.Element parentElement) |
protected void |
exportService(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element rootElement,
boolean exportServiceSetup) |
protected void |
exportServicePortletPreference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
long ownerId,
int ownerType,
com.liferay.portal.kernel.model.PortletPreferences portletPreferences,
java.lang.String serviceName,
com.liferay.portal.kernel.xml.Element parentElement) |
protected void |
exportServicePortletPreferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
long ownerId,
int ownerType,
java.lang.String serviceName,
com.liferay.portal.kernel.xml.Element parentElement) |
protected java.lang.String |
getLockPath(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String className,
java.lang.String key,
com.liferay.portal.kernel.lock.Lock lock) |
protected com.liferay.exportimport.kernel.lar.PortletDataContext |
getPortletDataContext(com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) |
protected com.liferay.portal.kernel.model.PortletPreferences |
getPortletPreferences(long ownerId,
int ownerType,
long plid,
java.lang.String portletId) |
protected int |
getProcessFlag() |
protected void |
setAssetEntryLocalService(com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService) |
protected void |
setAssetLinkLocalService(com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService) |
protected void |
setExportImportLifecycleManager(com.liferay.exportimport.kernel.lifecycle.ExportImportLifecycleManager exportImportLifecycleManager) |
protected void |
setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService) |
protected void |
setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService) |
protected void |
setPortletItemLocalService(com.liferay.portal.kernel.service.PortletItemLocalService portletItemLocalService) |
protected void |
setPortletLocalService(com.liferay.portal.kernel.service.PortletLocalService portletLocalService) |
protected void |
setPortletPreferencesLocalService(com.liferay.portal.kernel.service.PortletPreferencesLocalService portletPreferencesLocalService) |
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
public void exportPortletData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.model.Layout layout, javax.portlet.PortletPreferences jxPortletPreferences, com.liferay.portal.kernel.xml.Element parentElement) throws java.lang.Exception
java.lang.Exception
protected java.io.File doExport(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) throws java.lang.Exception
java.lang.Exception
protected void exportAssetLinks(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) throws java.lang.Exception
java.lang.Exception
protected void exportExpandoTables(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) throws java.lang.Exception
java.lang.Exception
protected void exportLocks(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) throws java.lang.Exception
java.lang.Exception
protected void exportPortlet(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.xml.Element parentElement, boolean exportPermissions, boolean exportPortletArchivedSetups, boolean exportPortletData, boolean exportPortletSetup, boolean exportPortletUserPreferences) throws java.lang.Exception
java.lang.Exception
protected void exportPortletPreference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, long ownerId, int ownerType, boolean defaultUser, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, java.lang.String portletId, long plid, com.liferay.portal.kernel.xml.Element parentElement) throws java.lang.Exception
java.lang.Exception
protected void exportPortletPreferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, long ownerId, int ownerType, boolean defaultUser, com.liferay.portal.kernel.model.Layout layout, long plid, java.lang.String portletId, com.liferay.portal.kernel.xml.Element parentElement) throws java.lang.Exception
java.lang.Exception
protected void exportService(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.xml.Element rootElement, boolean exportServiceSetup) throws java.lang.Exception
java.lang.Exception
protected void exportServicePortletPreference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, long ownerId, int ownerType, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, java.lang.String serviceName, com.liferay.portal.kernel.xml.Element parentElement) throws java.lang.Exception
java.lang.Exception
protected void exportServicePortletPreferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, long ownerId, int ownerType, java.lang.String serviceName, com.liferay.portal.kernel.xml.Element parentElement) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getLockPath(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, java.lang.String className, java.lang.String key, com.liferay.portal.kernel.lock.Lock lock)
protected com.liferay.exportimport.kernel.lar.PortletDataContext getPortletDataContext(com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.portal.kernel.model.PortletPreferences getPortletPreferences(long ownerId, int ownerType, long plid, java.lang.String portletId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected int getProcessFlag()
protected void setAssetEntryLocalService(com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService)
protected void setAssetLinkLocalService(com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService)
protected void setExportImportLifecycleManager(com.liferay.exportimport.kernel.lifecycle.ExportImportLifecycleManager exportImportLifecycleManager)
protected void setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
protected void setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService)
protected void setPortletItemLocalService(com.liferay.portal.kernel.service.PortletItemLocalService portletItemLocalService)
protected void setPortletLocalService(com.liferay.portal.kernel.service.PortletLocalService portletLocalService)
protected void setPortletPreferencesLocalService(com.liferay.portal.kernel.service.PortletPreferencesLocalService portletPreferencesLocalService)
protected void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)