Liferay 6.2-ce-ga5

com.liferay.portal.events
Class AddDefaultDDMTemplatesAction

java.lang.Object
  extended by com.liferay.portal.kernel.events.SimpleAction
      extended by com.liferay.portal.events.AddDefaultDDMTemplatesAction

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 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,
                              SystemException
Throws:
PortalException
SystemException

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 6.2-ce-ga5