docs: protected String getResourceId(
              IPortletWindowId portletWindowId, final IPortalRequestInfo portalRequestInfo) {
          final IPortletRequestInfo portletRequestInfo =
                  portalRequestInfo.getPortletRequestInfo(portletWindowId);
          if (portletRequestInfo == null) {
              return null;
          }
  
          return portletRequestInfo.getResourceId();
      }