001 /** 002 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.documentlibrary.model; 016 017 /** 018 * <p> 019 * This class is a wrapper for {@link DLFileShortcut}. 020 * </p> 021 * 022 * @author Brian Wing Shun Chan 023 * @see DLFileShortcut 024 * @generated 025 */ 026 public class DLFileShortcutWrapper implements DLFileShortcut { 027 public DLFileShortcutWrapper(DLFileShortcut dlFileShortcut) { 028 _dlFileShortcut = dlFileShortcut; 029 } 030 031 public Class<?> getModelClass() { 032 return DLFileShortcut.class; 033 } 034 035 public String getModelClassName() { 036 return DLFileShortcut.class.getName(); 037 } 038 039 /** 040 * Returns the primary key of this document library file shortcut. 041 * 042 * @return the primary key of this document library file shortcut 043 */ 044 public long getPrimaryKey() { 045 return _dlFileShortcut.getPrimaryKey(); 046 } 047 048 /** 049 * Sets the primary key of this document library file shortcut. 050 * 051 * @param primaryKey the primary key of this document library file shortcut 052 */ 053 public void setPrimaryKey(long primaryKey) { 054 _dlFileShortcut.setPrimaryKey(primaryKey); 055 } 056 057 /** 058 * Returns the uuid of this document library file shortcut. 059 * 060 * @return the uuid of this document library file shortcut 061 */ 062 public java.lang.String getUuid() { 063 return _dlFileShortcut.getUuid(); 064 } 065 066 /** 067 * Sets the uuid of this document library file shortcut. 068 * 069 * @param uuid the uuid of this document library file shortcut 070 */ 071 public void setUuid(java.lang.String uuid) { 072 _dlFileShortcut.setUuid(uuid); 073 } 074 075 /** 076 * Returns the file shortcut ID of this document library file shortcut. 077 * 078 * @return the file shortcut ID of this document library file shortcut 079 */ 080 public long getFileShortcutId() { 081 return _dlFileShortcut.getFileShortcutId(); 082 } 083 084 /** 085 * Sets the file shortcut ID of this document library file shortcut. 086 * 087 * @param fileShortcutId the file shortcut ID of this document library file shortcut 088 */ 089 public void setFileShortcutId(long fileShortcutId) { 090 _dlFileShortcut.setFileShortcutId(fileShortcutId); 091 } 092 093 /** 094 * Returns the group ID of this document library file shortcut. 095 * 096 * @return the group ID of this document library file shortcut 097 */ 098 public long getGroupId() { 099 return _dlFileShortcut.getGroupId(); 100 } 101 102 /** 103 * Sets the group ID of this document library file shortcut. 104 * 105 * @param groupId the group ID of this document library file shortcut 106 */ 107 public void setGroupId(long groupId) { 108 _dlFileShortcut.setGroupId(groupId); 109 } 110 111 /** 112 * Returns the company ID of this document library file shortcut. 113 * 114 * @return the company ID of this document library file shortcut 115 */ 116 public long getCompanyId() { 117 return _dlFileShortcut.getCompanyId(); 118 } 119 120 /** 121 * Sets the company ID of this document library file shortcut. 122 * 123 * @param companyId the company ID of this document library file shortcut 124 */ 125 public void setCompanyId(long companyId) { 126 _dlFileShortcut.setCompanyId(companyId); 127 } 128 129 /** 130 * Returns the user ID of this document library file shortcut. 131 * 132 * @return the user ID of this document library file shortcut 133 */ 134 public long getUserId() { 135 return _dlFileShortcut.getUserId(); 136 } 137 138 /** 139 * Sets the user ID of this document library file shortcut. 140 * 141 * @param userId the user ID of this document library file shortcut 142 */ 143 public void setUserId(long userId) { 144 _dlFileShortcut.setUserId(userId); 145 } 146 147 /** 148 * Returns the user uuid of this document library file shortcut. 149 * 150 * @return the user uuid of this document library file shortcut 151 * @throws SystemException if a system exception occurred 152 */ 153 public java.lang.String getUserUuid() 154 throws com.liferay.portal.kernel.exception.SystemException { 155 return _dlFileShortcut.getUserUuid(); 156 } 157 158 /** 159 * Sets the user uuid of this document library file shortcut. 160 * 161 * @param userUuid the user uuid of this document library file shortcut 162 */ 163 public void setUserUuid(java.lang.String userUuid) { 164 _dlFileShortcut.setUserUuid(userUuid); 165 } 166 167 /** 168 * Returns the user name of this document library file shortcut. 169 * 170 * @return the user name of this document library file shortcut 171 */ 172 public java.lang.String getUserName() { 173 return _dlFileShortcut.getUserName(); 174 } 175 176 /** 177 * Sets the user name of this document library file shortcut. 178 * 179 * @param userName the user name of this document library file shortcut 180 */ 181 public void setUserName(java.lang.String userName) { 182 _dlFileShortcut.setUserName(userName); 183 } 184 185 /** 186 * Returns the create date of this document library file shortcut. 187 * 188 * @return the create date of this document library file shortcut 189 */ 190 public java.util.Date getCreateDate() { 191 return _dlFileShortcut.getCreateDate(); 192 } 193 194 /** 195 * Sets the create date of this document library file shortcut. 196 * 197 * @param createDate the create date of this document library file shortcut 198 */ 199 public void setCreateDate(java.util.Date createDate) { 200 _dlFileShortcut.setCreateDate(createDate); 201 } 202 203 /** 204 * Returns the modified date of this document library file shortcut. 205 * 206 * @return the modified date of this document library file shortcut 207 */ 208 public java.util.Date getModifiedDate() { 209 return _dlFileShortcut.getModifiedDate(); 210 } 211 212 /** 213 * Sets the modified date of this document library file shortcut. 214 * 215 * @param modifiedDate the modified date of this document library file shortcut 216 */ 217 public void setModifiedDate(java.util.Date modifiedDate) { 218 _dlFileShortcut.setModifiedDate(modifiedDate); 219 } 220 221 /** 222 * Returns the repository ID of this document library file shortcut. 223 * 224 * @return the repository ID of this document library file shortcut 225 */ 226 public long getRepositoryId() { 227 return _dlFileShortcut.getRepositoryId(); 228 } 229 230 /** 231 * Sets the repository ID of this document library file shortcut. 232 * 233 * @param repositoryId the repository ID of this document library file shortcut 234 */ 235 public void setRepositoryId(long repositoryId) { 236 _dlFileShortcut.setRepositoryId(repositoryId); 237 } 238 239 /** 240 * Returns the folder ID of this document library file shortcut. 241 * 242 * @return the folder ID of this document library file shortcut 243 */ 244 public long getFolderId() { 245 return _dlFileShortcut.getFolderId(); 246 } 247 248 /** 249 * Sets the folder ID of this document library file shortcut. 250 * 251 * @param folderId the folder ID of this document library file shortcut 252 */ 253 public void setFolderId(long folderId) { 254 _dlFileShortcut.setFolderId(folderId); 255 } 256 257 /** 258 * Returns the to file entry ID of this document library file shortcut. 259 * 260 * @return the to file entry ID of this document library file shortcut 261 */ 262 public long getToFileEntryId() { 263 return _dlFileShortcut.getToFileEntryId(); 264 } 265 266 /** 267 * Sets the to file entry ID of this document library file shortcut. 268 * 269 * @param toFileEntryId the to file entry ID of this document library file shortcut 270 */ 271 public void setToFileEntryId(long toFileEntryId) { 272 _dlFileShortcut.setToFileEntryId(toFileEntryId); 273 } 274 275 /** 276 * Returns the status of this document library file shortcut. 277 * 278 * @return the status of this document library file shortcut 279 */ 280 public int getStatus() { 281 return _dlFileShortcut.getStatus(); 282 } 283 284 /** 285 * Sets the status of this document library file shortcut. 286 * 287 * @param status the status of this document library file shortcut 288 */ 289 public void setStatus(int status) { 290 _dlFileShortcut.setStatus(status); 291 } 292 293 /** 294 * Returns the status by user ID of this document library file shortcut. 295 * 296 * @return the status by user ID of this document library file shortcut 297 */ 298 public long getStatusByUserId() { 299 return _dlFileShortcut.getStatusByUserId(); 300 } 301 302 /** 303 * Sets the status by user ID of this document library file shortcut. 304 * 305 * @param statusByUserId the status by user ID of this document library file shortcut 306 */ 307 public void setStatusByUserId(long statusByUserId) { 308 _dlFileShortcut.setStatusByUserId(statusByUserId); 309 } 310 311 /** 312 * Returns the status by user uuid of this document library file shortcut. 313 * 314 * @return the status by user uuid of this document library file shortcut 315 * @throws SystemException if a system exception occurred 316 */ 317 public java.lang.String getStatusByUserUuid() 318 throws com.liferay.portal.kernel.exception.SystemException { 319 return _dlFileShortcut.getStatusByUserUuid(); 320 } 321 322 /** 323 * Sets the status by user uuid of this document library file shortcut. 324 * 325 * @param statusByUserUuid the status by user uuid of this document library file shortcut 326 */ 327 public void setStatusByUserUuid(java.lang.String statusByUserUuid) { 328 _dlFileShortcut.setStatusByUserUuid(statusByUserUuid); 329 } 330 331 /** 332 * Returns the status by user name of this document library file shortcut. 333 * 334 * @return the status by user name of this document library file shortcut 335 */ 336 public java.lang.String getStatusByUserName() { 337 return _dlFileShortcut.getStatusByUserName(); 338 } 339 340 /** 341 * Sets the status by user name of this document library file shortcut. 342 * 343 * @param statusByUserName the status by user name of this document library file shortcut 344 */ 345 public void setStatusByUserName(java.lang.String statusByUserName) { 346 _dlFileShortcut.setStatusByUserName(statusByUserName); 347 } 348 349 /** 350 * Returns the status date of this document library file shortcut. 351 * 352 * @return the status date of this document library file shortcut 353 */ 354 public java.util.Date getStatusDate() { 355 return _dlFileShortcut.getStatusDate(); 356 } 357 358 /** 359 * Sets the status date of this document library file shortcut. 360 * 361 * @param statusDate the status date of this document library file shortcut 362 */ 363 public void setStatusDate(java.util.Date statusDate) { 364 _dlFileShortcut.setStatusDate(statusDate); 365 } 366 367 /** 368 * @deprecated Renamed to {@link #isApproved()} 369 */ 370 public boolean getApproved() { 371 return _dlFileShortcut.getApproved(); 372 } 373 374 /** 375 * Returns <code>true</code> if this document library file shortcut is approved. 376 * 377 * @return <code>true</code> if this document library file shortcut is approved; <code>false</code> otherwise 378 */ 379 public boolean isApproved() { 380 return _dlFileShortcut.isApproved(); 381 } 382 383 /** 384 * Returns <code>true</code> if this document library file shortcut is a draft. 385 * 386 * @return <code>true</code> if this document library file shortcut is a draft; <code>false</code> otherwise 387 */ 388 public boolean isDraft() { 389 return _dlFileShortcut.isDraft(); 390 } 391 392 /** 393 * Returns <code>true</code> if this document library file shortcut is expired. 394 * 395 * @return <code>true</code> if this document library file shortcut is expired; <code>false</code> otherwise 396 */ 397 public boolean isExpired() { 398 return _dlFileShortcut.isExpired(); 399 } 400 401 /** 402 * Returns <code>true</code> if this document library file shortcut is pending. 403 * 404 * @return <code>true</code> if this document library file shortcut is pending; <code>false</code> otherwise 405 */ 406 public boolean isPending() { 407 return _dlFileShortcut.isPending(); 408 } 409 410 public boolean isNew() { 411 return _dlFileShortcut.isNew(); 412 } 413 414 public void setNew(boolean n) { 415 _dlFileShortcut.setNew(n); 416 } 417 418 public boolean isCachedModel() { 419 return _dlFileShortcut.isCachedModel(); 420 } 421 422 public void setCachedModel(boolean cachedModel) { 423 _dlFileShortcut.setCachedModel(cachedModel); 424 } 425 426 public boolean isEscapedModel() { 427 return _dlFileShortcut.isEscapedModel(); 428 } 429 430 public java.io.Serializable getPrimaryKeyObj() { 431 return _dlFileShortcut.getPrimaryKeyObj(); 432 } 433 434 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { 435 _dlFileShortcut.setPrimaryKeyObj(primaryKeyObj); 436 } 437 438 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { 439 return _dlFileShortcut.getExpandoBridge(); 440 } 441 442 public void setExpandoBridgeAttributes( 443 com.liferay.portal.service.ServiceContext serviceContext) { 444 _dlFileShortcut.setExpandoBridgeAttributes(serviceContext); 445 } 446 447 @Override 448 public java.lang.Object clone() { 449 return new DLFileShortcutWrapper((DLFileShortcut)_dlFileShortcut.clone()); 450 } 451 452 public int compareTo( 453 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut) { 454 return _dlFileShortcut.compareTo(dlFileShortcut); 455 } 456 457 @Override 458 public int hashCode() { 459 return _dlFileShortcut.hashCode(); 460 } 461 462 public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileShortcut> toCacheModel() { 463 return _dlFileShortcut.toCacheModel(); 464 } 465 466 public com.liferay.portlet.documentlibrary.model.DLFileShortcut toEscapedModel() { 467 return new DLFileShortcutWrapper(_dlFileShortcut.toEscapedModel()); 468 } 469 470 @Override 471 public java.lang.String toString() { 472 return _dlFileShortcut.toString(); 473 } 474 475 public java.lang.String toXmlString() { 476 return _dlFileShortcut.toXmlString(); 477 } 478 479 public void persist() 480 throws com.liferay.portal.kernel.exception.SystemException { 481 _dlFileShortcut.persist(); 482 } 483 484 public com.liferay.portal.kernel.repository.model.Folder getFolder() { 485 return _dlFileShortcut.getFolder(); 486 } 487 488 public java.lang.String getToTitle() { 489 return _dlFileShortcut.getToTitle(); 490 } 491 492 public DLFileShortcut getWrappedDLFileShortcut() { 493 return _dlFileShortcut; 494 } 495 496 public void resetOriginalValues() { 497 _dlFileShortcut.resetOriginalValues(); 498 } 499 500 private DLFileShortcut _dlFileShortcut; 501 }