1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.om.common;
18
19 import java.util.Locale;
20
21 import org.apache.pluto.om.common.Description;
22
23 /***
24 * MutableDescription
25 * <br/>
26 * Extended version of <code>org.apache.pluto.om.common.Description</code>
27 * that allows for setting the description text and Locale for the description
28 * object.
29 *
30 * @author <a href="mailto:weaver@apache.org">Scott T. Weaver</a>
31 * @version $Id: MutableDescription.java 516448 2007-03-09 16:25:47Z ate $
32 *
33 */
34 public interface MutableDescription extends Description
35 {
36
37 String TYPE_PORTLET_APP = "org.apache.pluto.om.common.Description.portletApplication";
38 String TYPE_WEB_APP = "org.apache.pluto.om.common.Description.webApplication";
39 String TYPE_PORTLET = "org.apache.pluto.om.common.Description.portlet";
40 String TYPE_PORTLET_ENTITY = "org.apache.pluto.om.common.Description.portletEntity";
41 String TYPE_PARAMETER = "org.apache.pluto.om.common.Description.parameter";
42 String TYPE_PREFERENCE = "org.apache.pluto.om.common.Description.preference";
43 String TYPE_SEC_ROLE_REF = "org.apache.pluto.om.common.Description.securityRoleRef";
44
45 void setDescription(String description);
46
47 void setLocale(Locale locale);
48
49 }