001
014
015 package com.liferay.portlet.exportimport.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.util.Validator;
020 import com.liferay.portal.model.ModelWrapper;
021
022 import java.util.Date;
023 import java.util.HashMap;
024 import java.util.Map;
025
026
035 @ProviderType
036 public class ExportImportConfigurationWrapper
037 implements ExportImportConfiguration,
038 ModelWrapper<ExportImportConfiguration> {
039 public ExportImportConfigurationWrapper(
040 ExportImportConfiguration exportImportConfiguration) {
041 _exportImportConfiguration = exportImportConfiguration;
042 }
043
044 @Override
045 public Class<?> getModelClass() {
046 return ExportImportConfiguration.class;
047 }
048
049 @Override
050 public String getModelClassName() {
051 return ExportImportConfiguration.class.getName();
052 }
053
054 @Override
055 public Map<String, Object> getModelAttributes() {
056 Map<String, Object> attributes = new HashMap<String, Object>();
057
058 attributes.put("mvccVersion", getMvccVersion());
059 attributes.put("exportImportConfigurationId",
060 getExportImportConfigurationId());
061 attributes.put("groupId", getGroupId());
062 attributes.put("companyId", getCompanyId());
063 attributes.put("userId", getUserId());
064 attributes.put("userName", getUserName());
065 attributes.put("createDate", getCreateDate());
066 attributes.put("modifiedDate", getModifiedDate());
067 attributes.put("name", getName());
068 attributes.put("description", getDescription());
069 attributes.put("type", getType());
070 attributes.put("settings", getSettings());
071 attributes.put("status", getStatus());
072 attributes.put("statusByUserId", getStatusByUserId());
073 attributes.put("statusByUserName", getStatusByUserName());
074 attributes.put("statusDate", getStatusDate());
075
076 return attributes;
077 }
078
079 @Override
080 public void setModelAttributes(Map<String, Object> attributes) {
081 Long mvccVersion = (Long)attributes.get("mvccVersion");
082
083 if (mvccVersion != null) {
084 setMvccVersion(mvccVersion);
085 }
086
087 Long exportImportConfigurationId = (Long)attributes.get(
088 "exportImportConfigurationId");
089
090 if (exportImportConfigurationId != null) {
091 setExportImportConfigurationId(exportImportConfigurationId);
092 }
093
094 Long groupId = (Long)attributes.get("groupId");
095
096 if (groupId != null) {
097 setGroupId(groupId);
098 }
099
100 Long companyId = (Long)attributes.get("companyId");
101
102 if (companyId != null) {
103 setCompanyId(companyId);
104 }
105
106 Long userId = (Long)attributes.get("userId");
107
108 if (userId != null) {
109 setUserId(userId);
110 }
111
112 String userName = (String)attributes.get("userName");
113
114 if (userName != null) {
115 setUserName(userName);
116 }
117
118 Date createDate = (Date)attributes.get("createDate");
119
120 if (createDate != null) {
121 setCreateDate(createDate);
122 }
123
124 Date modifiedDate = (Date)attributes.get("modifiedDate");
125
126 if (modifiedDate != null) {
127 setModifiedDate(modifiedDate);
128 }
129
130 String name = (String)attributes.get("name");
131
132 if (name != null) {
133 setName(name);
134 }
135
136 String description = (String)attributes.get("description");
137
138 if (description != null) {
139 setDescription(description);
140 }
141
142 Integer type = (Integer)attributes.get("type");
143
144 if (type != null) {
145 setType(type);
146 }
147
148 String settings = (String)attributes.get("settings");
149
150 if (settings != null) {
151 setSettings(settings);
152 }
153
154 Integer status = (Integer)attributes.get("status");
155
156 if (status != null) {
157 setStatus(status);
158 }
159
160 Long statusByUserId = (Long)attributes.get("statusByUserId");
161
162 if (statusByUserId != null) {
163 setStatusByUserId(statusByUserId);
164 }
165
166 String statusByUserName = (String)attributes.get("statusByUserName");
167
168 if (statusByUserName != null) {
169 setStatusByUserName(statusByUserName);
170 }
171
172 Date statusDate = (Date)attributes.get("statusDate");
173
174 if (statusDate != null) {
175 setStatusDate(statusDate);
176 }
177 }
178
179 @Override
180 public java.lang.Object clone() {
181 return new ExportImportConfigurationWrapper((ExportImportConfiguration)_exportImportConfiguration.clone());
182 }
183
184 @Override
185 public int compareTo(
186 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) {
187 return _exportImportConfiguration.compareTo(exportImportConfiguration);
188 }
189
190
193 @Deprecated
194 @Override
195 public boolean getApproved() {
196 return _exportImportConfiguration.getApproved();
197 }
198
199
204 @Override
205 public long getCompanyId() {
206 return _exportImportConfiguration.getCompanyId();
207 }
208
209
214 @Override
215 public Date getCreateDate() {
216 return _exportImportConfiguration.getCreateDate();
217 }
218
219
224 @Override
225 public java.lang.String getDescription() {
226 return _exportImportConfiguration.getDescription();
227 }
228
229 @Override
230 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
231 return _exportImportConfiguration.getExpandoBridge();
232 }
233
234
239 @Override
240 public long getExportImportConfigurationId() {
241 return _exportImportConfiguration.getExportImportConfigurationId();
242 }
243
244
249 @Override
250 public long getGroupId() {
251 return _exportImportConfiguration.getGroupId();
252 }
253
254
259 @Override
260 public Date getModifiedDate() {
261 return _exportImportConfiguration.getModifiedDate();
262 }
263
264
269 @Override
270 public long getMvccVersion() {
271 return _exportImportConfiguration.getMvccVersion();
272 }
273
274
279 @Override
280 public java.lang.String getName() {
281 return _exportImportConfiguration.getName();
282 }
283
284
289 @Override
290 public long getPrimaryKey() {
291 return _exportImportConfiguration.getPrimaryKey();
292 }
293
294 @Override
295 public java.io.Serializable getPrimaryKeyObj() {
296 return _exportImportConfiguration.getPrimaryKeyObj();
297 }
298
299
304 @Override
305 public java.lang.String getSettings() {
306 return _exportImportConfiguration.getSettings();
307 }
308
309 @Override
310 public Map<java.lang.String, java.io.Serializable> getSettingsMap() {
311 return _exportImportConfiguration.getSettingsMap();
312 }
313
314
319 @Override
320 public int getStatus() {
321 return _exportImportConfiguration.getStatus();
322 }
323
324
329 @Override
330 public long getStatusByUserId() {
331 return _exportImportConfiguration.getStatusByUserId();
332 }
333
334
339 @Override
340 public java.lang.String getStatusByUserName() {
341 return _exportImportConfiguration.getStatusByUserName();
342 }
343
344
349 @Override
350 public java.lang.String getStatusByUserUuid() {
351 return _exportImportConfiguration.getStatusByUserUuid();
352 }
353
354
359 @Override
360 public Date getStatusDate() {
361 return _exportImportConfiguration.getStatusDate();
362 }
363
364
369 @Override
370 public com.liferay.portlet.trash.model.TrashEntry getTrashEntry()
371 throws com.liferay.portal.kernel.exception.PortalException {
372 return _exportImportConfiguration.getTrashEntry();
373 }
374
375
380 @Override
381 public long getTrashEntryClassPK() {
382 return _exportImportConfiguration.getTrashEntryClassPK();
383 }
384
385
390 @Override
391 public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
392 return _exportImportConfiguration.getTrashHandler();
393 }
394
395
400 @Override
401 public int getType() {
402 return _exportImportConfiguration.getType();
403 }
404
405
410 @Override
411 public long getUserId() {
412 return _exportImportConfiguration.getUserId();
413 }
414
415
420 @Override
421 public java.lang.String getUserName() {
422 return _exportImportConfiguration.getUserName();
423 }
424
425
430 @Override
431 public java.lang.String getUserUuid() {
432 return _exportImportConfiguration.getUserUuid();
433 }
434
435 @Override
436 public int hashCode() {
437 return _exportImportConfiguration.hashCode();
438 }
439
440
445 @Override
446 public boolean isApproved() {
447 return _exportImportConfiguration.isApproved();
448 }
449
450 @Override
451 public boolean isCachedModel() {
452 return _exportImportConfiguration.isCachedModel();
453 }
454
455
460 @Override
461 public boolean isDenied() {
462 return _exportImportConfiguration.isDenied();
463 }
464
465
470 @Override
471 public boolean isDraft() {
472 return _exportImportConfiguration.isDraft();
473 }
474
475 @Override
476 public boolean isEscapedModel() {
477 return _exportImportConfiguration.isEscapedModel();
478 }
479
480
485 @Override
486 public boolean isExpired() {
487 return _exportImportConfiguration.isExpired();
488 }
489
490
495 @Override
496 public boolean isInTrash() {
497 return _exportImportConfiguration.isInTrash();
498 }
499
500
505 @Override
506 public boolean isInTrashContainer() {
507 return _exportImportConfiguration.isInTrashContainer();
508 }
509
510 @Override
511 public boolean isInTrashExplicitly() {
512 return _exportImportConfiguration.isInTrashExplicitly();
513 }
514
515 @Override
516 public boolean isInTrashImplicitly() {
517 return _exportImportConfiguration.isInTrashImplicitly();
518 }
519
520
525 @Override
526 public boolean isInactive() {
527 return _exportImportConfiguration.isInactive();
528 }
529
530
535 @Override
536 public boolean isIncomplete() {
537 return _exportImportConfiguration.isIncomplete();
538 }
539
540 @Override
541 public boolean isNew() {
542 return _exportImportConfiguration.isNew();
543 }
544
545
550 @Override
551 public boolean isPending() {
552 return _exportImportConfiguration.isPending();
553 }
554
555
560 @Override
561 public boolean isScheduled() {
562 return _exportImportConfiguration.isScheduled();
563 }
564
565 @Override
566 public void persist() {
567 _exportImportConfiguration.persist();
568 }
569
570 @Override
571 public void setCachedModel(boolean cachedModel) {
572 _exportImportConfiguration.setCachedModel(cachedModel);
573 }
574
575
580 @Override
581 public void setCompanyId(long companyId) {
582 _exportImportConfiguration.setCompanyId(companyId);
583 }
584
585
590 @Override
591 public void setCreateDate(Date createDate) {
592 _exportImportConfiguration.setCreateDate(createDate);
593 }
594
595
600 @Override
601 public void setDescription(java.lang.String description) {
602 _exportImportConfiguration.setDescription(description);
603 }
604
605 @Override
606 public void setExpandoBridgeAttributes(
607 com.liferay.portal.model.BaseModel<?> baseModel) {
608 _exportImportConfiguration.setExpandoBridgeAttributes(baseModel);
609 }
610
611 @Override
612 public void setExpandoBridgeAttributes(
613 com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
614 _exportImportConfiguration.setExpandoBridgeAttributes(expandoBridge);
615 }
616
617 @Override
618 public void setExpandoBridgeAttributes(
619 com.liferay.portal.service.ServiceContext serviceContext) {
620 _exportImportConfiguration.setExpandoBridgeAttributes(serviceContext);
621 }
622
623
628 @Override
629 public void setExportImportConfigurationId(long exportImportConfigurationId) {
630 _exportImportConfiguration.setExportImportConfigurationId(exportImportConfigurationId);
631 }
632
633
638 @Override
639 public void setGroupId(long groupId) {
640 _exportImportConfiguration.setGroupId(groupId);
641 }
642
643
648 @Override
649 public void setModifiedDate(Date modifiedDate) {
650 _exportImportConfiguration.setModifiedDate(modifiedDate);
651 }
652
653
658 @Override
659 public void setMvccVersion(long mvccVersion) {
660 _exportImportConfiguration.setMvccVersion(mvccVersion);
661 }
662
663
668 @Override
669 public void setName(java.lang.String name) {
670 _exportImportConfiguration.setName(name);
671 }
672
673 @Override
674 public void setNew(boolean n) {
675 _exportImportConfiguration.setNew(n);
676 }
677
678
683 @Override
684 public void setPrimaryKey(long primaryKey) {
685 _exportImportConfiguration.setPrimaryKey(primaryKey);
686 }
687
688 @Override
689 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
690 _exportImportConfiguration.setPrimaryKeyObj(primaryKeyObj);
691 }
692
693
698 @Override
699 public void setSettings(java.lang.String settings) {
700 _exportImportConfiguration.setSettings(settings);
701 }
702
703
708 @Override
709 public void setStatus(int status) {
710 _exportImportConfiguration.setStatus(status);
711 }
712
713
718 @Override
719 public void setStatusByUserId(long statusByUserId) {
720 _exportImportConfiguration.setStatusByUserId(statusByUserId);
721 }
722
723
728 @Override
729 public void setStatusByUserName(java.lang.String statusByUserName) {
730 _exportImportConfiguration.setStatusByUserName(statusByUserName);
731 }
732
733
738 @Override
739 public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
740 _exportImportConfiguration.setStatusByUserUuid(statusByUserUuid);
741 }
742
743
748 @Override
749 public void setStatusDate(Date statusDate) {
750 _exportImportConfiguration.setStatusDate(statusDate);
751 }
752
753
758 @Override
759 public void setType(int type) {
760 _exportImportConfiguration.setType(type);
761 }
762
763
768 @Override
769 public void setUserId(long userId) {
770 _exportImportConfiguration.setUserId(userId);
771 }
772
773
778 @Override
779 public void setUserName(java.lang.String userName) {
780 _exportImportConfiguration.setUserName(userName);
781 }
782
783
788 @Override
789 public void setUserUuid(java.lang.String userUuid) {
790 _exportImportConfiguration.setUserUuid(userUuid);
791 }
792
793 @Override
794 public com.liferay.portal.model.CacheModel<com.liferay.portlet.exportimport.model.ExportImportConfiguration> toCacheModel() {
795 return _exportImportConfiguration.toCacheModel();
796 }
797
798 @Override
799 public com.liferay.portlet.exportimport.model.ExportImportConfiguration toEscapedModel() {
800 return new ExportImportConfigurationWrapper(_exportImportConfiguration.toEscapedModel());
801 }
802
803 @Override
804 public java.lang.String toString() {
805 return _exportImportConfiguration.toString();
806 }
807
808 @Override
809 public com.liferay.portlet.exportimport.model.ExportImportConfiguration toUnescapedModel() {
810 return new ExportImportConfigurationWrapper(_exportImportConfiguration.toUnescapedModel());
811 }
812
813 @Override
814 public java.lang.String toXmlString() {
815 return _exportImportConfiguration.toXmlString();
816 }
817
818 @Override
819 public boolean equals(Object obj) {
820 if (this == obj) {
821 return true;
822 }
823
824 if (!(obj instanceof ExportImportConfigurationWrapper)) {
825 return false;
826 }
827
828 ExportImportConfigurationWrapper exportImportConfigurationWrapper = (ExportImportConfigurationWrapper)obj;
829
830 if (Validator.equals(_exportImportConfiguration,
831 exportImportConfigurationWrapper._exportImportConfiguration)) {
832 return true;
833 }
834
835 return false;
836 }
837
838
841 @Deprecated
842 public ExportImportConfiguration getWrappedExportImportConfiguration() {
843 return _exportImportConfiguration;
844 }
845
846 @Override
847 public ExportImportConfiguration getWrappedModel() {
848 return _exportImportConfiguration;
849 }
850
851 @Override
852 public boolean isEntityCacheEnabled() {
853 return _exportImportConfiguration.isEntityCacheEnabled();
854 }
855
856 @Override
857 public boolean isFinderCacheEnabled() {
858 return _exportImportConfiguration.isFinderCacheEnabled();
859 }
860
861 @Override
862 public void resetOriginalValues() {
863 _exportImportConfiguration.resetOriginalValues();
864 }
865
866 private final ExportImportConfiguration _exportImportConfiguration;
867 }