Package org.apache.jetspeed.components.portletentity

Examples of org.apache.jetspeed.components.portletentity.PortletEntityImpl


                    // of portletEntity and to replace the portletDefinition with one of current worker context.
                    // Refer to org.apache.jetspeed.components.portletentity.PortletEntityImpl class
                   
                    curWindow = (PortletWindow)
                        CurrentWorkerContext.getAttribute(PortalReservedParameters.PORTLET_WINDOW_ATTRIBUTE);
                    PortletEntityImpl curEntity = (PortletEntityImpl) curWindow.getPortletEntity();
                    PortletDefinition oldPortletDefinition = curEntity.getPortletDefinition();
                    PortletDefinition curPortletDefinition = (PortletDefinition)
                        CurrentWorkerContext.getAttribute(PortalReservedParameters.PORTLET_DEFINITION_ATTRIBUTE);
                   
                    if (!oldPortletDefinition.getId().equals(curPortletDefinition.getId())) {
                        curEntity.setPortletDefinition(curPortletDefinition);
                    }
                }
            }
           
            this.request.setAttribute(PortalReservedParameters.FRAGMENT_ATTRIBUTE, fragment);
View Full Code Here


                    // of portletEntity and to replace the portletDefinition with one of current worker context.
                    // Refer to org.apache.jetspeed.components.portletentity.PortletEntityImpl class
                   
                    curWindow = (PortletWindow)
                        CurrentWorkerContext.getAttribute(PortalReservedParameters.PORTLET_WINDOW_ATTRIBUTE);
                    PortletEntityImpl curEntity = (PortletEntityImpl) curWindow.getPortletEntity();
                    PortletDefinition oldPortletDefinition = curEntity.getPortletDefinition();
                    PortletDefinition curPortletDefinition = (PortletDefinition)
                        CurrentWorkerContext.getAttribute(PortalReservedParameters.PORTLET_DEFINITION_ATTRIBUTE);
                   
                    if (!oldPortletDefinition.getId().equals(curPortletDefinition.getId())) {
                        curEntity.setPortletDefinition(curPortletDefinition);
                    }
                }
            }
           
            this.request.setAttribute(PortalReservedParameters.FRAGMENT_ATTRIBUTE, fragment);
View Full Code Here

                    // of portletEntity and to replace the portletDefinition with one of current worker context.
                    // Refer to org.apache.jetspeed.components.portletentity.PortletEntityImpl class
                   
                    curWindow = (PortletWindow)
                        CurrentWorkerContext.getAttribute(PortalReservedParameters.PORTLET_WINDOW_ATTRIBUTE);
                    PortletEntityImpl curEntity = (PortletEntityImpl) curWindow.getPortletEntity();
                    PortletDefinition oldPortletDefinition = curEntity.getPortletDefinition();
                    PortletDefinition curPortletDefinition = (PortletDefinition)
                        CurrentWorkerContext.getAttribute(PortalReservedParameters.PORTLET_DEFINITION_ATTRIBUTE);
                   
                    if (!oldPortletDefinition.getId().equals(curPortletDefinition.getId())) {
                        curEntity.setPortletDefinition(curPortletDefinition);
                    }
                }
            }
           
            if (isParallelMode)
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.components.portletentity.PortletEntityImpl

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.