1
2
3
4
5
6
7
8 package com.buckosoft.PicMan.domain;
9
10 import java.io.Serializable;
11
12 import com.buckosoft.BSAccount.domain.BSAccount;
13 import com.buckosoft.BSAccount.domain.BSAccountUser;
14
15
16
17
18
19
20 public class User extends BSAccountUser implements Serializable {
21 private static final long serialVersionUID = 1L;
22
23 private boolean showRatings = false;
24 private int authLevel = 0;
25 private String mosaicTestPic = "";
26 private String mosaicSetName = "";
27 private int mosaicTileHeight = 50;
28 private int mosaicPreviewHeight = 700;
29 private String mosaicOutputFile = "/tmp/blah.jpg";
30 private int mosaicDisplayDelay = 2;
31 private boolean setManShowInactiveSets = false;
32 private int filterPagePicCount = 6;
33 private int homePageThumbWidth = 186;
34 private int homeThumbDelay = 10;
35 private String homeThumbSetName = "";
36 private boolean homeDebug = false;
37 private int slideShowSid = 0;
38 private int slideShowDelay = 10;
39 private boolean slideShowRandom = false;
40 private int posterPid = 0;
41
42 private int picBrowserPicsPerPage = 20;
43 private boolean picBrowserShowRatings = true;
44
45 private boolean editorShowFileDates = true;
46 private boolean editorShowChangedFilters = true;
47 private boolean showInactiveChains = false;
48 private boolean showInactiveRoots = false;
49
50 private int engineReportColumns = 3;
51 private int engineReportRows = 33;
52
53
54 public User() {
55 super(null);
56 }
57 public User(BSAccount account) {
58 super(account);
59 }
60
61
62
63
64 public boolean isShowRatings() {
65 return showRatings;
66 }
67
68
69
70
71 public void setShowRatings(boolean showRatings) {
72 this.showRatings = showRatings;
73 }
74
75
76
77
78 public String getMosaicTestPic() {
79 return mosaicTestPic;
80 }
81
82
83
84
85 public void setMosaicTestPic(String mosaicTestPic) {
86 this.mosaicTestPic = mosaicTestPic;
87 }
88
89
90
91
92 public String getMosaicSetName() {
93 return mosaicSetName;
94 }
95
96
97
98
99 public void setMosaicSetName(String mosaicSetName) {
100 this.mosaicSetName = mosaicSetName;
101 }
102
103
104
105
106 public int getAuthLevel() {
107 return authLevel;
108 }
109
110
111
112
113 public void setAuthLevel(int authLevel) {
114 this.authLevel = authLevel;
115 }
116
117
118
119
120 public int getMosaicTileHeight() {
121 return mosaicTileHeight;
122 }
123
124
125
126
127 public void setMosaicTileHeight(int mosaicTileHeight) {
128 this.mosaicTileHeight = mosaicTileHeight;
129 }
130
131
132
133
134 public int getMosaicPreviewHeight() {
135 return mosaicPreviewHeight;
136 }
137
138
139
140
141 public void setMosaicPreviewHeight(int mosaicPreviewHeight) {
142 this.mosaicPreviewHeight = mosaicPreviewHeight;
143 }
144
145
146
147
148 public String getMosaicOutputFile() {
149 return mosaicOutputFile;
150 }
151
152
153
154
155 public void setMosaicOutputFile(String mosaicOutputFile) {
156 this.mosaicOutputFile = mosaicOutputFile;
157 }
158
159
160
161
162 public int getMosaicDisplayDelay() {
163 return mosaicDisplayDelay;
164 }
165
166
167
168
169 public void setMosaicDisplayDelay(int mosaicDisplayDelay) {
170 this.mosaicDisplayDelay = mosaicDisplayDelay;
171 }
172
173
174
175
176 public boolean isSetManShowInactiveSets() {
177 return setManShowInactiveSets;
178 }
179
180
181
182
183 public void setSetManShowInactiveSets(boolean setManShowInactiveSets) {
184 this.setManShowInactiveSets = setManShowInactiveSets;
185 }
186
187
188
189
190 public int getFilterPagePicCount() {
191 return filterPagePicCount;
192 }
193
194
195
196
197 public void setFilterPagePicCount(int filterPagePicCount) {
198 this.filterPagePicCount = filterPagePicCount;
199 }
200
201
202
203
204 public int getHomePageThumbWidth() {
205 return homePageThumbWidth;
206 }
207
208
209
210
211 public void setHomePageThumbWidth(int homePageThumbWidth) {
212 this.homePageThumbWidth = homePageThumbWidth;
213 }
214
215
216
217
218 public int getHomeThumbDelay() {
219 return homeThumbDelay;
220 }
221
222
223
224
225 public void setHomeThumbDelay(int homeThumbDelay) {
226 this.homeThumbDelay = homeThumbDelay;
227 }
228
229
230
231
232 public int getPicBrowserPicsPerPage() {
233 return picBrowserPicsPerPage;
234 }
235
236
237
238
239 public void setPicBrowserPicsPerPage(int picBrowserPicsPerPage) {
240 this.picBrowserPicsPerPage = picBrowserPicsPerPage;
241 }
242
243
244
245
246
247 public boolean isPicBrowserShowRatings() {
248 return picBrowserShowRatings;
249 }
250
251
252
253
254 public void setPicBrowserShowRatings(boolean picBrowserShowRatings) {
255 this.picBrowserShowRatings = picBrowserShowRatings;
256 }
257
258
259
260
261 public boolean isEditorShowFileDates() {
262 return editorShowFileDates;
263 }
264
265
266
267
268 public void setEditorShowFileDates(boolean editorShowFileDates) {
269 this.editorShowFileDates = editorShowFileDates;
270 }
271
272
273
274
275 public boolean isEditorShowChangedFilters() {
276 return editorShowChangedFilters;
277 }
278
279
280
281
282 public void setEditorShowChangedFilters(boolean editorShowChangedFilters) {
283 this.editorShowChangedFilters = editorShowChangedFilters;
284 }
285
286
287
288
289 public String getHomeThumbSetName() {
290 return homeThumbSetName;
291 }
292
293
294
295
296 public void setHomeThumbSetName(String homeThumbSetName) {
297 this.homeThumbSetName = homeThumbSetName;
298 }
299
300
301
302
303
304 public boolean isHomeDebug() {
305 return homeDebug;
306 }
307
308
309
310 public void setHomeDebug(boolean homeDebug) {
311 this.homeDebug = homeDebug;
312 }
313
314
315
316 public int getSlideShowSid() {
317 return slideShowSid;
318 }
319
320
321
322
323 public void setSlideShowSid(int slideShowSid) {
324 this.slideShowSid = slideShowSid;
325 }
326
327
328
329
330 public int getSlideShowDelay() {
331 return slideShowDelay;
332 }
333
334
335
336
337 public void setSlideShowDelay(int slideShowDelay) {
338 this.slideShowDelay = slideShowDelay;
339 }
340
341
342
343
344 public boolean isSlideShowRandom() {
345 return slideShowRandom;
346 }
347
348
349
350
351 public void setSlideShowRandom(boolean slideShowRandom) {
352 this.slideShowRandom = slideShowRandom;
353 }
354
355
356
357
358 public boolean isShowInactiveChains() {
359 return showInactiveChains;
360 }
361
362
363
364
365 public void setShowInactiveChains(boolean showInactiveChains) {
366 this.showInactiveChains = showInactiveChains;
367 }
368
369
370
371
372 public boolean isShowInactiveRoots() {
373 return showInactiveRoots;
374 }
375
376
377
378
379 public void setShowInactiveRoots(boolean showInactiveRoots) {
380 this.showInactiveRoots = showInactiveRoots;
381 }
382
383 public int getEngineReportColumns() {
384 return engineReportColumns;
385 }
386
387 public void setEngineReportColumns(int engineReportColumns) {
388 this.engineReportColumns = engineReportColumns;
389 }
390
391 public int getEngineReportRows() {
392 return engineReportRows;
393 }
394
395 public void setEngineReportRows(int engineReportRows) {
396 this.engineReportRows = engineReportRows;
397 }
398
399
400
401
402 public int getPosterPid() {
403 return posterPid;
404 }
405
406
407
408
409 public void setPosterPid(int posterPid) {
410 this.posterPid = posterPid;
411 }
412
413
414 }