docs: private Map getPublishedChannelParametersMap(String channelPublishId) throws PortalException {
          try {
              IPortletDefinitionRegistry registry =
                      PortletDefinitionRegistryLocator.getPortletDefinitionRegistry();
              IPortletDefinition def = registry.getPortletDefinition(channelPublishId);
              return def.getParametersAsUnmodifiableMap();
          } catch (Exception e) {
              throw new PortalException("Unable to acquire channel definition.", e);
          }
      }