com.liferay.portal.events
Class AddDefaultDDMTemplatesAction
java.lang.Object
com.liferay.portal.kernel.events.SimpleAction
com.liferay.portal.events.AddDefaultDDMTemplatesAction
public class AddDefaultDDMTemplatesAction
- extends SimpleAction
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 |
AddDefaultDDMTemplatesAction
public AddDefaultDDMTemplatesAction()
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