com.liferay.portlet.exportimport.lifecycle
Class BaseExportImportLifecycleListener
java.lang.Object
com.liferay.portlet.exportimport.lifecycle.BaseExportImportLifecycleListener
- All Implemented Interfaces:
- ExportImportLifecycleListener
public abstract class BaseExportImportLifecycleListener
- extends Object
- implements ExportImportLifecycleListener
|
Method Summary |
protected
|
getAttributeByType(List<Serializable> attributes,
Class<T> clazz)
|
protected ExportImportConfiguration |
getExportImportConfigurationAttribute(List<Serializable> attributes)
|
protected PortletDataContext |
getPortletDataContextAttribute(List<Serializable> attributes)
|
protected StagedModel |
getStagedModelAttribute(List<Serializable> attributes)
|
protected Throwable |
getThrowableAttribute(List<Serializable> attributes)
|
abstract boolean |
isParallel()
|
void |
onExportImportLifecycleEvent(ExportImportLifecycleEvent exportImportLifecycleEvent)
|
protected void |
onLayoutExportFailed(PortletDataContext portletDataContext,
Throwable throwable)
|
protected void |
onLayoutExportStarted(PortletDataContext portletDataContext)
|
protected void |
onLayoutExportSucceeded(PortletDataContext portletDataContext)
|
protected void |
onLayoutImportFailed(PortletDataContext portletDataContext,
Throwable throwable)
|
protected void |
onLayoutImportProcessFinished(PortletDataContext portletDataContext)
|
protected void |
onLayoutImportStarted(PortletDataContext portletDataContext)
|
protected void |
onLayoutImportSucceeded(PortletDataContext portletDataContext)
|
protected void |
onLayoutLocalPublicationFailed(ExportImportConfiguration exportImportConfiguration,
Throwable throwable)
|
protected void |
onLayoutLocalPublicationStarted(ExportImportConfiguration exportImportConfiguration)
|
protected void |
onLayoutLocalPublicationSucceeded(ExportImportConfiguration exportImportConfiguration)
|
protected void |
onLayoutRemotePublicationFailed(ExportImportConfiguration exportImportConfiguration,
Throwable throwable)
|
protected void |
onLayoutRemotePublicationStarted(ExportImportConfiguration exportImportConfiguration)
|
protected void |
onLayoutRemotePublicationSucceeded(ExportImportConfiguration exportImportConfiguration)
|
protected void |
onPortletExportFailed(PortletDataContext portletDataContext,
Throwable throwable)
|
protected void |
onPortletExportStarted(PortletDataContext portletDataContext)
|
protected void |
onPortletExportSucceeded(PortletDataContext portletDataContext)
|
protected void |
onPortletImportFailed(PortletDataContext portletDataContext,
Throwable throwable)
|
protected void |
onPortletImportProcessFinished(PortletDataContext portletDataContext)
|
protected void |
onPortletImportStarted(PortletDataContext portletDataContext)
|
protected void |
onPortletImportSucceeded(PortletDataContext portletDataContext)
|
protected void |
onPortletPublicationFailed(ExportImportConfiguration exportImportConfiguration,
Throwable throwable)
|
protected void |
onPortletPublicationStarted(ExportImportConfiguration exportImportConfiguration)
|
protected void |
onPortletPublicationSucceeded(ExportImportConfiguration exportImportConfiguration)
|
protected void |
onStagedModelExportFailed(PortletDataContext portletDataContext,
StagedModel stagedModel,
Throwable throwable)
|
protected void |
onStagedModelExportStarted(PortletDataContext portletDataContext,
StagedModel stagedModel)
|
protected void |
onStagedModelExportSucceeded(PortletDataContext portletDataContext,
StagedModel stagedModel)
|
protected void |
onStagedModelImportFailed(PortletDataContext portletDataContext,
StagedModel stagedModel,
Throwable throwable)
|
protected void |
onStagedModelImportStarted(PortletDataContext portletDataContext,
StagedModel stagedModel)
|
protected void |
onStagedModelImportSucceeded(PortletDataContext portletDataContext,
StagedModel stagedModel)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseExportImportLifecycleListener
public BaseExportImportLifecycleListener()
isParallel
public abstract boolean isParallel()
- Specified by:
isParallel in interface ExportImportLifecycleListener
onExportImportLifecycleEvent
public void onExportImportLifecycleEvent(ExportImportLifecycleEvent exportImportLifecycleEvent)
throws Exception
- Specified by:
onExportImportLifecycleEvent in interface ExportImportLifecycleListener
- Throws:
Exception
getAttributeByType
protected <T> T getAttributeByType(List<Serializable> attributes,
Class<T> clazz)
getExportImportConfigurationAttribute
protected ExportImportConfiguration getExportImportConfigurationAttribute(List<Serializable> attributes)
getPortletDataContextAttribute
protected PortletDataContext getPortletDataContextAttribute(List<Serializable> attributes)
getStagedModelAttribute
protected StagedModel getStagedModelAttribute(List<Serializable> attributes)
getThrowableAttribute
protected Throwable getThrowableAttribute(List<Serializable> attributes)
onLayoutExportFailed
protected void onLayoutExportFailed(PortletDataContext portletDataContext,
Throwable throwable)
throws Exception
- Throws:
Exception
onLayoutExportStarted
protected void onLayoutExportStarted(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
onLayoutExportSucceeded
protected void onLayoutExportSucceeded(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
onLayoutImportFailed
protected void onLayoutImportFailed(PortletDataContext portletDataContext,
Throwable throwable)
throws Exception
- Throws:
Exception
onLayoutImportProcessFinished
protected void onLayoutImportProcessFinished(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
onLayoutImportStarted
protected void onLayoutImportStarted(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
onLayoutImportSucceeded
protected void onLayoutImportSucceeded(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
onLayoutLocalPublicationFailed
protected void onLayoutLocalPublicationFailed(ExportImportConfiguration exportImportConfiguration,
Throwable throwable)
throws Exception
- Throws:
Exception
onLayoutLocalPublicationStarted
protected void onLayoutLocalPublicationStarted(ExportImportConfiguration exportImportConfiguration)
throws Exception
- Throws:
Exception
onLayoutLocalPublicationSucceeded
protected void onLayoutLocalPublicationSucceeded(ExportImportConfiguration exportImportConfiguration)
throws Exception
- Throws:
Exception
onLayoutRemotePublicationFailed
protected void onLayoutRemotePublicationFailed(ExportImportConfiguration exportImportConfiguration,
Throwable throwable)
throws Exception
- Throws:
Exception
onLayoutRemotePublicationStarted
protected void onLayoutRemotePublicationStarted(ExportImportConfiguration exportImportConfiguration)
throws Exception
- Throws:
Exception
onLayoutRemotePublicationSucceeded
protected void onLayoutRemotePublicationSucceeded(ExportImportConfiguration exportImportConfiguration)
throws Exception
- Throws:
Exception
onPortletExportFailed
protected void onPortletExportFailed(PortletDataContext portletDataContext,
Throwable throwable)
throws Exception
- Throws:
Exception
onPortletExportStarted
protected void onPortletExportStarted(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
onPortletExportSucceeded
protected void onPortletExportSucceeded(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
onPortletImportFailed
protected void onPortletImportFailed(PortletDataContext portletDataContext,
Throwable throwable)
throws Exception
- Throws:
Exception
onPortletImportProcessFinished
protected void onPortletImportProcessFinished(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
onPortletImportStarted
protected void onPortletImportStarted(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
onPortletImportSucceeded
protected void onPortletImportSucceeded(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
onPortletPublicationFailed
protected void onPortletPublicationFailed(ExportImportConfiguration exportImportConfiguration,
Throwable throwable)
throws Exception
- Throws:
Exception
onPortletPublicationStarted
protected void onPortletPublicationStarted(ExportImportConfiguration exportImportConfiguration)
throws Exception
- Throws:
Exception
onPortletPublicationSucceeded
protected void onPortletPublicationSucceeded(ExportImportConfiguration exportImportConfiguration)
throws Exception
- Throws:
Exception
onStagedModelExportFailed
protected void onStagedModelExportFailed(PortletDataContext portletDataContext,
StagedModel stagedModel,
Throwable throwable)
throws Exception
- Throws:
Exception
onStagedModelExportStarted
protected void onStagedModelExportStarted(PortletDataContext portletDataContext,
StagedModel stagedModel)
throws Exception
- Throws:
Exception
onStagedModelExportSucceeded
protected void onStagedModelExportSucceeded(PortletDataContext portletDataContext,
StagedModel stagedModel)
throws Exception
- Throws:
Exception
onStagedModelImportFailed
protected void onStagedModelImportFailed(PortletDataContext portletDataContext,
StagedModel stagedModel,
Throwable throwable)
throws Exception
- Throws:
Exception
onStagedModelImportStarted
protected void onStagedModelImportStarted(PortletDataContext portletDataContext,
StagedModel stagedModel)
throws Exception
- Throws:
Exception
onStagedModelImportSucceeded
protected void onStagedModelImportSucceeded(PortletDataContext portletDataContext,
StagedModel stagedModel)
throws Exception
- Throws:
Exception