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