Package org.apache.jetspeed.om.portlet.impl

Examples of org.apache.jetspeed.om.portlet.impl.CustomWindowStateImpl


                PortletApplicationDefinitionImpl pa = (PortletApplicationDefinitionImpl)portletApp;
                ArrayList customStates = new ArrayList(pa.getCustomWindowStates());
                Iterator mappedStatesIter = mappedWindowStates.iterator();
                while ( mappedStatesIter.hasNext() )
                {
                    CustomWindowStateImpl mappedState = (CustomWindowStateImpl)mappedStatesIter.next();
                    if (!mappedState.getMappedState().equals(mappedState.getCustomState()))
                    {
                        int index = customStates.indexOf(mappedState);
                        if ( index > -1 )
                        {
                            CustomWindowState customState = (CustomWindowState)customStates.get(index);
                            mappedState.setDescription(customState.getDescription());
                            customStates.set(index,mappedState);
                        }
                    }
                }
                pa.setCustomWindowStates(customStates);
View Full Code Here


                PortletApplicationDefinitionImpl pa = (PortletApplicationDefinitionImpl)portletApp;
                ArrayList customStates = new ArrayList(pa.getCustomWindowStates());
                Iterator mappedStatesIter = mappedWindowStates.iterator();
                while ( mappedStatesIter.hasNext() )
                {
                    CustomWindowStateImpl mappedState = (CustomWindowStateImpl)mappedStatesIter.next();
                    if (!mappedState.getMappedState().equals(mappedState.getCustomState()))
                    {
                        int index = customStates.indexOf(mappedState);
                        if ( index > -1 )
                        {
                            CustomWindowState customState = (CustomWindowState)customStates.get(index);
                            mappedState.setDescription(customState.getDescription());
                            customStates.set(index,mappedState);
                        }
                    }
                }
                pa.setCustomWindowStates(customStates);
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.om.portlet.impl.CustomWindowStateImpl

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.