01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.pluto.driver.url;
18:
19: import javax.portlet.PortletMode;
20: import javax.portlet.WindowState;
21: import java.util.Collection;
22: import java.util.Map;
23:
24: public interface PortalURL extends Cloneable {
25: void setRenderPath(String renderPath);
26:
27: String getRenderPath();
28:
29: void addParameter(PortalURLParameter param);
30:
31: Collection getParameters();
32:
33: void setActionWindow(String actionWindow);
34:
35: String getActionWindow();
36:
37: Map getPortletModes();
38:
39: PortletMode getPortletMode(String windowId);
40:
41: void setPortletMode(String windowId, PortletMode portletMode);
42:
43: Map getWindowStates();
44:
45: WindowState getWindowState(String windowId);
46:
47: void setWindowState(String windowId, WindowState windowState);
48:
49: void clearParameters(String windowId);
50:
51: String toString();
52:
53: /**
54: * @deprecated no longer used. will be removed in 1.1.x
55: * @return
56: */
57: String getServerURI();
58:
59: String getServletPath();
60:
61: Object clone();
62: }
|