1 /*
2 * Copyright (c) 2002-2022, City of Paris
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright notice
10 * and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the above copyright notice
13 * and the following disclaimer in the documentation and/or other materials
14 * provided with the distribution.
15 *
16 * 3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
17 * contributors may be used to endorse or promote products derived from
18 * this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * POSSIBILITY OF SUCH DAMAGE.
31 *
32 * License 1.0
33 */
34 package fr.paris.lutece.portal.business.style;
35
36 import java.io.Serializable;
37
38 /**
39 * This class represents business objects Mode
40 */
41 public class Theme implements Serializable
42 {
43 public static final String RESOURCE_TYPE = "THEME";
44 private static final long serialVersionUID = -1423380460541137444L;
45 private String _strCodeTheme;
46 private String _strThemeDescription;
47 private String _strPathImages;
48 private String _strPathCss;
49 private String _strPathJs;
50 private String _strThemeAuthor;
51 private String _strThemeAuthorUrl;
52 private String _strThemeVersion;
53 private String _strThemeLicence;
54
55 /**
56 * Returns the _strCodeTheme
57 *
58 * @return the _strCodeTheme
59 */
60 public String getCodeTheme( )
61 {
62 return _strCodeTheme;
63 }
64
65 /**
66 * Sets the _strCodeTheme
67 *
68 * @param strCodeTheme
69 * the _strCodeTheme to set
70 */
71 public void setCodeTheme( String strCodeTheme )
72 {
73 _strCodeTheme = strCodeTheme;
74 }
75
76 /**
77 * Returns the _strThemeDescription
78 *
79 * @return the _strThemeDescription
80 */
81 public String getThemeDescription( )
82 {
83 return _strThemeDescription;
84 }
85
86 /**
87 * Sets the _strThemeDescription
88 *
89 * @param strThemeDescription
90 * the _strThemeDescription to set
91 */
92 public void setThemeDescription( String strThemeDescription )
93 {
94 _strThemeDescription = strThemeDescription;
95 }
96
97 /**
98 * Returns the _strPathImages
99 *
100 * @return the _strPathImages
101 */
102 public String getPathImages( )
103 {
104 return _strPathImages;
105 }
106
107 /**
108 * Sets the _strPathImages
109 *
110 * @param strPathImages
111 * the _strPathImages to set
112 */
113 public void setPathImages( String strPathImages )
114 {
115 _strPathImages = strPathImages;
116 }
117
118 /**
119 * Returns the _strPathCss
120 *
121 * @return the _strPathCss
122 */
123 public String getPathCss( )
124 {
125 return _strPathCss;
126 }
127
128 /**
129 * Sets the _strPathCss
130 *
131 * @param strPathCss
132 * the _strPathCss to set
133 */
134 public void setPathCss( String strPathCss )
135 {
136 _strPathCss = strPathCss;
137 }
138
139 /**
140 * Returns the _strPathJs
141 *
142 * @return the _strPathJs
143 */
144 public String getPathJs( )
145 {
146 return _strPathJs;
147 }
148
149 /**
150 * Sets the _strPathJs
151 *
152 * @param strPathJs
153 * the _strPathJs to set
154 */
155 public void setPathJs( String strPathJs )
156 {
157 _strPathJs = strPathJs;
158 }
159
160 /**
161 * Returns the _strThemeAuthor
162 *
163 * @return the _strThemeAuthor
164 */
165 public String getThemeAuthor( )
166 {
167 return _strThemeAuthor;
168 }
169
170 /**
171 * Sets the _strThemeAuthor
172 *
173 * @param strThemeAuthor
174 * the _strThemeAuthor to set
175 */
176 public void setThemeAuthor( String strThemeAuthor )
177 {
178 _strThemeAuthor = strThemeAuthor;
179 }
180
181 /**
182 * Returns the _strThemeAuthorUrl
183 *
184 * @return the _strThemeAuthorUrl
185 */
186 public String getThemeAuthorUrl( )
187 {
188 return _strThemeAuthorUrl;
189 }
190
191 /**
192 * Sets the _strThemeAuthorUrl
193 *
194 * @param strThemeAuthorUrl
195 * the _strThemeAuthorUrl to set
196 */
197 public void setThemeAuthorUrl( String strThemeAuthorUrl )
198 {
199 _strThemeAuthorUrl = strThemeAuthorUrl;
200 }
201
202 /**
203 * Returns the _strThemeVersion
204 *
205 * @return the _strThemeVersion
206 */
207 public String getThemeVersion( )
208 {
209 return _strThemeVersion;
210 }
211
212 /**
213 * Sets the _strThemeVersion
214 *
215 * @param strThemeVersion
216 * the _strThemeVersion to set
217 */
218 public void setThemeVersion( String strThemeVersion )
219 {
220 _strThemeVersion = strThemeVersion;
221 }
222
223 /**
224 * Returns the _strThemeLicence
225 *
226 * @return the _strThemeLicence
227 */
228 public String getThemeLicence( )
229 {
230 return _strThemeLicence;
231 }
232
233 /**
234 * Sets the _strThemeLicence
235 *
236 * @param strThemeLicence
237 * the _strThemeLicence to set
238 */
239 public void setThemeLicence( String strThemeLicence )
240 {
241 _strThemeLicence = strThemeLicence;
242 }
243 }