com.liferay.portal.service.impl
Class LayoutLocalServiceVirtualLayoutsAdvice

java.lang.Object
  extended by com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class LayoutLocalServiceVirtualLayoutsAdvice
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor

Author:
Raymond Augé, Jorge Ferrer

Constructor Summary
LayoutLocalServiceVirtualLayoutsAdvice()
           
 
Method Summary
protected  java.util.List<com.liferay.portal.model.Layout> addUserGroupLayouts(com.liferay.portal.model.Group group, com.liferay.portal.model.LayoutSet layoutSet, java.util.List<com.liferay.portal.model.Layout> layouts)
           
protected  java.util.Map<java.lang.String,java.lang.String[]> getLayoutTemplatesParameters(boolean firstTime)
           
protected  void importLayoutSetPrototype(com.liferay.portal.model.LayoutSetPrototype layoutSetPrototype, long groupId, boolean privateLayout, java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
           
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
protected  void mergeLayoutProtypeLayout(com.liferay.portal.model.Group group, com.liferay.portal.model.Layout layout)
           
protected  void mergeLayoutSetProtypeLayouts(com.liferay.portal.model.Group group, com.liferay.portal.model.LayoutSet layoutSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutLocalServiceVirtualLayoutsAdvice

public LayoutLocalServiceVirtualLayoutsAdvice()
Method Detail

invoke

public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
java.lang.Throwable

addUserGroupLayouts

protected java.util.List<com.liferay.portal.model.Layout> addUserGroupLayouts(com.liferay.portal.model.Group group,
                                                                              com.liferay.portal.model.LayoutSet layoutSet,
                                                                              java.util.List<com.liferay.portal.model.Layout> layouts)
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

getLayoutTemplatesParameters

protected java.util.Map<java.lang.String,java.lang.String[]> getLayoutTemplatesParameters(boolean firstTime)

importLayoutSetPrototype

protected void importLayoutSetPrototype(com.liferay.portal.model.LayoutSetPrototype layoutSetPrototype,
                                        long groupId,
                                        boolean privateLayout,
                                        java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
                                 throws com.liferay.portal.kernel.exception.PortalException,
                                        com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

mergeLayoutProtypeLayout

protected void mergeLayoutProtypeLayout(com.liferay.portal.model.Group group,
                                        com.liferay.portal.model.Layout layout)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

mergeLayoutSetProtypeLayouts

protected void mergeLayoutSetProtypeLayouts(com.liferay.portal.model.Group group,
                                            com.liferay.portal.model.LayoutSet layoutSet)
                                     throws java.lang.Exception
Throws:
java.lang.Exception