com.liferay.portal.events
Class AddDefaultLayoutPrototypesAction
java.lang.Object
com.liferay.portal.kernel.events.SimpleAction
com.liferay.portal.events.BaseDefaultLayoutPrototypesAction
com.liferay.portal.events.AddDefaultLayoutPrototypesAction
public class AddDefaultLayoutPrototypesAction
- extends BaseDefaultLayoutPrototypesAction
Method Summary |
protected void |
addBlogPage(long companyId,
long defaultUserId,
List<LayoutPrototype> layoutPrototypes)
|
protected Layout |
addLayoutPrototype(long companyId,
long defaultUserId,
String name,
String description,
String layouteTemplateId,
List<LayoutPrototype> layoutPrototypes)
|
protected void |
addWebContentPage(long companyId,
long defaultUserId,
List<LayoutPrototype> layoutPrototypes)
|
protected void |
addWikiPage(long companyId,
long defaultUserId,
List<LayoutPrototype> layoutPrototypes)
|
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 |
AddDefaultLayoutPrototypesAction
public AddDefaultLayoutPrototypesAction()
run
public void run(String[] ids)
throws ActionException
- Specified by:
run
in class SimpleAction
- Throws:
ActionException
addBlogPage
protected void addBlogPage(long companyId,
long defaultUserId,
List<LayoutPrototype> layoutPrototypes)
throws Exception
- Throws:
Exception
addLayoutPrototype
protected Layout addLayoutPrototype(long companyId,
long defaultUserId,
String name,
String description,
String layouteTemplateId,
List<LayoutPrototype> layoutPrototypes)
throws Exception
- Throws:
Exception
addWebContentPage
protected void addWebContentPage(long companyId,
long defaultUserId,
List<LayoutPrototype> layoutPrototypes)
throws Exception
- Throws:
Exception
addWikiPage
protected void addWikiPage(long companyId,
long defaultUserId,
List<LayoutPrototype> layoutPrototypes)
throws Exception
- Throws:
Exception
doRun
protected void doRun(long companyId)
throws Exception
- Throws:
Exception