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.services.portal;
18:
19: import java.util.Set;
20:
21: /**
22: * Service interface which defines the methods required
23: * for a provider wishing to provide property management.
24: *
25: * @since Aug 10, 2005
26: */
27: public interface PropertyConfigService extends
28: DriverConfigurationService {
29:
30: /**
31: * Name of the portal driver.
32: * @return the name of this portal implementation
33: */
34: String getPortalName();
35:
36: /**
37: * Portal driver version.
38: * @return version information
39: */
40: String getPortalVersion();
41:
42: /**
43: * Unique name of the Portlet Container
44: * used to service this portal instance.
45: * @return container name
46: */
47: String getContainerName();
48:
49: /**
50: * Set of unique Portlet Modes.
51: * The set must include
52: * {@link javax.portlet.PortletMode#VIEW},
53: * {@link javax.portlet.PortletMode#EDIT}, and
54: * {@link javax.portlet.PortletMode#HELP}
55: * @return set of unique portlet modes.
56: */
57: Set getSupportedPortletModes();
58:
59: /**
60: * Set of unique Window States.
61: * The set must include:
62: * {@link javax.portlet.WindowState#NORMAL},
63: * {@link javax.portlet.WindowState#MAXIMIZED}, and
64: * {@link javax.portlet.WindowState#MINIMIZED}
65: * @return set of unique window states.
66: */
67: Set getSupportedWindowStates();
68: }
|