Liferay 6.2-ce-ga5

com.liferay.portal.events
Class AddDefaultLayoutSetPrototypesAction

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

public class AddDefaultLayoutSetPrototypesAction
extends BaseDefaultLayoutPrototypesAction


Constructor Summary
AddDefaultLayoutSetPrototypesAction()
           
 
Method Summary
protected  LayoutSet addLayoutSetPrototype(long companyId, long defaultUserId, String name, String description, List<LayoutSetPrototype> layoutSetPrototypes)
           
protected  void addPrivateSite(long companyId, long defaultUserId, List<LayoutSetPrototype> layoutSetPrototypes)
           
protected  void addPublicSite(long companyId, long defaultUserId, List<LayoutSetPrototype> layoutSetPrototypes)
           
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

AddDefaultLayoutSetPrototypesAction

public AddDefaultLayoutSetPrototypesAction()
Method Detail

run

public void run(String[] ids)
         throws ActionException
Specified by:
run in class SimpleAction
Throws:
ActionException

addLayoutSetPrototype

protected LayoutSet addLayoutSetPrototype(long companyId,
                                          long defaultUserId,
                                          String name,
                                          String description,
                                          List<LayoutSetPrototype> layoutSetPrototypes)
                                   throws Exception
Throws:
Exception

addPrivateSite

protected void addPrivateSite(long companyId,
                              long defaultUserId,
                              List<LayoutSetPrototype> layoutSetPrototypes)
                       throws Exception
Throws:
Exception

addPublicSite

protected void addPublicSite(long companyId,
                             long defaultUserId,
                             List<LayoutSetPrototype> layoutSetPrototypes)
                      throws Exception
Throws:
Exception

doRun

protected void doRun(long companyId)
              throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5