KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > geinuke > vo > PortalCFGVO


1
2
3  /*
4  -- GeiNuke --
5 Copyright (c) 2005 by Roberto Sidoti [geinuke@users.sourceforge.net]
6  http://www.hostingjava.it/-geinuke/
7
8 This file is part of GeiNuke.
9
10     GeiNuke is free software; you can redistribute it and/or modify
11     it under the terms of the GNU General Public License as published by
12     the Free Software Foundation; either version 2 of the License, or
13     (at your option) any later version.
14
15     GeiNuke is distributed in the hope that it will be useful,
16     but WITHOUT ANY WARRANTY; without even the implied warranty of
17     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18     GNU General Public License for more details.
19
20     You should have received a copy of the GNU General Public License
21     along with GeiNuke; if not, write to the Free Software
22     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23 */

24 package com.geinuke.vo;
25
26 import java.io.Serializable JavaDoc;
27
28 public class PortalCFGVO implements Serializable JavaDoc{
29     protected int poid=-1;
30     protected int sessionHits=0;
31     protected String JavaDoc smtpHost=null;
32     protected String JavaDoc homeText=null;
33     protected String JavaDoc portalTitle=null;
34     protected String JavaDoc portalLogo=null;
35     protected String JavaDoc portalEmail=null;
36     protected String JavaDoc portalStyle="";
37     protected String JavaDoc portalURL="";
38     protected String JavaDoc portalLocale="en";
39     
40     public String JavaDoc getHomeText() {
41         return homeText;
42     }
43     public void setHomeText(String JavaDoc homeText) {
44         this.homeText = homeText;
45     }
46     public int getPoid() {
47         return poid;
48     }
49     public void setPoid(int poid) {
50         this.poid = poid;
51     }
52     public String JavaDoc getPortalEmail() {
53         return portalEmail;
54     }
55     public void setPortalEmail(String JavaDoc portalEmail) {
56         this.portalEmail = portalEmail;
57     }
58     public String JavaDoc getPortalTitle() {
59         return portalTitle;
60     }
61     public void setPortalTitle(String JavaDoc portalTitle) {
62         this.portalTitle = portalTitle;
63     }
64     public String JavaDoc getSmtpHost() {
65         return smtpHost;
66     }
67     public void setSmtpHost(String JavaDoc smtpHost) {
68         this.smtpHost = smtpHost;
69     }
70     /**
71      * @return Returns the sessionHits.
72      */

73     public int getSessionHits() {
74         return sessionHits;
75     }
76     /**
77      * @param sessionHits The sessionHits to set.
78      */

79     public void setSessionHits(int sessionHits) {
80         this.sessionHits = sessionHits;
81     }
82     /**
83      * @return Returns the portalLogo.
84      */

85     public String JavaDoc getPortalLogo() {
86         return portalLogo;
87     }
88     /**
89      * @param portalLogo The portalLogo to set.
90      */

91     public void setPortalLogo(String JavaDoc portalLogo) {
92         this.portalLogo = portalLogo;
93     }
94     /**
95      * @return Returns the portalStyle.
96      */

97     public String JavaDoc getPortalStyle() {
98         return portalStyle;
99     }
100     /**
101      * @param portalStyle The portalStyle to set.
102      */

103     public void setPortalStyle(String JavaDoc portalStyle) {
104         this.portalStyle = portalStyle;
105     }
106     /**
107      * @return Returns the portalLocale.
108      */

109     public String JavaDoc getPortalLocale() {
110         return portalLocale;
111     }
112     /**
113      * @param portalLocale The portalLocale to set.
114      */

115     public void setPortalLocale(String JavaDoc portalLocale) {
116         this.portalLocale = portalLocale;
117     }
118     /**
119      * @return Returns the portalURL.
120      */

121     public String JavaDoc getPortalURL() {
122         return portalURL;
123     }
124     /**
125      * @param portalURL The portalURL to set.
126      */

127     public void setPortalURL(String JavaDoc portalURL) {
128         this.portalURL = portalURL;
129     }
130 }
131
Popular Tags