/* * Copyright Siemens AG, 2015. Part of the SW360 Portal Project. * With contributions by Bosch Software Innovations GmbH, 2016. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org.eclipse.sw360.portal.tags.urlutils; import org.eclipse.sw360.portal.common.page.PortletPage; import org.eclipse.sw360.portal.portlets.LinkToPortletConfiguration; import javax.servlet.jsp.JspException; /** * @author daniele.fognini@tngtech.com */ public interface UrlWriter { UrlWriter withParam(String name, String value) throws JspException; UrlWriter toPortlet(LinkToPortletConfiguration portlet, Long scopeGroupId) throws JspException; UrlWriter toPage(PortletPage page) throws JspException; void writeUrlToJspWriter() throws JspException; }