Liferay 6.1.2-ce-ga3

com.liferay.portal.events
Class AddDefaultLayoutPrototypesAction

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

public class AddDefaultLayoutPrototypesAction
extends SimpleAction


Constructor Summary
AddDefaultLayoutPrototypesAction()
           
 
Method Summary
protected  void addBlogPage(long companyId, long defaultUserId, List<LayoutPrototype> layoutPrototypes)
           
protected  Layout addLayout(LayoutSet layoutSet, String name, String friendlyURL, String layouteTemplateId)
           
protected  Layout addLayoutPrototype(long companyId, long defaultUserId, String name, String description, String layouteTemplateId, List<LayoutPrototype> layoutPrototypes)
           
protected  String addPortletId(Layout layout, String portletId, String columnId)
           
protected  void addResourcePermissions(Layout layout, String portletId)
           
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)
           
protected  void updateLayout(Layout layout)
           
 
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

addLayout

protected Layout addLayout(LayoutSet layoutSet,
                           String name,
                           String friendlyURL,
                           String layouteTemplateId)
                    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

addPortletId

protected String addPortletId(Layout layout,
                              String portletId,
                              String columnId)
                       throws Exception
Throws:
Exception

addResourcePermissions

protected void addResourcePermissions(Layout layout,
                                      String portletId)
                               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

updateLayout

protected void updateLayout(Layout layout)
                     throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3