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.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: * Returns the unique Id of this element. This id is guaranteed to be unique
30: * from the complete portal and is suitable to be used as a unique key.
31: *
32: * @return the unique id of this element.
33: */
34: public String getId();
35:
36: /**
37: * Returns the title in the default Locale
38: *
39: * @return the page title
40: */
41: public String getTitle();
42:
43: /**
44: * Sets the title for the default Locale
45: *
46: * @param title the new title
47: */
48: public void setTitle(String title);
49:
50: /**
51: * Returns the short title in the default Locale
52: *
53: * @return the page short title
54: */
55: public String getShortTitle();
56:
57: /**
58: * Sets the short title for the default Locale
59: *
60: * @param title the new title
61: */
62: public void setShortTitle(String title);
63:
64: }
|