1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.kernel.portlet;
16  
17  import java.io.Serializable;
18  
19  import java.util.Set;
20  
21  import javax.portlet.PortletURL;
22  import javax.portlet.ResourceURL;
23  
24  /**
25   * <a href="LiferayPortletURL.java.html"><b><i>View Source</i></b></a>
26   *
27   * @author Brian Wing Shun Chan
28   */
29  public interface LiferayPortletURL
30      extends PortletURL, ResourceURL, Serializable {
31  
32      public void addParameterIncludedInPath(String name);
33  
34      public String getLifecycle();
35  
36      public String getParameter(String name);
37  
38      public String getPortletId();
39  
40      public String getResourceID();
41  
42      public boolean isAnchor();
43  
44      public boolean isCopyCurrentRenderParameters();
45  
46      public boolean isEncrypt();
47  
48      public boolean isEscapeXml();
49  
50      public boolean isParameterIncludedInPath(String name);
51  
52      public boolean isSecure();
53  
54      public void setLifecycle(String lifecycle);
55  
56      public void setParameter(String name, String value, boolean append);
57  
58      public void setParameter(String name, String[] values, boolean append);
59  
60      public Set<String> getParametersIncludedInPath();
61  
62      public void setAnchor(boolean anchor);
63  
64      public void setCopyCurrentRenderParameters(
65          boolean copyCurrentRenderParameters);
66  
67      public void setDoAsUserId(long doAsUserId);
68  
69      public void setDoAsUserLanguageId(String doAsUserLanguageId);
70  
71      public void setEncrypt(boolean encrypt);
72  
73      public void setEscapeXml(boolean escapeXml);
74  
75      public void setPlid(long plid);
76  
77      public void setPortletId(String portletId);
78  
79  }