1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.om.page;
18
19 import org.apache.jetspeed.om.common.SecuredResource;
20
21 /***
22 * BaseElement
23 *
24 * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
25 * @version $Id: BaseElement.java 516448 2007-03-09 16:25:47Z ate $
26 */
27 public interface BaseElement extends SecuredResource
28 {
29 /***
30 * Returns the unique Id of this element. This id is guaranteed to be unique
31 * from the complete portal and is suitable to be used as a unique key.
32 *
33 * @return the unique id of this element.
34 */
35 public String getId();
36
37 /***
38 * Returns the title in the default Locale
39 *
40 * @return the page title
41 */
42 public String getTitle();
43
44 /***
45 * Sets the title for the default Locale
46 *
47 * @param title the new title
48 */
49 public void setTitle(String title);
50
51 /***
52 * Returns the short title in the default Locale
53 *
54 * @return the page short title
55 */
56 public String getShortTitle();
57
58 /***
59 * Sets the short title for the default Locale
60 *
61 * @param title the new title
62 */
63 public void setShortTitle(String title);
64
65 }