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);
}