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 ) ; } }
Return a map parameter names to channel parameter objects representing the parameters specified at publish time for the channel with the passed - in publish id .