com.liferay.portal.events
Class SampleAppStartupAction
java.lang.Object
com.liferay.portal.kernel.events.SimpleAction
com.liferay.portal.events.SampleAppStartupAction
public class SampleAppStartupAction
- extends 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.
Method Summary |
protected void |
doRun(long companyId)
|
void |
run(String[] ids)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleAppStartupAction
public SampleAppStartupAction()
run
public void run(String[] ids)
throws ActionException
- Specified by:
run
in class SimpleAction
- Throws:
ActionException
doRun
protected void doRun(long companyId)
throws Exception
- Throws:
Exception