001
014
015 package com.liferay.portlet.documentlibrary.model;
016
017
026 public class DLFileEntryWrapper implements DLFileEntry {
027 public DLFileEntryWrapper(DLFileEntry dlFileEntry) {
028 _dlFileEntry = dlFileEntry;
029 }
030
031 public Class<?> getModelClass() {
032 return DLFileEntry.class;
033 }
034
035 public String getModelClassName() {
036 return DLFileEntry.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _dlFileEntry.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _dlFileEntry.setPrimaryKey(primaryKey);
055 }
056
057
062 public java.lang.String getUuid() {
063 return _dlFileEntry.getUuid();
064 }
065
066
071 public void setUuid(java.lang.String uuid) {
072 _dlFileEntry.setUuid(uuid);
073 }
074
075
080 public long getFileEntryId() {
081 return _dlFileEntry.getFileEntryId();
082 }
083
084
089 public void setFileEntryId(long fileEntryId) {
090 _dlFileEntry.setFileEntryId(fileEntryId);
091 }
092
093
098 public long getGroupId() {
099 return _dlFileEntry.getGroupId();
100 }
101
102
107 public void setGroupId(long groupId) {
108 _dlFileEntry.setGroupId(groupId);
109 }
110
111
116 public long getCompanyId() {
117 return _dlFileEntry.getCompanyId();
118 }
119
120
125 public void setCompanyId(long companyId) {
126 _dlFileEntry.setCompanyId(companyId);
127 }
128
129
134 public long getUserId() {
135 return _dlFileEntry.getUserId();
136 }
137
138
143 public void setUserId(long userId) {
144 _dlFileEntry.setUserId(userId);
145 }
146
147
153 public java.lang.String getUserUuid()
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _dlFileEntry.getUserUuid();
156 }
157
158
163 public void setUserUuid(java.lang.String userUuid) {
164 _dlFileEntry.setUserUuid(userUuid);
165 }
166
167
172 public java.lang.String getUserName() {
173 return _dlFileEntry.getUserName();
174 }
175
176
181 public void setUserName(java.lang.String userName) {
182 _dlFileEntry.setUserName(userName);
183 }
184
185
190 public long getVersionUserId() {
191 return _dlFileEntry.getVersionUserId();
192 }
193
194
199 public void setVersionUserId(long versionUserId) {
200 _dlFileEntry.setVersionUserId(versionUserId);
201 }
202
203
209 public java.lang.String getVersionUserUuid()
210 throws com.liferay.portal.kernel.exception.SystemException {
211 return _dlFileEntry.getVersionUserUuid();
212 }
213
214
219 public void setVersionUserUuid(java.lang.String versionUserUuid) {
220 _dlFileEntry.setVersionUserUuid(versionUserUuid);
221 }
222
223
228 public java.lang.String getVersionUserName() {
229 return _dlFileEntry.getVersionUserName();
230 }
231
232
237 public void setVersionUserName(java.lang.String versionUserName) {
238 _dlFileEntry.setVersionUserName(versionUserName);
239 }
240
241
246 public java.util.Date getCreateDate() {
247 return _dlFileEntry.getCreateDate();
248 }
249
250
255 public void setCreateDate(java.util.Date createDate) {
256 _dlFileEntry.setCreateDate(createDate);
257 }
258
259
264 public java.util.Date getModifiedDate() {
265 return _dlFileEntry.getModifiedDate();
266 }
267
268
273 public void setModifiedDate(java.util.Date modifiedDate) {
274 _dlFileEntry.setModifiedDate(modifiedDate);
275 }
276
277
282 public long getRepositoryId() {
283 return _dlFileEntry.getRepositoryId();
284 }
285
286
291 public void setRepositoryId(long repositoryId) {
292 _dlFileEntry.setRepositoryId(repositoryId);
293 }
294
295
300 public long getFolderId() {
301 return _dlFileEntry.getFolderId();
302 }
303
304
309 public void setFolderId(long folderId) {
310 _dlFileEntry.setFolderId(folderId);
311 }
312
313
318 public java.lang.String getName() {
319 return _dlFileEntry.getName();
320 }
321
322
327 public void setName(java.lang.String name) {
328 _dlFileEntry.setName(name);
329 }
330
331
336 public java.lang.String getExtension() {
337 return _dlFileEntry.getExtension();
338 }
339
340
345 public void setExtension(java.lang.String extension) {
346 _dlFileEntry.setExtension(extension);
347 }
348
349
354 public java.lang.String getMimeType() {
355 return _dlFileEntry.getMimeType();
356 }
357
358
363 public void setMimeType(java.lang.String mimeType) {
364 _dlFileEntry.setMimeType(mimeType);
365 }
366
367
372 public java.lang.String getTitle() {
373 return _dlFileEntry.getTitle();
374 }
375
376
381 public void setTitle(java.lang.String title) {
382 _dlFileEntry.setTitle(title);
383 }
384
385
390 public java.lang.String getDescription() {
391 return _dlFileEntry.getDescription();
392 }
393
394
399 public void setDescription(java.lang.String description) {
400 _dlFileEntry.setDescription(description);
401 }
402
403
408 public java.lang.String getExtraSettings() {
409 return _dlFileEntry.getExtraSettings();
410 }
411
412
417 public void setExtraSettings(java.lang.String extraSettings) {
418 _dlFileEntry.setExtraSettings(extraSettings);
419 }
420
421
426 public long getFileEntryTypeId() {
427 return _dlFileEntry.getFileEntryTypeId();
428 }
429
430
435 public void setFileEntryTypeId(long fileEntryTypeId) {
436 _dlFileEntry.setFileEntryTypeId(fileEntryTypeId);
437 }
438
439
444 public java.lang.String getVersion() {
445 return _dlFileEntry.getVersion();
446 }
447
448
453 public void setVersion(java.lang.String version) {
454 _dlFileEntry.setVersion(version);
455 }
456
457
462 public long getSize() {
463 return _dlFileEntry.getSize();
464 }
465
466
471 public void setSize(long size) {
472 _dlFileEntry.setSize(size);
473 }
474
475
480 public int getReadCount() {
481 return _dlFileEntry.getReadCount();
482 }
483
484
489 public void setReadCount(int readCount) {
490 _dlFileEntry.setReadCount(readCount);
491 }
492
493
498 public long getSmallImageId() {
499 return _dlFileEntry.getSmallImageId();
500 }
501
502
507 public void setSmallImageId(long smallImageId) {
508 _dlFileEntry.setSmallImageId(smallImageId);
509 }
510
511
516 public long getLargeImageId() {
517 return _dlFileEntry.getLargeImageId();
518 }
519
520
525 public void setLargeImageId(long largeImageId) {
526 _dlFileEntry.setLargeImageId(largeImageId);
527 }
528
529
534 public long getCustom1ImageId() {
535 return _dlFileEntry.getCustom1ImageId();
536 }
537
538
543 public void setCustom1ImageId(long custom1ImageId) {
544 _dlFileEntry.setCustom1ImageId(custom1ImageId);
545 }
546
547
552 public long getCustom2ImageId() {
553 return _dlFileEntry.getCustom2ImageId();
554 }
555
556
561 public void setCustom2ImageId(long custom2ImageId) {
562 _dlFileEntry.setCustom2ImageId(custom2ImageId);
563 }
564
565 public boolean isNew() {
566 return _dlFileEntry.isNew();
567 }
568
569 public void setNew(boolean n) {
570 _dlFileEntry.setNew(n);
571 }
572
573 public boolean isCachedModel() {
574 return _dlFileEntry.isCachedModel();
575 }
576
577 public void setCachedModel(boolean cachedModel) {
578 _dlFileEntry.setCachedModel(cachedModel);
579 }
580
581 public boolean isEscapedModel() {
582 return _dlFileEntry.isEscapedModel();
583 }
584
585 public java.io.Serializable getPrimaryKeyObj() {
586 return _dlFileEntry.getPrimaryKeyObj();
587 }
588
589 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
590 _dlFileEntry.setPrimaryKeyObj(primaryKeyObj);
591 }
592
593 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
594 return _dlFileEntry.getExpandoBridge();
595 }
596
597 public void setExpandoBridgeAttributes(
598 com.liferay.portal.service.ServiceContext serviceContext) {
599 _dlFileEntry.setExpandoBridgeAttributes(serviceContext);
600 }
601
602 @Override
603 public java.lang.Object clone() {
604 return new DLFileEntryWrapper((DLFileEntry)_dlFileEntry.clone());
605 }
606
607 public int compareTo(
608 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
609 return _dlFileEntry.compareTo(dlFileEntry);
610 }
611
612 @Override
613 public int hashCode() {
614 return _dlFileEntry.hashCode();
615 }
616
617 public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileEntry> toCacheModel() {
618 return _dlFileEntry.toCacheModel();
619 }
620
621 public com.liferay.portlet.documentlibrary.model.DLFileEntry toEscapedModel() {
622 return new DLFileEntryWrapper(_dlFileEntry.toEscapedModel());
623 }
624
625 @Override
626 public java.lang.String toString() {
627 return _dlFileEntry.toString();
628 }
629
630 public java.lang.String toXmlString() {
631 return _dlFileEntry.toXmlString();
632 }
633
634 public void persist()
635 throws com.liferay.portal.kernel.exception.SystemException {
636 _dlFileEntry.persist();
637 }
638
639 public java.io.InputStream getContentStream()
640 throws com.liferay.portal.kernel.exception.PortalException,
641 com.liferay.portal.kernel.exception.SystemException {
642 return _dlFileEntry.getContentStream();
643 }
644
645 public java.io.InputStream getContentStream(java.lang.String version)
646 throws com.liferay.portal.kernel.exception.PortalException,
647 com.liferay.portal.kernel.exception.SystemException {
648 return _dlFileEntry.getContentStream(version);
649 }
650
651 public long getDataRepositoryId() {
652 return _dlFileEntry.getDataRepositoryId();
653 }
654
655 public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties() {
656 return _dlFileEntry.getExtraSettingsProperties();
657 }
658
659 public java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> getFieldsMap(
660 long fileVersionId)
661 throws com.liferay.portal.kernel.exception.PortalException,
662 com.liferay.portal.kernel.exception.SystemException {
663 return _dlFileEntry.getFieldsMap(fileVersionId);
664 }
665
666 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion()
667 throws com.liferay.portal.kernel.exception.PortalException,
668 com.liferay.portal.kernel.exception.SystemException {
669 return _dlFileEntry.getFileVersion();
670 }
671
672 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion(
673 java.lang.String version)
674 throws com.liferay.portal.kernel.exception.PortalException,
675 com.liferay.portal.kernel.exception.SystemException {
676 return _dlFileEntry.getFileVersion(version);
677 }
678
679 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> getFileVersions(
680 int status) throws com.liferay.portal.kernel.exception.SystemException {
681 return _dlFileEntry.getFileVersions(status);
682 }
683
684 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder() {
685 return _dlFileEntry.getFolder();
686 }
687
688 public java.lang.String getIcon() {
689 return _dlFileEntry.getIcon();
690 }
691
692 public java.lang.String getImageType() {
693 return _dlFileEntry.getImageType();
694 }
695
696 public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion(
697 boolean trusted)
698 throws com.liferay.portal.kernel.exception.PortalException,
699 com.liferay.portal.kernel.exception.SystemException {
700 return _dlFileEntry.getLatestFileVersion(trusted);
701 }
702
703 public com.liferay.portal.model.Lock getLock() {
704 return _dlFileEntry.getLock();
705 }
706
707 public java.lang.String getLuceneProperties() {
708 return _dlFileEntry.getLuceneProperties();
709 }
710
711 public java.lang.String getNameWithExtension() {
712 return _dlFileEntry.getNameWithExtension();
713 }
714
715 public boolean hasLock() {
716 return _dlFileEntry.hasLock();
717 }
718
719 public boolean isCheckedOut() {
720 return _dlFileEntry.isCheckedOut();
721 }
722
723 public void setExtraSettingsProperties(
724 com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties) {
725 _dlFileEntry.setExtraSettingsProperties(extraSettingsProperties);
726 }
727
728 public void setFileVersion(
729 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion) {
730 _dlFileEntry.setFileVersion(dlFileVersion);
731 }
732
733 public DLFileEntry getWrappedDLFileEntry() {
734 return _dlFileEntry;
735 }
736
737 public void resetOriginalValues() {
738 _dlFileEntry.resetOriginalValues();
739 }
740
741 private DLFileEntry _dlFileEntry;
742 }