001
014
015 package com.liferay.portlet.documentlibrary.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019
028 public class DLFileEntryWrapper implements DLFileEntry,
029 ModelWrapper<DLFileEntry> {
030 public DLFileEntryWrapper(DLFileEntry dlFileEntry) {
031 _dlFileEntry = dlFileEntry;
032 }
033
034 public Class<?> getModelClass() {
035 return DLFileEntry.class;
036 }
037
038 public String getModelClassName() {
039 return DLFileEntry.class.getName();
040 }
041
042
047 public long getPrimaryKey() {
048 return _dlFileEntry.getPrimaryKey();
049 }
050
051
056 public void setPrimaryKey(long primaryKey) {
057 _dlFileEntry.setPrimaryKey(primaryKey);
058 }
059
060
065 public java.lang.String getUuid() {
066 return _dlFileEntry.getUuid();
067 }
068
069
074 public void setUuid(java.lang.String uuid) {
075 _dlFileEntry.setUuid(uuid);
076 }
077
078
083 public long getFileEntryId() {
084 return _dlFileEntry.getFileEntryId();
085 }
086
087
092 public void setFileEntryId(long fileEntryId) {
093 _dlFileEntry.setFileEntryId(fileEntryId);
094 }
095
096
101 public long getGroupId() {
102 return _dlFileEntry.getGroupId();
103 }
104
105
110 public void setGroupId(long groupId) {
111 _dlFileEntry.setGroupId(groupId);
112 }
113
114
119 public long getCompanyId() {
120 return _dlFileEntry.getCompanyId();
121 }
122
123
128 public void setCompanyId(long companyId) {
129 _dlFileEntry.setCompanyId(companyId);
130 }
131
132
137 public long getUserId() {
138 return _dlFileEntry.getUserId();
139 }
140
141
146 public void setUserId(long userId) {
147 _dlFileEntry.setUserId(userId);
148 }
149
150
156 public java.lang.String getUserUuid()
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _dlFileEntry.getUserUuid();
159 }
160
161
166 public void setUserUuid(java.lang.String userUuid) {
167 _dlFileEntry.setUserUuid(userUuid);
168 }
169
170
175 public java.lang.String getUserName() {
176 return _dlFileEntry.getUserName();
177 }
178
179
184 public void setUserName(java.lang.String userName) {
185 _dlFileEntry.setUserName(userName);
186 }
187
188
193 public long getVersionUserId() {
194 return _dlFileEntry.getVersionUserId();
195 }
196
197
202 public void setVersionUserId(long versionUserId) {
203 _dlFileEntry.setVersionUserId(versionUserId);
204 }
205
206
212 public java.lang.String getVersionUserUuid()
213 throws com.liferay.portal.kernel.exception.SystemException {
214 return _dlFileEntry.getVersionUserUuid();
215 }
216
217
222 public void setVersionUserUuid(java.lang.String versionUserUuid) {
223 _dlFileEntry.setVersionUserUuid(versionUserUuid);
224 }
225
226
231 public java.lang.String getVersionUserName() {
232 return _dlFileEntry.getVersionUserName();
233 }
234
235
240 public void setVersionUserName(java.lang.String versionUserName) {
241 _dlFileEntry.setVersionUserName(versionUserName);
242 }
243
244
249 public java.util.Date getCreateDate() {
250 return _dlFileEntry.getCreateDate();
251 }
252
253
258 public void setCreateDate(java.util.Date createDate) {
259 _dlFileEntry.setCreateDate(createDate);
260 }
261
262
267 public java.util.Date getModifiedDate() {
268 return _dlFileEntry.getModifiedDate();
269 }
270
271
276 public void setModifiedDate(java.util.Date modifiedDate) {
277 _dlFileEntry.setModifiedDate(modifiedDate);
278 }
279
280
285 public long getRepositoryId() {
286 return _dlFileEntry.getRepositoryId();
287 }
288
289
294 public void setRepositoryId(long repositoryId) {
295 _dlFileEntry.setRepositoryId(repositoryId);
296 }
297
298
303 public long getFolderId() {
304 return _dlFileEntry.getFolderId();
305 }
306
307
312 public void setFolderId(long folderId) {
313 _dlFileEntry.setFolderId(folderId);
314 }
315
316
321 public java.lang.String getName() {
322 return _dlFileEntry.getName();
323 }
324
325
330 public void setName(java.lang.String name) {
331 _dlFileEntry.setName(name);
332 }
333
334
339 public java.lang.String getExtension() {
340 return _dlFileEntry.getExtension();
341 }
342
343
348 public void setExtension(java.lang.String extension) {
349 _dlFileEntry.setExtension(extension);
350 }
351
352
357 public java.lang.String getMimeType() {
358 return _dlFileEntry.getMimeType();
359 }
360
361
366 public void setMimeType(java.lang.String mimeType) {
367 _dlFileEntry.setMimeType(mimeType);
368 }
369
370
375 public java.lang.String getTitle() {
376 return _dlFileEntry.getTitle();
377 }
378
379
384 public void setTitle(java.lang.String title) {
385 _dlFileEntry.setTitle(title);
386 }
387
388
393 public java.lang.String getDescription() {
394 return _dlFileEntry.getDescription();
395 }
396
397
402 public void setDescription(java.lang.String description) {
403 _dlFileEntry.setDescription(description);
404 }
405
406
411 public java.lang.String getExtraSettings() {
412 return _dlFileEntry.getExtraSettings();
413 }
414
415
420 public void setExtraSettings(java.lang.String extraSettings) {
421 _dlFileEntry.setExtraSettings(extraSettings);
422 }
423
424
429 public long getFileEntryTypeId() {
430 return _dlFileEntry.getFileEntryTypeId();
431 }
432
433
438 public void setFileEntryTypeId(long fileEntryTypeId) {
439 _dlFileEntry.setFileEntryTypeId(fileEntryTypeId);
440 }
441
442
447 public java.lang.String getVersion() {
448 return _dlFileEntry.getVersion();
449 }
450
451
456 public void setVersion(java.lang.String version) {
457 _dlFileEntry.setVersion(version);
458 }
459
460
465 public long getSize() {
466 return _dlFileEntry.getSize();
467 }
468
469
474 public void setSize(long size) {
475 _dlFileEntry.setSize(size);
476 }
477
478
483 public int getReadCount() {
484 return _dlFileEntry.getReadCount();
485 }
486
487
492 public void setReadCount(int readCount) {
493 _dlFileEntry.setReadCount(readCount);
494 }
495
496
501 public long getSmallImageId() {
502 return _dlFileEntry.getSmallImageId();
503 }
504
505
510 public void setSmallImageId(long smallImageId) {
511 _dlFileEntry.setSmallImageId(smallImageId);
512 }
513
514
519 public long getLargeImageId() {
520 return _dlFileEntry.getLargeImageId();
521 }
522
523
528 public void setLargeImageId(long largeImageId) {
529 _dlFileEntry.setLargeImageId(largeImageId);
530 }
531
532
537 public long getCustom1ImageId() {
538 return _dlFileEntry.getCustom1ImageId();
539 }
540
541
546 public void setCustom1ImageId(long custom1ImageId) {
547 _dlFileEntry.setCustom1ImageId(custom1ImageId);
548 }
549
550
555 public long getCustom2ImageId() {
556 return _dlFileEntry.getCustom2ImageId();
557 }
558
559
564 public void setCustom2ImageId(long custom2ImageId) {
565 _dlFileEntry.setCustom2ImageId(custom2ImageId);
566 }
567
568 public boolean isNew() {
569 return _dlFileEntry.isNew();
570 }
571
572 public void setNew(boolean n) {
573 _dlFileEntry.setNew(n);
574 }
575
576 public boolean isCachedModel() {
577 return _dlFileEntry.isCachedModel();
578 }
579
580 public void setCachedModel(boolean cachedModel) {
581 _dlFileEntry.setCachedModel(cachedModel);
582 }
583
584 public boolean isEscapedModel() {
585 return _dlFileEntry.isEscapedModel();
586 }
587
588 public java.io.Serializable getPrimaryKeyObj() {
589 return _dlFileEntry.getPrimaryKeyObj();
590 }
591
592 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
593 _dlFileEntry.setPrimaryKeyObj(primaryKeyObj);
594 }
595
596 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
597 return _dlFileEntry.getExpandoBridge();
598 }
599
600 public void setExpandoBridgeAttributes(
601 com.liferay.portal.service.ServiceContext serviceContext) {
602 _dlFileEntry.setExpandoBridgeAttributes(serviceContext);
603 }
604
605 @Override
606 public java.lang.Object clone() {
607 return new DLFileEntryWrapper((DLFileEntry)_dlFileEntry.clone());
608 }
609
610 public int compareTo(
611 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
612 return _dlFileEntry.compareTo(dlFileEntry);
613 }
614
615 @Override
616 public int hashCode() {
617 return _dlFileEntry.hashCode();
618 }
619
620 public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileEntry> toCacheModel() {
621 return _dlFileEntry.toCacheModel();
622 }
623
624 public com.liferay.portlet.documentlibrary.model.DLFileEntry toEscapedModel() {
625 return new DLFileEntryWrapper(_dlFileEntry.toEscapedModel());
626 }
627
628 @Override
629 public java.lang.String toString() {
630 return _dlFileEntry.toString();
631 }
632
633 public java.lang.String toXmlString() {
634 return _dlFileEntry.toXmlString();
635 }
636
637 public void persist()
638 throws com.liferay.portal.kernel.exception.SystemException {
639 _dlFileEntry.persist();
640 }
641
642 public java.io.InputStream getContentStream()
643 throws com.liferay.portal.kernel.exception.PortalException,
644 com.liferay.portal.kernel.exception.SystemException {
645 return _dlFileEntry.getContentStream();
646 }
647
648 public java.io.InputStream getContentStream(java.lang.String version)
649 throws com.liferay.portal.kernel.exception.PortalException,
650 com.liferay.portal.kernel.exception.SystemException {
651 return _dlFileEntry.getContentStream(version);
652 }
653
654 public long getDataRepositoryId() {
655 return _dlFileEntry.getDataRepositoryId();
656 }
657
658 public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties() {
659 return _dlFileEntry.getExtraSettingsProperties();
660 }
661
662 public java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> getFieldsMap(
663 long fileVersionId)
664 throws com.liferay.portal.kernel.exception.PortalException,
665 com.liferay.portal.kernel.exception.SystemException {
666 return _dlFileEntry.getFieldsMap(fileVersionId);
667 }
668
669 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion()
670 throws com.liferay.portal.kernel.exception.PortalException,
671 com.liferay.portal.kernel.exception.SystemException {
672 return _dlFileEntry.getFileVersion();
673 }
674
675 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion(
676 java.lang.String version)
677 throws com.liferay.portal.kernel.exception.PortalException,
678 com.liferay.portal.kernel.exception.SystemException {
679 return _dlFileEntry.getFileVersion(version);
680 }
681
682 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> getFileVersions(
683 int status) throws com.liferay.portal.kernel.exception.SystemException {
684 return _dlFileEntry.getFileVersions(status);
685 }
686
687 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder() {
688 return _dlFileEntry.getFolder();
689 }
690
691 public java.lang.String getIcon() {
692 return _dlFileEntry.getIcon();
693 }
694
695 public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion(
696 boolean trusted)
697 throws com.liferay.portal.kernel.exception.PortalException,
698 com.liferay.portal.kernel.exception.SystemException {
699 return _dlFileEntry.getLatestFileVersion(trusted);
700 }
701
702 public com.liferay.portal.model.Lock getLock() {
703 return _dlFileEntry.getLock();
704 }
705
706 public java.lang.String getLuceneProperties() {
707 return _dlFileEntry.getLuceneProperties();
708 }
709
710 public boolean hasLock() {
711 return _dlFileEntry.hasLock();
712 }
713
714 public boolean isCheckedOut() {
715 return _dlFileEntry.isCheckedOut();
716 }
717
718 public void setExtraSettingsProperties(
719 com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties) {
720 _dlFileEntry.setExtraSettingsProperties(extraSettingsProperties);
721 }
722
723 public void setFileVersion(
724 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion) {
725 _dlFileEntry.setFileVersion(dlFileVersion);
726 }
727
728
731 public DLFileEntry getWrappedDLFileEntry() {
732 return _dlFileEntry;
733 }
734
735 public DLFileEntry getWrappedModel() {
736 return _dlFileEntry;
737 }
738
739 public void resetOriginalValues() {
740 _dlFileEntry.resetOriginalValues();
741 }
742
743 private DLFileEntry _dlFileEntry;
744 }