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.jetspeed.om.common.servlet;
18:
19: import java.io.Serializable;
20: import java.util.Locale;
21:
22: import org.apache.pluto.om.common.DescriptionSet;
23: import org.apache.pluto.om.common.DisplayNameSet;
24: import org.apache.pluto.om.common.SecurityRole;
25: import org.apache.pluto.om.servlet.WebApplicationDefinition;
26:
27: /**
28: *
29: * WebApplicationComposite
30: * This interface is a combination of the two interface classes
31: * used to identify a web application. It has additional methods
32: * to make it easier to use/test within Jetspeed.
33: * @author <a href="mailto:weaver@apache.org">Scott T. Weaver</a>
34: * @version $Id: MutableWebApplication.java 516448 2007-03-09 16:25:47Z ate $
35: *
36: */
37:
38: public interface MutableWebApplication extends
39: WebApplicationDefinition, Serializable {
40: void setContextRoot(String contextRoot);
41:
42: void setDescriptionSet(DescriptionSet descriptions);
43:
44: void setDisplayNameSet(DisplayNameSet names);
45:
46: void addDisplayName(Locale locale, String name);
47:
48: void addDescription(Locale locale, String description);
49:
50: void addSecurityRole(SecurityRole securityRole);
51:
52: }
|