1 package net.sourceforge.blogentis.om;
2
3 import java.util.List;
4
5 import net.sourceforge.blogentis.utils.MappedConfiguration;
6
7 import org.apache.torque.TorqueException;
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 /***
32 * Interface that keeps
33 *
34 * @author abas
35 */
36 public interface Blog {
37
38 /***
39 * Get the numeric blog id if the blog.
40 *
41 * @return the blog id.
42 */
43 public int getBlogId();
44
45 /***
46 * Get the name of the blog.
47 *
48 * @return the name of the blog.
49 */
50 public String getName();
51
52 /***
53 * Get the title of the blog.
54 *
55 * @return the title of the blog.
56 */
57 public String getTitle();
58
59 /***
60 * Get the description of the blog.
61 *
62 * @return the description of the blog.
63 */
64 public String getDescription();
65
66 /***
67 * Get the configuration settings for this blog.
68 *
69 * @return the configuration of the blog.
70 */
71 public MappedConfiguration getConfiguration();
72
73 /***
74 * Get the display-sorted list of sections of this blog
75 *
76 * @return a list of Sections, ordered by their display list;
77 * @throws TorqueException
78 */
79 public List getSections()
80 throws TorqueException;
81 }