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.List;
20:
21: /**
22: * Service interface defining methods necessary for
23: * a provider wishing to manage page administration.
24: *
25: * @since Aug 10, 2005
26: */
27: public interface RenderConfigService extends DriverConfigurationService {
28:
29: /**
30: * Retrieve an ordered list of all PageConfig instances.
31: * @return list of all PageConfig instances.
32: */
33: List getPages();
34:
35: /**
36: * Retrieve the PageConfig for the default
37: * page.
38: * @return PageConfig instance of the default page.
39: */
40: PageConfig getDefaultPage();
41:
42: /**
43: * Retrieve the PageConfig for the given
44: * page id.
45: *
46: * @param id
47: * @return PageConfig instance for the specified id.
48: */
49: PageConfig getPage(String id);
50:
51: //added for page admin portlet
52: public void addPage(PageConfig pageConfig);
53:
54: public void removePage(PageConfig pageConfig);
55:
56: }
|