2 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
\r
4 * This library is free software; you can redistribute it and/or modify it under
\r
5 * the terms of the GNU Lesser General Public License as published by the Free
\r
6 * Software Foundation; either version 2.1 of the License, or (at your option)
\r
9 * This library is distributed in the hope that it will be useful, but WITHOUT
\r
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
\r
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
\r
15 package com.liferay.portlet;
\r
17 import com.liferay.portal.kernel.portlet.LiferayPortletURL;
\r
19 import javax.portlet.PortletRequest;
\r
21 import javax.servlet.http.HttpServletRequest;
\r
24 * @author Brian Wing Shun Chan
\r
26 public interface PortletURLFactory {
\r
28 public LiferayPortletURL create(
\r
29 HttpServletRequest request, String portletName, long plid,
\r
32 public LiferayPortletURL create(
\r
33 PortletRequest portletRequest, String portletName, long plid,
\r
36 public LiferayPortletURL create(
\r
37 HttpServletRequest request, String portletName, long plid,
\r
38 String lifecycle, boolean isSearch);
\r