@Override protected IPortletEntity getInitializationContext() { final HttpServletRequest containerRequest = this.portletRequestContext.getContainerRequest(); return this.portletEntityRegistry.getPortletEntity(containerRequest, portletEntityId); }
@Override protected IPortletEntity getInitializationContext() { final HttpServletRequest containerRequest = this.portletRequestContext.getContainerRequest(); return this.portletEntityRegistry.getPortletEntity(containerRequest, portletEntityId); }
@Override protected IPortletEntity getInitializationContext() { final HttpServletRequest containerRequest = this.portletRequestContext.getContainerRequest(); return this.portletEntityRegistry.getPortletEntity(containerRequest, portletEntityId); }
@Override protected void loadTargetPortletPreferences( IPortletEntity portletEntity, Map<String, IPortletPreference> targetPortletPreferences) { final HttpServletRequest containerRequest = this.portletRequestContext.getContainerRequest(); final Map<String, IPortletPreference> sessionPreferences = this.getSessionPreferences(portletEntityId, containerRequest); if (sessionPreferences != null) { targetPortletPreferences.putAll(sessionPreferences); } }
@Override protected IPortletEntity getInitializationContext() { final HttpServletRequest containerRequest = this.portletRequestContext.getContainerRequest(); return this.portletEntityRegistry.getPortletEntity(containerRequest, portletEntityId); }
@Override protected void loadTargetPortletPreferences( IPortletEntity portletEntity, Map<String, IPortletPreference> targetPortletPreferences) { final HttpServletRequest containerRequest = this.portletRequestContext.getContainerRequest(); final Map<String, IPortletPreference> sessionPreferences = this.getSessionPreferences(portletEntityId, containerRequest); if (sessionPreferences != null) { targetPortletPreferences.putAll(sessionPreferences); } }
@Override protected boolean storeInternal() throws IOException, ValidatorException { final Map<String, IPortletPreference> targetPortletPreferences = this.getTargetPortletPreferences(); if (targetPortletPreferences.isEmpty()) { return false; } final HttpServletRequest containerRequest = portletRequestContext.getContainerRequest(); this.storeSessionPreferences(portletEntityId, containerRequest, targetPortletPreferences); return true; }
@Override protected boolean storeInternal() throws IOException, ValidatorException { final Map<String, IPortletPreference> targetPortletPreferences = this.getTargetPortletPreferences(); if (targetPortletPreferences.isEmpty()) { return false; } final HttpServletRequest containerRequest = portletRequestContext.getContainerRequest(); this.storeSessionPreferences(portletEntityId, containerRequest, targetPortletPreferences); return true; }
@Override protected boolean storeInternal() throws IOException, ValidatorException { final HttpServletRequest containerRequest = portletRequestContext.getContainerRequest();
@Override protected boolean storeInternal() throws IOException, ValidatorException { final HttpServletRequest containerRequest = portletRequestContext.getContainerRequest();
window.setAttribute(PortalReservedParameters.PORTLET_FILTER_MANAGER_ATTRIBUTE, filter); ServletRequest request = this.requestResponseUnwrapper.unwrapContainerRequest(requestContext.getContainerRequest()); ServletResponse response = this.requestResponseUnwrapper.unwrapContainerResponse(requestContext.getContainerResponse());
HttpServletRequest request = requestContext.getContainerRequest(); HttpServletResponse response = requestContext.getContainerResponse();
@Override public PortletPreferences createPortletPreferences( final PortletRequestContext requestContext, boolean render) { final HttpServletRequest containerRequest = requestContext.getContainerRequest(); final PortletWindow plutoPortletWindow = requestContext.getPortletWindow(); final IPortletWindow portletWindow =
@Override public PortletPreferences createPortletPreferences( final PortletRequestContext requestContext, boolean render) { final HttpServletRequest containerRequest = requestContext.getContainerRequest(); final PortletWindow plutoPortletWindow = requestContext.getPortletWindow(); final IPortletWindow portletWindow =