protected PortletRequestInfoImpl getTargetedPortletRequestInfo(
            final PortalRequestInfoImpl portalRequestInfo,
            final PortletRequestInfoImpl targetedPortletRequestInfo,
            final IPortletWindowId targetedPortletWindowId) {

        if (targetedPortletWindowId == null) {
            return targetedPortletRequestInfo;
        }

        return portalRequestInfo.getPortletRequestInfo(targetedPortletWindowId);
    }
protected PortletRequestInfoImpl getTargetedPortletRequestInfo ( final PortalRequestInfoImpl portalRequestInfo , final PortletRequestInfoImpl targetedPortletRequestInfo , final IPortletWindowId targetedPortletWindowId ) { if ( targetedPortletWindowId == null ) { return targetedPortletRequestInfo ; } return portalRequestInfo . getPortletRequestInfo ( targetedPortletWindowId ) ; }
If the targetedPortletWindowId is not null {@link
IPortalRequestInfo#getPortletRequestInfo(IPortletWindowId)} is called and that value is
returned. If targetedPortletWindowId is null targetedPortletRequestInfo is returned.