protected PortletWindowIdImpl convertPortletWindowId( HttpServletRequest request, IPortletWindowId portletWindowId) { if (portletWindowId instanceof PortletWindowIdImpl) { return (PortletWindowIdImpl) portletWindowId; } return this.getPortletWindowId(request, portletWindowId.getStringId()); }
protected PortletWindowIdImpl convertPortletWindowId( HttpServletRequest request, IPortletWindowId portletWindowId) { if (portletWindowId instanceof PortletWindowIdImpl) { return (PortletWindowIdImpl) portletWindowId; } return this.getPortletWindowId(request, portletWindowId.getStringId()); }
@Override public IPortletWindow convertPortletWindow( HttpServletRequest request, PortletWindow plutoPortletWindow) { Validate.notNull(request, "request can not be null"); Validate.notNull(plutoPortletWindow, "portletWindow can not be null"); // Conver the pluto portlet window ID into a uPortal portlet window ID final PortletWindowID plutoWindowId = plutoPortletWindow.getId(); final IPortletWindowId portletWindowId; if (plutoWindowId instanceof IPortletWindowId) { portletWindowId = (IPortletWindowId) plutoWindowId; } else { portletWindowId = this.getPortletWindowId(request, plutoWindowId.getStringId()); } // Do a new get to make sure the referenced data gets updated correctly return this.getPortletWindow(request, portletWindowId); }
@Override public IPortletWindow convertPortletWindow( HttpServletRequest request, PortletWindow plutoPortletWindow) { Validate.notNull(request, "request can not be null"); Validate.notNull(plutoPortletWindow, "portletWindow can not be null"); // Conver the pluto portlet window ID into a uPortal portlet window ID final PortletWindowID plutoWindowId = plutoPortletWindow.getId(); final IPortletWindowId portletWindowId; if (plutoWindowId instanceof IPortletWindowId) { portletWindowId = (IPortletWindowId) plutoWindowId; } else { portletWindowId = this.getPortletWindowId(request, plutoWindowId.getStringId()); } // Do a new get to make sure the referenced data gets updated correctly return this.getPortletWindow(request, portletWindowId); }
if (windowIdAttribute != null) { final String windowIdStr = windowIdAttribute.getValue(); final IPortletWindowId portletWindowId = this.getPortletWindowId(request, windowIdStr); final IPortletWindow portletWindow = this.getPortletWindow(request, portletWindowId); return new Tuple<>(portletWindow, element);
if (windowIdAttribute != null) { final String windowIdStr = windowIdAttribute.getValue(); final IPortletWindowId portletWindowId = this.getPortletWindowId(request, windowIdStr); final IPortletWindow portletWindow = this.getPortletWindow(request, portletWindowId); return new Tuple<>(portletWindow, element);
basePortletWindowId = this.getPortletWindowId(request, basePortletWindowIdStr);
basePortletWindowId = this.getPortletWindowId(request, basePortletWindowIdStr);