Liferay 7.0-ce-m2

com.liferay.portal.events
Class AddDefaultDDMTemplatesAction

java.lang.Object
  extended by com.liferay.portal.kernel.events.SimpleAction
      extended by com.liferay.portal.events.AddDefaultDDMTemplatesAction
All Implemented Interfaces:
LifecycleAction

public class AddDefaultDDMTemplatesAction
extends SimpleAction


Constructor Summary
AddDefaultDDMTemplatesAction()
           
 
Method Summary
protected  void addDDMTemplate(long userId, long groupId, long classNameId, String templateKey, String name, String description, String language, String scriptFileName, boolean cacheable, ServiceContext serviceContext)
           
protected  void addDDMTemplates(long userId, long groupId, ServiceContext serviceContext)
           
protected  void doRun(long companyId)
           
 void run(String[] ids)
           
 
Methods inherited from class com.liferay.portal.kernel.events.SimpleAction
processLifecycleEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddDefaultDDMTemplatesAction

public AddDefaultDDMTemplatesAction()
Method Detail

run

public void run(String[] ids)
         throws ActionException
Specified by:
run in class SimpleAction
Throws:
ActionException

addDDMTemplate

protected void addDDMTemplate(long userId,
                              long groupId,
                              long classNameId,
                              String templateKey,
                              String name,
                              String description,
                              String language,
                              String scriptFileName,
                              boolean cacheable,
                              ServiceContext serviceContext)
                       throws PortalException
Throws:
PortalException

addDDMTemplates

protected void addDDMTemplates(long userId,
                               long groupId,
                               ServiceContext serviceContext)
                        throws Exception
Throws:
Exception

doRun

protected void doRun(long companyId)
              throws Exception
Throws:
Exception

Liferay 7.0-ce-m2