private LayoutType _getLayoutType() { return LayoutTypePortletFactoryUtil.create( (Layout) ProxyUtil.newProxyInstance( PortalClassLoaderUtil.getClassLoader(), new Class[] {Layout.class}, new LayoutStagingHandler(_layout, _layoutRevision))); }
protected LayoutTypePortletImpl getDefaultLayoutTypePortletImpl() { if (!isCustomizedView()) { return this; } LayoutTypePortletImpl defaultLayoutTypePortletImpl = (LayoutTypePortletImpl) LayoutTypePortletFactoryUtil.create(getLayout()); defaultLayoutTypePortletImpl._embeddedPortlets = _embeddedPortlets; defaultLayoutTypePortletImpl._layoutSetPrototypeLayout = _layoutSetPrototypeLayout; defaultLayoutTypePortletImpl._updatePermission = _updatePermission; return defaultLayoutTypePortletImpl; }