Package org.jasig.portal.layout

Examples of org.jasig.portal.layout.IUserLayoutManager


            return null;
        }

        final String persistentLayoutNodeId = portletEntity.getLayoutNodeId();
        if (persistentLayoutNodeId.startsWith(TransientUserLayoutManagerWrapper.SUBSCRIBE_PREFIX)) {
            final IUserLayoutManager userLayoutManager = this.getUserLayoutManager();
            if (userLayoutManager == null) {
                this.logger.warn("Could not find IUserLayoutManager when trying to wrap transient portlet entity: " + portletEntity);
                return portletEntity;
            }

            final IPortletDefinition portletDefinition = portletEntity.getPortletDefinition();
            final String fname = portletDefinition.getFName();
            final String layoutNodeId = userLayoutManager.getSubscribeId(fname);
            return new TransientPortletEntity(portletEntity, layoutNodeId);
        }
       
        return portletEntity;
    }
View Full Code Here


        return CacheKey.build(this.getClass().getName(), cacheKey);
    }

    @Override
    public PipelineEventReader<XMLEventReader, XMLEvent> getEventReader(HttpServletRequest request, HttpServletResponse response) {
        final IUserLayoutManager userLayoutManager = getUserLayoutManager(request);
       
        final XMLEventReader userLayoutReader = userLayoutManager.getUserLayoutReader();

        return new PipelineEventReaderImpl<XMLEventReader, XMLEvent>(userLayoutReader);
    }
View Full Code Here

        return wrappedPortletEntities;
    }
   
    protected String determineDatabaseChannelSubscribeId(String layoutNodeId) {
        //Find the referenced Node in the user's layout
        final IUserLayoutManager userLayoutManager = this.getUserLayoutManager();
        final IUserLayoutChannelDescription channelNode = (IUserLayoutChannelDescription)userLayoutManager.getNode(layoutNodeId);
       
        //Lookup the IportletDefinition for the node
        final String portletPublishId = channelNode.getChannelPublishId();
        final IPortletDefinition portletDefinition = this.portletDefinitionRegistry.getPortletDefinition(portletPublishId);
View Full Code Here

TOP

Related Classes of org.jasig.portal.layout.IUserLayoutManager

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.