Package com.liferay.portal.events
Class SampleAppStartupAction
Object
com.liferay.portal.kernel.events.SimpleAction
com.liferay.portal.events.SampleAppStartupAction
- All Implemented Interfaces:
com.liferay.portal.kernel.events.LifecycleAction
public class SampleAppStartupAction
extends com.liferay.portal.kernel.events.SimpleAction
This class can be used to populate an empty database programmatically. This allows a developer to create sample data without relying on native SQL.
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.liferay.portal.kernel.events.SimpleAction
processLifecycleEvent
-
Constructor Details
-
SampleAppStartupAction
public SampleAppStartupAction()
-
-
Method Details
-
run
- Specified by:
run
in classcom.liferay.portal.kernel.events.SimpleAction
- Throws:
com.liferay.portal.kernel.events.ActionException
-
doRun
- Throws:
Exception
-