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.
Constructor and Description |
---|
SampleAppStartupAction() |
Modifier and Type | Method and Description |
---|---|
protected void |
doRun(long companyId) |
void |
run(String[] ids) |
public void run(String[] ids) throws com.liferay.portal.kernel.events.ActionException
run
in class com.liferay.portal.kernel.events.SimpleAction
com.liferay.portal.kernel.events.ActionException
protected void doRun(long companyId) throws Exception
Exception