Examples of PortletAppDD


Examples of org.apache.pluto.descriptors.portlet.PortletAppDD

    public Map createUserInfoMap() {

        Map userInfoMap = new HashMap();
        try {

            PortletAppDD dd = container.getOptionalContainerServices()
                .getPortletRegistryService()
                .getPortletApplicationDescriptor(internalPortletWindow.getContextPath());

            Map allMap = container.getOptionalContainerServices()
              //PLUTO-388 fix:
              //The PortletWindow is currently ignored in the implementing class
              // See: org.apache.pluto.core.DefaultUserInfoService
              .getUserInfoService().getUserInfo( this, this.internalPortletWindow );

            Iterator i = dd.getUserAttributes().iterator();
            while(i.hasNext()) {
                UserAttributeDD udd = (UserAttributeDD)i.next();
                userInfoMap.put(udd.getName(), allMap.get(udd.getName()));
            }
        } catch (PortletContainerException e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.