Package org.apache.jetspeed.om.common.portlet

Examples of org.apache.jetspeed.om.common.portlet.CustomPortletMode


            if ( customPortletModes.size() > 0 )
            {
                Iterator iter = customPortletModes.iterator();
                while ( iter.hasNext() )
                {
                    CustomPortletMode customMode = (CustomPortletMode)iter.next();
                    if ( !list.contains(customMode.getCustomMode()) && JetspeedActions.getExtendedPortletModes().contains(customMode.getMappedMode()) )
                    {
                        list.add(customMode.getCustomMode());
                        supportedCustomModes.put(customMode.getMappedMode(), customMode.getCustomMode());
                        mappedCustomModes.put(customMode.getCustomMode(), customMode.getMappedMode());
                    }
                }
            }
            supportedPortletModes = Collections.unmodifiableCollection(list);
        }
View Full Code Here


                    if (!mappedMode.getMappedMode().equals(mappedMode.getCustomMode()))
                    {
                        int index = customModes.indexOf(mappedMode);
                        if ( index > -1 )
                        {
                            CustomPortletMode customMode = (CustomPortletMode)customModes.get(index);
                            mappedMode.setDescription(customMode.getDescription());
                            customModes.set(index,mappedMode);
                        }
                    }
                }
                pa.setCustomPortletModes(customModes);
View Full Code Here

                    if (!mappedMode.getMappedMode().equals(mappedMode.getCustomMode()))
                    {
                        int index = customModes.indexOf(mappedMode);
                        if ( index > -1 )
                        {
                            CustomPortletMode customMode = (CustomPortletMode)customModes.get(index);
                            mappedMode.setDescription(customMode.getDescription());
                            customModes.set(index,mappedMode);
                        }
                    }
                }
                pa.setCustomPortletModes(customModes);
View Full Code Here

            if ( customPortletModes.size() > 0 )
            {
                Iterator iter = customPortletModes.iterator();
                while ( iter.hasNext() )
                {
                    CustomPortletMode customMode = (CustomPortletMode)iter.next();
                    if ( !list.contains(customMode.getCustomMode()) && JetspeedActions.getExtendedPortletModes().contains(customMode.getMappedMode()) )
                    {
                        list.add(customMode.getCustomMode());
                        supportedCustomModes.put(customMode.getMappedMode(), customMode.getCustomMode());
                        mappedCustomModes.put(customMode.getCustomMode(), customMode.getMappedMode());
                    }
                }
            }
            supportedPortletModes = Collections.unmodifiableCollection(list);
        }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.om.common.portlet.CustomPortletMode

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.