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