Liferay 6.1.2-ce-ga3

com.liferay.portal.events
Class SampleAppStartupAction

java.lang.Object
  extended by com.liferay.portal.kernel.events.SimpleAction
      extended by 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.


Constructor Summary
SampleAppStartupAction()
           
 
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
 

Constructor Detail

SampleAppStartupAction

public SampleAppStartupAction()
Method Detail

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

Liferay 6.1.2-ce-ga3