Package org.jasig.portal.portlet.registry

Examples of org.jasig.portal.portlet.registry.IPortletDefinitionRegistry


         * channel definition to determine the original value and restore it
         * or discover that this is an ad-hoc parameter and can be removed.
         */
        try
        {
          IPortletDefinitionRegistry registry = PortletDefinitionRegistryLocator.getPortletDefinitionRegistry();
            int pubId = Integer.parseInt(getChannelPublishId());
            IPortletDefinition def = registry.getPortletDefinition(getChannelPublishId());
            IPortletDefinitionParameter parm = def.getParameter(parameterName);

            if (parm == null) // ad-hoc parm so delete
            {
                parameters.remove(parameterName);
View Full Code Here


    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);
View Full Code Here

TOP

Related Classes of org.jasig.portal.portlet.registry.IPortletDefinitionRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.