Liferay 6.2-ce-ga5

com.liferay.portal.events
Class AddDefaultLayoutPrototypesAction

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

public class AddDefaultLayoutPrototypesAction
extends BaseDefaultLayoutPrototypesAction


Constructor Summary
AddDefaultLayoutPrototypesAction()
           
 
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 com.liferay.portal.events.BaseDefaultLayoutPrototypesAction
addLayout, addPortletId, addResourcePermissions, updateLayout, updatePortletSetup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddDefaultLayoutPrototypesAction

public AddDefaultLayoutPrototypesAction()
Method Detail

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

Liferay 6.2-ce-ga5