1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 WebApplicationDefinition, Serializable
39 {
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 }