Package org.jasig.portal.layout.dlm

Examples of org.jasig.portal.layout.dlm.DistributedUserLayout


            // get the target node this new tab should be moved after
            String destinationId = request.getParameter("elementID");

            // get the user layout for the currently-authenticated user
            int uid = userIdentityStore.getPortalUID(fragmentOwner, false);
            final DistributedUserLayout userLayout = userLayoutStore.getUserLayout(per, upm.getUserProfile());
            Document layoutDocument = userLayout.getLayout();

            // attempt to find the new subscribed tab in the layout so we can
            // move it
            StringBuilder expression = new StringBuilder("//folder[@type='root']/folder[starts-with(@ID,'")
                                       .append(Constants.FRAGMENT_ID_USER_PREFIX)
View Full Code Here


        UserPreferencesManager upm = (UserPreferencesManager) ui.getPreferencesManager();
        IUserLayoutManager ulm = upm.getUserLayoutManager();

        IPerson person = ui.getPerson();
        DistributedUserLayout userLayout = userLayoutStore.getUserLayout(person, upm.getUserProfile());

        List<PortletTab> tabs = getPortletTabInfo(userLayout, portletFName);
        boolean isFavorite = isPortletFavorited(ulm.getUserLayout(), portletFName);

        model.addAttribute("favorite", isFavorite);
View Full Code Here

            final IUserInstance ui = userInstanceManager.getUserInstance(request);

            final IUserPreferencesManager upm = ui.getPreferencesManager();

            final IUserProfile profile = upm.getUserProfile();
            final DistributedUserLayout userLayout = userLayoutStore.getUserLayout(person, profile);
            Document document = userLayout.getLayout();
           
            NodeList portletNodes = document.getElementsByTagName("channel");
            for (int i = 0; i < portletNodes.getLength(); i++) {
                try {
                   
View Full Code Here

TOP

Related Classes of org.jasig.portal.layout.dlm.DistributedUserLayout

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.