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