com.germinus.merlin.manager.layout
Class LayoutManager

java.lang.Object
  extended by com.germinus.merlin.manager.layout.LayoutManager
All Implemented Interfaces:
ILayoutManager

public class LayoutManager
extends java.lang.Object
implements ILayoutManager


Field Summary
 
Fields inherited from interface com.germinus.merlin.manager.layout.ILayoutManager
DEFAULT_PARENT_LAYOUT_ID
 
Constructor Summary
LayoutManager(PagePortletConfiguration pageProperties)
           
LayoutManager(PagePortletConfiguration pageProperties, com.germinus.liferay.util.ILiferayUtil liferayUtil)
           
 
Method Summary
 long addPage(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, PagePortletConfiguration pagePortletConfiguration)
           
 java.lang.String addPortlet(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, java.lang.String portletId)
           
 long addSubPage(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, PagePortletConfiguration pagePortletConfiguration)
           
 int deletePage(long layoutId)
           
 com.liferay.portal.model.LayoutTypePortlet getLayoutTypePortlet()
           
 com.germinus.liferay.util.ILiferayUtil getLiferayUtil()
           
 PagePortletConfiguration getPageProperties()
           
 int listLayoutChildren(com.liferay.portal.model.Layout layout)
           
 void setLayoutTypePortlet(com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet)
           
 void setLiferayUtil(com.germinus.liferay.util.ILiferayUtil liferayUtil)
           
 void setPageProperties(PagePortletConfiguration pageProperties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutManager

public LayoutManager(PagePortletConfiguration pageProperties)
Since:
1.0

LayoutManager

public LayoutManager(PagePortletConfiguration pageProperties,
                     com.germinus.liferay.util.ILiferayUtil liferayUtil)
Method Detail

getLayoutTypePortlet

public com.liferay.portal.model.LayoutTypePortlet getLayoutTypePortlet()
Returns:
the layoutTypePortlet

setLayoutTypePortlet

public void setLayoutTypePortlet(com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet)
Parameters:
layoutTypePortlet - the layoutTypePortlet to set

addPage

public long addPage(javax.portlet.RenderRequest request,
                    javax.portlet.RenderResponse response,
                    PagePortletConfiguration pagePortletConfiguration)
             throws java.lang.Exception
Specified by:
addPage in interface ILayoutManager
Returns:
Throws:
java.lang.Exception

addPortlet

public java.lang.String addPortlet(javax.portlet.RenderRequest request,
                                   javax.portlet.RenderResponse response,
                                   java.lang.String portletId)
                            throws java.lang.Exception
Specified by:
addPortlet in interface ILayoutManager
Returns:
Throws:
java.lang.Exception

addSubPage

public long addSubPage(javax.portlet.RenderRequest request,
                       javax.portlet.RenderResponse response,
                       PagePortletConfiguration pagePortletConfiguration)
                throws java.lang.Exception
Specified by:
addSubPage in interface ILayoutManager
Returns:
Throws:
java.lang.Exception

deletePage

public int deletePage(long layoutId)
Specified by:
deletePage in interface ILayoutManager
Returns:

listLayoutChildren

public int listLayoutChildren(com.liferay.portal.model.Layout layout)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Specified by:
listLayoutChildren in interface ILayoutManager
Returns:
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPageProperties

public PagePortletConfiguration getPageProperties()
Specified by:
getPageProperties in interface ILayoutManager
Returns:
the pageProperties

setPageProperties

public void setPageProperties(PagePortletConfiguration pageProperties)
Specified by:
setPageProperties in interface ILayoutManager
Parameters:
pageProperties - the pageProperties to set

getLiferayUtil

public com.germinus.liferay.util.ILiferayUtil getLiferayUtil()
Returns:
the liferayUtil

setLiferayUtil

public void setLiferayUtil(com.germinus.liferay.util.ILiferayUtil liferayUtil)
Parameters:
liferayUtil - the liferayUtil to set


Copyright © 2008. All Rights Reserved.