001
014
015 package com.liferay.portlet.dynamicdatamapping.model.impl;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.LocaleException;
020 import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
021 import com.liferay.portal.kernel.exception.PortalException;
022 import com.liferay.portal.kernel.json.JSON;
023 import com.liferay.portal.kernel.util.GetterUtil;
024 import com.liferay.portal.kernel.util.LocaleUtil;
025 import com.liferay.portal.kernel.util.LocalizationUtil;
026 import com.liferay.portal.kernel.util.ProxyUtil;
027 import com.liferay.portal.kernel.util.StringBundler;
028 import com.liferay.portal.kernel.util.StringPool;
029 import com.liferay.portal.kernel.util.Validator;
030 import com.liferay.portal.model.CacheModel;
031 import com.liferay.portal.model.User;
032 import com.liferay.portal.model.impl.BaseModelImpl;
033 import com.liferay.portal.service.ServiceContext;
034 import com.liferay.portal.service.UserLocalServiceUtil;
035 import com.liferay.portal.util.PortalUtil;
036
037 import com.liferay.portlet.dynamicdatamapping.model.DDMContent;
038 import com.liferay.portlet.dynamicdatamapping.model.DDMContentModel;
039 import com.liferay.portlet.expando.model.ExpandoBridge;
040 import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;
041 import com.liferay.portlet.exportimport.lar.StagedModelType;
042
043 import java.io.Serializable;
044
045 import java.sql.Types;
046
047 import java.util.Date;
048 import java.util.HashMap;
049 import java.util.Locale;
050 import java.util.Map;
051 import java.util.Set;
052 import java.util.TreeSet;
053
054
067 @ProviderType
068 public class DDMContentModelImpl extends BaseModelImpl<DDMContent>
069 implements DDMContentModel {
070
075 public static final String TABLE_NAME = "DDMContent";
076 public static final Object[][] TABLE_COLUMNS = {
077 { "uuid_", Types.VARCHAR },
078 { "contentId", Types.BIGINT },
079 { "groupId", Types.BIGINT },
080 { "companyId", Types.BIGINT },
081 { "userId", Types.BIGINT },
082 { "userName", Types.VARCHAR },
083 { "createDate", Types.TIMESTAMP },
084 { "modifiedDate", Types.TIMESTAMP },
085 { "name", Types.VARCHAR },
086 { "description", Types.VARCHAR },
087 { "data_", Types.CLOB }
088 };
089 public static final String TABLE_SQL_CREATE = "create table DDMContent (uuid_ VARCHAR(75) null,contentId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,name STRING null,description STRING null,data_ TEXT null)";
090 public static final String TABLE_SQL_DROP = "drop table DDMContent";
091 public static final String ORDER_BY_JPQL = " ORDER BY ddmContent.contentId ASC";
092 public static final String ORDER_BY_SQL = " ORDER BY DDMContent.contentId ASC";
093 public static final String DATA_SOURCE = "liferayDataSource";
094 public static final String SESSION_FACTORY = "liferaySessionFactory";
095 public static final String TX_MANAGER = "liferayTransactionManager";
096 public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
097 "value.object.entity.cache.enabled.com.liferay.portlet.dynamicdatamapping.model.DDMContent"),
098 true);
099 public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
100 "value.object.finder.cache.enabled.com.liferay.portlet.dynamicdatamapping.model.DDMContent"),
101 true);
102 public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
103 "value.object.column.bitmask.enabled.com.liferay.portlet.dynamicdatamapping.model.DDMContent"),
104 true);
105 public static final long COMPANYID_COLUMN_BITMASK = 1L;
106 public static final long GROUPID_COLUMN_BITMASK = 2L;
107 public static final long UUID_COLUMN_BITMASK = 4L;
108 public static final long CONTENTID_COLUMN_BITMASK = 8L;
109 public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.portal.util.PropsUtil.get(
110 "lock.expiration.time.com.liferay.portlet.dynamicdatamapping.model.DDMContent"));
111
112 public DDMContentModelImpl() {
113 }
114
115 @Override
116 public long getPrimaryKey() {
117 return _contentId;
118 }
119
120 @Override
121 public void setPrimaryKey(long primaryKey) {
122 setContentId(primaryKey);
123 }
124
125 @Override
126 public Serializable getPrimaryKeyObj() {
127 return _contentId;
128 }
129
130 @Override
131 public void setPrimaryKeyObj(Serializable primaryKeyObj) {
132 setPrimaryKey(((Long)primaryKeyObj).longValue());
133 }
134
135 @Override
136 public Class<?> getModelClass() {
137 return DDMContent.class;
138 }
139
140 @Override
141 public String getModelClassName() {
142 return DDMContent.class.getName();
143 }
144
145 @Override
146 public Map<String, Object> getModelAttributes() {
147 Map<String, Object> attributes = new HashMap<String, Object>();
148
149 attributes.put("uuid", getUuid());
150 attributes.put("contentId", getContentId());
151 attributes.put("groupId", getGroupId());
152 attributes.put("companyId", getCompanyId());
153 attributes.put("userId", getUserId());
154 attributes.put("userName", getUserName());
155 attributes.put("createDate", getCreateDate());
156 attributes.put("modifiedDate", getModifiedDate());
157 attributes.put("name", getName());
158 attributes.put("description", getDescription());
159 attributes.put("data", getData());
160
161 attributes.put("entityCacheEnabled", isEntityCacheEnabled());
162 attributes.put("finderCacheEnabled", isFinderCacheEnabled());
163
164 return attributes;
165 }
166
167 @Override
168 public void setModelAttributes(Map<String, Object> attributes) {
169 String uuid = (String)attributes.get("uuid");
170
171 if (uuid != null) {
172 setUuid(uuid);
173 }
174
175 Long contentId = (Long)attributes.get("contentId");
176
177 if (contentId != null) {
178 setContentId(contentId);
179 }
180
181 Long groupId = (Long)attributes.get("groupId");
182
183 if (groupId != null) {
184 setGroupId(groupId);
185 }
186
187 Long companyId = (Long)attributes.get("companyId");
188
189 if (companyId != null) {
190 setCompanyId(companyId);
191 }
192
193 Long userId = (Long)attributes.get("userId");
194
195 if (userId != null) {
196 setUserId(userId);
197 }
198
199 String userName = (String)attributes.get("userName");
200
201 if (userName != null) {
202 setUserName(userName);
203 }
204
205 Date createDate = (Date)attributes.get("createDate");
206
207 if (createDate != null) {
208 setCreateDate(createDate);
209 }
210
211 Date modifiedDate = (Date)attributes.get("modifiedDate");
212
213 if (modifiedDate != null) {
214 setModifiedDate(modifiedDate);
215 }
216
217 String name = (String)attributes.get("name");
218
219 if (name != null) {
220 setName(name);
221 }
222
223 String description = (String)attributes.get("description");
224
225 if (description != null) {
226 setDescription(description);
227 }
228
229 String data = (String)attributes.get("data");
230
231 if (data != null) {
232 setData(data);
233 }
234 }
235
236 @Override
237 public String getUuid() {
238 if (_uuid == null) {
239 return StringPool.BLANK;
240 }
241 else {
242 return _uuid;
243 }
244 }
245
246 @Override
247 public void setUuid(String uuid) {
248 if (_originalUuid == null) {
249 _originalUuid = _uuid;
250 }
251
252 _uuid = uuid;
253 }
254
255 public String getOriginalUuid() {
256 return GetterUtil.getString(_originalUuid);
257 }
258
259 @Override
260 public long getContentId() {
261 return _contentId;
262 }
263
264 @Override
265 public void setContentId(long contentId) {
266 _contentId = contentId;
267 }
268
269 @Override
270 public long getGroupId() {
271 return _groupId;
272 }
273
274 @Override
275 public void setGroupId(long groupId) {
276 _columnBitmask |= GROUPID_COLUMN_BITMASK;
277
278 if (!_setOriginalGroupId) {
279 _setOriginalGroupId = true;
280
281 _originalGroupId = _groupId;
282 }
283
284 _groupId = groupId;
285 }
286
287 public long getOriginalGroupId() {
288 return _originalGroupId;
289 }
290
291 @Override
292 public long getCompanyId() {
293 return _companyId;
294 }
295
296 @Override
297 public void setCompanyId(long companyId) {
298 _columnBitmask |= COMPANYID_COLUMN_BITMASK;
299
300 if (!_setOriginalCompanyId) {
301 _setOriginalCompanyId = true;
302
303 _originalCompanyId = _companyId;
304 }
305
306 _companyId = companyId;
307 }
308
309 public long getOriginalCompanyId() {
310 return _originalCompanyId;
311 }
312
313 @Override
314 public long getUserId() {
315 return _userId;
316 }
317
318 @Override
319 public void setUserId(long userId) {
320 _userId = userId;
321 }
322
323 @Override
324 public String getUserUuid() {
325 try {
326 User user = UserLocalServiceUtil.getUserById(getUserId());
327
328 return user.getUuid();
329 }
330 catch (PortalException pe) {
331 return StringPool.BLANK;
332 }
333 }
334
335 @Override
336 public void setUserUuid(String userUuid) {
337 }
338
339 @Override
340 public String getUserName() {
341 if (_userName == null) {
342 return StringPool.BLANK;
343 }
344 else {
345 return _userName;
346 }
347 }
348
349 @Override
350 public void setUserName(String userName) {
351 _userName = userName;
352 }
353
354 @Override
355 public Date getCreateDate() {
356 return _createDate;
357 }
358
359 @Override
360 public void setCreateDate(Date createDate) {
361 _createDate = createDate;
362 }
363
364 @Override
365 public Date getModifiedDate() {
366 return _modifiedDate;
367 }
368
369 public boolean hasSetModifiedDate() {
370 return _setModifiedDate;
371 }
372
373 @Override
374 public void setModifiedDate(Date modifiedDate) {
375 _setModifiedDate = true;
376
377 _modifiedDate = modifiedDate;
378 }
379
380 @Override
381 public String getName() {
382 if (_name == null) {
383 return StringPool.BLANK;
384 }
385 else {
386 return _name;
387 }
388 }
389
390 @Override
391 public String getName(Locale locale) {
392 String languageId = LocaleUtil.toLanguageId(locale);
393
394 return getName(languageId);
395 }
396
397 @Override
398 public String getName(Locale locale, boolean useDefault) {
399 String languageId = LocaleUtil.toLanguageId(locale);
400
401 return getName(languageId, useDefault);
402 }
403
404 @Override
405 public String getName(String languageId) {
406 return LocalizationUtil.getLocalization(getName(), languageId);
407 }
408
409 @Override
410 public String getName(String languageId, boolean useDefault) {
411 return LocalizationUtil.getLocalization(getName(), languageId,
412 useDefault);
413 }
414
415 @Override
416 public String getNameCurrentLanguageId() {
417 return _nameCurrentLanguageId;
418 }
419
420 @JSON
421 @Override
422 public String getNameCurrentValue() {
423 Locale locale = getLocale(_nameCurrentLanguageId);
424
425 return getName(locale);
426 }
427
428 @Override
429 public Map<Locale, String> getNameMap() {
430 return LocalizationUtil.getLocalizationMap(getName());
431 }
432
433 @Override
434 public void setName(String name) {
435 _name = name;
436 }
437
438 @Override
439 public void setName(String name, Locale locale) {
440 setName(name, locale, LocaleUtil.getSiteDefault());
441 }
442
443 @Override
444 public void setName(String name, Locale locale, Locale defaultLocale) {
445 String languageId = LocaleUtil.toLanguageId(locale);
446 String defaultLanguageId = LocaleUtil.toLanguageId(defaultLocale);
447
448 if (Validator.isNotNull(name)) {
449 setName(LocalizationUtil.updateLocalization(getName(), "Name",
450 name, languageId, defaultLanguageId));
451 }
452 else {
453 setName(LocalizationUtil.removeLocalization(getName(), "Name",
454 languageId));
455 }
456 }
457
458 @Override
459 public void setNameCurrentLanguageId(String languageId) {
460 _nameCurrentLanguageId = languageId;
461 }
462
463 @Override
464 public void setNameMap(Map<Locale, String> nameMap) {
465 setNameMap(nameMap, LocaleUtil.getSiteDefault());
466 }
467
468 @Override
469 public void setNameMap(Map<Locale, String> nameMap, Locale defaultLocale) {
470 if (nameMap == null) {
471 return;
472 }
473
474 setName(LocalizationUtil.updateLocalization(nameMap, getName(), "Name",
475 LocaleUtil.toLanguageId(defaultLocale)));
476 }
477
478 @Override
479 public String getDescription() {
480 if (_description == null) {
481 return StringPool.BLANK;
482 }
483 else {
484 return _description;
485 }
486 }
487
488 @Override
489 public void setDescription(String description) {
490 _description = description;
491 }
492
493 @Override
494 public String getData() {
495 if (_data == null) {
496 return StringPool.BLANK;
497 }
498 else {
499 return _data;
500 }
501 }
502
503 @Override
504 public void setData(String data) {
505 _data = data;
506 }
507
508 @Override
509 public StagedModelType getStagedModelType() {
510 return new StagedModelType(PortalUtil.getClassNameId(
511 DDMContent.class.getName()));
512 }
513
514 public long getColumnBitmask() {
515 return _columnBitmask;
516 }
517
518 @Override
519 public ExpandoBridge getExpandoBridge() {
520 return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(),
521 DDMContent.class.getName(), getPrimaryKey());
522 }
523
524 @Override
525 public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
526 ExpandoBridge expandoBridge = getExpandoBridge();
527
528 expandoBridge.setAttributes(serviceContext);
529 }
530
531 @Override
532 public String[] getAvailableLanguageIds() {
533 Set<String> availableLanguageIds = new TreeSet<String>();
534
535 Map<Locale, String> nameMap = getNameMap();
536
537 for (Map.Entry<Locale, String> entry : nameMap.entrySet()) {
538 Locale locale = entry.getKey();
539 String value = entry.getValue();
540
541 if (Validator.isNotNull(value)) {
542 availableLanguageIds.add(LocaleUtil.toLanguageId(locale));
543 }
544 }
545
546 return availableLanguageIds.toArray(new String[availableLanguageIds.size()]);
547 }
548
549 @Override
550 public String getDefaultLanguageId() {
551 String xml = getName();
552
553 if (xml == null) {
554 return StringPool.BLANK;
555 }
556
557 Locale defaultLocale = LocaleUtil.getSiteDefault();
558
559 return LocalizationUtil.getDefaultLanguageId(xml, defaultLocale);
560 }
561
562 @Override
563 public void prepareLocalizedFieldsForImport() throws LocaleException {
564 Locale defaultLocale = LocaleUtil.fromLanguageId(getDefaultLanguageId());
565
566 Locale[] availableLocales = LocaleUtil.fromLanguageIds(getAvailableLanguageIds());
567
568 Locale defaultImportLocale = LocalizationUtil.getDefaultImportLocale(DDMContent.class.getName(),
569 getPrimaryKey(), defaultLocale, availableLocales);
570
571 prepareLocalizedFieldsForImport(defaultImportLocale);
572 }
573
574 @Override
575 @SuppressWarnings("unused")
576 public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
577 throws LocaleException {
578 Locale defaultLocale = LocaleUtil.getSiteDefault();
579
580 String modelDefaultLanguageId = getDefaultLanguageId();
581
582 String name = getName(defaultLocale);
583
584 if (Validator.isNull(name)) {
585 setName(getName(modelDefaultLanguageId), defaultLocale);
586 }
587 else {
588 setName(getName(defaultLocale), defaultLocale, defaultLocale);
589 }
590 }
591
592 @Override
593 public DDMContent toEscapedModel() {
594 if (_escapedModel == null) {
595 _escapedModel = (DDMContent)ProxyUtil.newProxyInstance(_classLoader,
596 _escapedModelInterfaces, new AutoEscapeBeanHandler(this));
597 }
598
599 return _escapedModel;
600 }
601
602 @Override
603 public Object clone() {
604 DDMContentImpl ddmContentImpl = new DDMContentImpl();
605
606 ddmContentImpl.setUuid(getUuid());
607 ddmContentImpl.setContentId(getContentId());
608 ddmContentImpl.setGroupId(getGroupId());
609 ddmContentImpl.setCompanyId(getCompanyId());
610 ddmContentImpl.setUserId(getUserId());
611 ddmContentImpl.setUserName(getUserName());
612 ddmContentImpl.setCreateDate(getCreateDate());
613 ddmContentImpl.setModifiedDate(getModifiedDate());
614 ddmContentImpl.setName(getName());
615 ddmContentImpl.setDescription(getDescription());
616 ddmContentImpl.setData(getData());
617
618 ddmContentImpl.resetOriginalValues();
619
620 return ddmContentImpl;
621 }
622
623 @Override
624 public int compareTo(DDMContent ddmContent) {
625 long primaryKey = ddmContent.getPrimaryKey();
626
627 if (getPrimaryKey() < primaryKey) {
628 return -1;
629 }
630 else if (getPrimaryKey() > primaryKey) {
631 return 1;
632 }
633 else {
634 return 0;
635 }
636 }
637
638 @Override
639 public boolean equals(Object obj) {
640 if (this == obj) {
641 return true;
642 }
643
644 if (!(obj instanceof DDMContent)) {
645 return false;
646 }
647
648 DDMContent ddmContent = (DDMContent)obj;
649
650 long primaryKey = ddmContent.getPrimaryKey();
651
652 if (getPrimaryKey() == primaryKey) {
653 return true;
654 }
655 else {
656 return false;
657 }
658 }
659
660 @Override
661 public int hashCode() {
662 return (int)getPrimaryKey();
663 }
664
665 @Override
666 public boolean isEntityCacheEnabled() {
667 return ENTITY_CACHE_ENABLED;
668 }
669
670 @Override
671 public boolean isFinderCacheEnabled() {
672 return FINDER_CACHE_ENABLED;
673 }
674
675 @Override
676 public void resetOriginalValues() {
677 DDMContentModelImpl ddmContentModelImpl = this;
678
679 ddmContentModelImpl._originalUuid = ddmContentModelImpl._uuid;
680
681 ddmContentModelImpl._originalGroupId = ddmContentModelImpl._groupId;
682
683 ddmContentModelImpl._setOriginalGroupId = false;
684
685 ddmContentModelImpl._originalCompanyId = ddmContentModelImpl._companyId;
686
687 ddmContentModelImpl._setOriginalCompanyId = false;
688
689 ddmContentModelImpl._setModifiedDate = false;
690
691 ddmContentModelImpl._columnBitmask = 0;
692 }
693
694 @Override
695 public CacheModel<DDMContent> toCacheModel() {
696 DDMContentCacheModel ddmContentCacheModel = new DDMContentCacheModel();
697
698 ddmContentCacheModel.uuid = getUuid();
699
700 String uuid = ddmContentCacheModel.uuid;
701
702 if ((uuid != null) && (uuid.length() == 0)) {
703 ddmContentCacheModel.uuid = null;
704 }
705
706 ddmContentCacheModel.contentId = getContentId();
707
708 ddmContentCacheModel.groupId = getGroupId();
709
710 ddmContentCacheModel.companyId = getCompanyId();
711
712 ddmContentCacheModel.userId = getUserId();
713
714 ddmContentCacheModel.userName = getUserName();
715
716 String userName = ddmContentCacheModel.userName;
717
718 if ((userName != null) && (userName.length() == 0)) {
719 ddmContentCacheModel.userName = null;
720 }
721
722 Date createDate = getCreateDate();
723
724 if (createDate != null) {
725 ddmContentCacheModel.createDate = createDate.getTime();
726 }
727 else {
728 ddmContentCacheModel.createDate = Long.MIN_VALUE;
729 }
730
731 Date modifiedDate = getModifiedDate();
732
733 if (modifiedDate != null) {
734 ddmContentCacheModel.modifiedDate = modifiedDate.getTime();
735 }
736 else {
737 ddmContentCacheModel.modifiedDate = Long.MIN_VALUE;
738 }
739
740 ddmContentCacheModel.name = getName();
741
742 String name = ddmContentCacheModel.name;
743
744 if ((name != null) && (name.length() == 0)) {
745 ddmContentCacheModel.name = null;
746 }
747
748 ddmContentCacheModel.description = getDescription();
749
750 String description = ddmContentCacheModel.description;
751
752 if ((description != null) && (description.length() == 0)) {
753 ddmContentCacheModel.description = null;
754 }
755
756 ddmContentCacheModel.data = getData();
757
758 String data = ddmContentCacheModel.data;
759
760 if ((data != null) && (data.length() == 0)) {
761 ddmContentCacheModel.data = null;
762 }
763
764 return ddmContentCacheModel;
765 }
766
767 @Override
768 public String toString() {
769 StringBundler sb = new StringBundler(23);
770
771 sb.append("{uuid=");
772 sb.append(getUuid());
773 sb.append(", contentId=");
774 sb.append(getContentId());
775 sb.append(", groupId=");
776 sb.append(getGroupId());
777 sb.append(", companyId=");
778 sb.append(getCompanyId());
779 sb.append(", userId=");
780 sb.append(getUserId());
781 sb.append(", userName=");
782 sb.append(getUserName());
783 sb.append(", createDate=");
784 sb.append(getCreateDate());
785 sb.append(", modifiedDate=");
786 sb.append(getModifiedDate());
787 sb.append(", name=");
788 sb.append(getName());
789 sb.append(", description=");
790 sb.append(getDescription());
791 sb.append(", data=");
792 sb.append(getData());
793 sb.append("}");
794
795 return sb.toString();
796 }
797
798 @Override
799 public String toXmlString() {
800 StringBundler sb = new StringBundler(37);
801
802 sb.append("<model><model-name>");
803 sb.append("com.liferay.portlet.dynamicdatamapping.model.DDMContent");
804 sb.append("</model-name>");
805
806 sb.append(
807 "<column><column-name>uuid</column-name><column-value><![CDATA[");
808 sb.append(getUuid());
809 sb.append("]]></column-value></column>");
810 sb.append(
811 "<column><column-name>contentId</column-name><column-value><![CDATA[");
812 sb.append(getContentId());
813 sb.append("]]></column-value></column>");
814 sb.append(
815 "<column><column-name>groupId</column-name><column-value><![CDATA[");
816 sb.append(getGroupId());
817 sb.append("]]></column-value></column>");
818 sb.append(
819 "<column><column-name>companyId</column-name><column-value><![CDATA[");
820 sb.append(getCompanyId());
821 sb.append("]]></column-value></column>");
822 sb.append(
823 "<column><column-name>userId</column-name><column-value><![CDATA[");
824 sb.append(getUserId());
825 sb.append("]]></column-value></column>");
826 sb.append(
827 "<column><column-name>userName</column-name><column-value><![CDATA[");
828 sb.append(getUserName());
829 sb.append("]]></column-value></column>");
830 sb.append(
831 "<column><column-name>createDate</column-name><column-value><![CDATA[");
832 sb.append(getCreateDate());
833 sb.append("]]></column-value></column>");
834 sb.append(
835 "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
836 sb.append(getModifiedDate());
837 sb.append("]]></column-value></column>");
838 sb.append(
839 "<column><column-name>name</column-name><column-value><![CDATA[");
840 sb.append(getName());
841 sb.append("]]></column-value></column>");
842 sb.append(
843 "<column><column-name>description</column-name><column-value><![CDATA[");
844 sb.append(getDescription());
845 sb.append("]]></column-value></column>");
846 sb.append(
847 "<column><column-name>data</column-name><column-value><![CDATA[");
848 sb.append(getData());
849 sb.append("]]></column-value></column>");
850
851 sb.append("</model>");
852
853 return sb.toString();
854 }
855
856 private static final ClassLoader _classLoader = DDMContent.class.getClassLoader();
857 private static final Class<?>[] _escapedModelInterfaces = new Class[] {
858 DDMContent.class
859 };
860 private String _uuid;
861 private String _originalUuid;
862 private long _contentId;
863 private long _groupId;
864 private long _originalGroupId;
865 private boolean _setOriginalGroupId;
866 private long _companyId;
867 private long _originalCompanyId;
868 private boolean _setOriginalCompanyId;
869 private long _userId;
870 private String _userName;
871 private Date _createDate;
872 private Date _modifiedDate;
873 private boolean _setModifiedDate;
874 private String _name;
875 private String _nameCurrentLanguageId;
876 private String _description;
877 private String _data;
878 private long _columnBitmask;
879 private DDMContent _escapedModel;
880 }