KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > deliver > applications > databeans > WebPage


1 /* ===============================================================================
2  *
3  * Part of the InfoGlue Content Management Platform (www.infoglue.org)
4  *
5  * ===============================================================================
6  *
7  * Copyright (C)
8  *
9  * This program is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License version 2, as published by the
11  * Free Software Foundation. See the file LICENSE.html for more information.
12  *
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY, including the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program; if not, write to the Free Software Foundation, Inc. / 59 Temple
19  * Place, Suite 330 / Boston, MA 02111-1307 / USA.
20  *
21  * ===============================================================================
22  */

23
24 package org.infoglue.deliver.applications.databeans;
25
26 /**
27  * This bean is a convenience storage for different kinds of collections of siteNodes.
28  * To be able to return a convenient list of for example a siteNodes children we create a list
29  * of WebPage-objects. Much cleaner than to iterate through the siteNodeVO:s and then ask the
30  * deliveryengine again if something is not there.
31  *
32  * @author Mattias Bogeblad
33  */

34
35 public class WebPage
36 {
37     private Integer JavaDoc siteNodeId;
38     private Integer JavaDoc languageId;
39     private Integer JavaDoc contentId;
40     private Integer JavaDoc metaInfoContentId;
41     //private String extraParameters;
42
private String JavaDoc url;
43     private String JavaDoc navigationTitle;
44     
45     public WebPage()
46     {
47     }
48     
49     public void setSiteNodeId(Integer JavaDoc siteNodeId)
50     {
51         this.siteNodeId = siteNodeId;
52     }
53     
54     public void setLanguageId(Integer JavaDoc languageId)
55     {
56         this.languageId = languageId;
57     }
58     
59     public void setContentId(Integer JavaDoc contentId)
60     {
61         this.contentId = contentId;
62     }
63
64     public Integer JavaDoc getSiteNodeId()
65     {
66         return this.siteNodeId;
67     }
68
69     public Integer JavaDoc getLanguageId()
70     {
71         return this.languageId;
72     }
73
74     public Integer JavaDoc getContentId()
75     {
76         return this.contentId;
77     }
78     
79     public void setUrl(String JavaDoc url)
80     {
81         this.url = url;
82     }
83
84     public void setNavigationTitle(String JavaDoc navigationTitle)
85     {
86         this.navigationTitle = navigationTitle;
87     }
88
89     public String JavaDoc getUrl()
90     {
91         return this.url;
92     }
93
94     public String JavaDoc getNavigationTitle()
95     {
96         return this.navigationTitle;
97     }
98
99     public Integer JavaDoc getMetaInfoContentId()
100     {
101         return this.metaInfoContentId;
102     }
103
104     public void setMetaInfoContentId(Integer JavaDoc metaInfoContentId)
105     {
106         this.metaInfoContentId = metaInfoContentId;
107     }
108     
109 }
Popular Tags