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.lar.StagedModelType;
024 import com.liferay.portal.kernel.util.GetterUtil;
025 import com.liferay.portal.kernel.util.LocaleUtil;
026 import com.liferay.portal.kernel.util.LocalizationUtil;
027 import com.liferay.portal.kernel.util.ProxyUtil;
028 import com.liferay.portal.kernel.util.StringBundler;
029 import com.liferay.portal.kernel.util.StringPool;
030 import com.liferay.portal.kernel.util.Validator;
031 import com.liferay.portal.model.CacheModel;
032 import com.liferay.portal.model.User;
033 import com.liferay.portal.model.impl.BaseModelImpl;
034 import com.liferay.portal.service.ServiceContext;
035 import com.liferay.portal.service.UserLocalServiceUtil;
036 import com.liferay.portal.util.PortalUtil;
037
038 import com.liferay.portlet.dynamicdatamapping.model.DDMContent;
039 import com.liferay.portlet.dynamicdatamapping.model.DDMContentModel;
040 import com.liferay.portlet.expando.model.ExpandoBridge;
041 import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;
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 @Override
370 public void setModifiedDate(Date modifiedDate) {
371 _modifiedDate = modifiedDate;
372 }
373
374 @Override
375 public String getName() {
376 if (_name == null) {
377 return StringPool.BLANK;
378 }
379 else {
380 return _name;
381 }
382 }
383
384 @Override
385 public String getName(Locale locale) {
386 String languageId = LocaleUtil.toLanguageId(locale);
387
388 return getName(languageId);
389 }
390
391 @Override
392 public String getName(Locale locale, boolean useDefault) {
393 String languageId = LocaleUtil.toLanguageId(locale);
394
395 return getName(languageId, useDefault);
396 }
397
398 @Override
399 public String getName(String languageId) {
400 return LocalizationUtil.getLocalization(getName(), languageId);
401 }
402
403 @Override
404 public String getName(String languageId, boolean useDefault) {
405 return LocalizationUtil.getLocalization(getName(), languageId,
406 useDefault);
407 }
408
409 @Override
410 public String getNameCurrentLanguageId() {
411 return _nameCurrentLanguageId;
412 }
413
414 @JSON
415 @Override
416 public String getNameCurrentValue() {
417 Locale locale = getLocale(_nameCurrentLanguageId);
418
419 return getName(locale);
420 }
421
422 @Override
423 public Map<Locale, String> getNameMap() {
424 return LocalizationUtil.getLocalizationMap(getName());
425 }
426
427 @Override
428 public void setName(String name) {
429 _name = name;
430 }
431
432 @Override
433 public void setName(String name, Locale locale) {
434 setName(name, locale, LocaleUtil.getSiteDefault());
435 }
436
437 @Override
438 public void setName(String name, Locale locale, Locale defaultLocale) {
439 String languageId = LocaleUtil.toLanguageId(locale);
440 String defaultLanguageId = LocaleUtil.toLanguageId(defaultLocale);
441
442 if (Validator.isNotNull(name)) {
443 setName(LocalizationUtil.updateLocalization(getName(), "Name",
444 name, languageId, defaultLanguageId));
445 }
446 else {
447 setName(LocalizationUtil.removeLocalization(getName(), "Name",
448 languageId));
449 }
450 }
451
452 @Override
453 public void setNameCurrentLanguageId(String languageId) {
454 _nameCurrentLanguageId = languageId;
455 }
456
457 @Override
458 public void setNameMap(Map<Locale, String> nameMap) {
459 setNameMap(nameMap, LocaleUtil.getSiteDefault());
460 }
461
462 @Override
463 public void setNameMap(Map<Locale, String> nameMap, Locale defaultLocale) {
464 if (nameMap == null) {
465 return;
466 }
467
468 setName(LocalizationUtil.updateLocalization(nameMap, getName(), "Name",
469 LocaleUtil.toLanguageId(defaultLocale)));
470 }
471
472 @Override
473 public String getDescription() {
474 if (_description == null) {
475 return StringPool.BLANK;
476 }
477 else {
478 return _description;
479 }
480 }
481
482 @Override
483 public void setDescription(String description) {
484 _description = description;
485 }
486
487 @Override
488 public String getData() {
489 if (_data == null) {
490 return StringPool.BLANK;
491 }
492 else {
493 return _data;
494 }
495 }
496
497 @Override
498 public void setData(String data) {
499 _data = data;
500 }
501
502 @Override
503 public StagedModelType getStagedModelType() {
504 return new StagedModelType(PortalUtil.getClassNameId(
505 DDMContent.class.getName()));
506 }
507
508 public long getColumnBitmask() {
509 return _columnBitmask;
510 }
511
512 @Override
513 public ExpandoBridge getExpandoBridge() {
514 return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(),
515 DDMContent.class.getName(), getPrimaryKey());
516 }
517
518 @Override
519 public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
520 ExpandoBridge expandoBridge = getExpandoBridge();
521
522 expandoBridge.setAttributes(serviceContext);
523 }
524
525 @Override
526 public String[] getAvailableLanguageIds() {
527 Set<String> availableLanguageIds = new TreeSet<String>();
528
529 Map<Locale, String> nameMap = getNameMap();
530
531 for (Map.Entry<Locale, String> entry : nameMap.entrySet()) {
532 Locale locale = entry.getKey();
533 String value = entry.getValue();
534
535 if (Validator.isNotNull(value)) {
536 availableLanguageIds.add(LocaleUtil.toLanguageId(locale));
537 }
538 }
539
540 return availableLanguageIds.toArray(new String[availableLanguageIds.size()]);
541 }
542
543 @Override
544 public String getDefaultLanguageId() {
545 String xml = getName();
546
547 if (xml == null) {
548 return StringPool.BLANK;
549 }
550
551 Locale defaultLocale = LocaleUtil.getSiteDefault();
552
553 return LocalizationUtil.getDefaultLanguageId(xml, defaultLocale);
554 }
555
556 @Override
557 public void prepareLocalizedFieldsForImport() throws LocaleException {
558 Locale defaultLocale = LocaleUtil.fromLanguageId(getDefaultLanguageId());
559
560 Locale[] availableLocales = LocaleUtil.fromLanguageIds(getAvailableLanguageIds());
561
562 Locale defaultImportLocale = LocalizationUtil.getDefaultImportLocale(DDMContent.class.getName(),
563 getPrimaryKey(), defaultLocale, availableLocales);
564
565 prepareLocalizedFieldsForImport(defaultImportLocale);
566 }
567
568 @Override
569 @SuppressWarnings("unused")
570 public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
571 throws LocaleException {
572 Locale defaultLocale = LocaleUtil.getSiteDefault();
573
574 String modelDefaultLanguageId = getDefaultLanguageId();
575
576 String name = getName(defaultLocale);
577
578 if (Validator.isNull(name)) {
579 setName(getName(modelDefaultLanguageId), defaultLocale);
580 }
581 else {
582 setName(getName(defaultLocale), defaultLocale, defaultLocale);
583 }
584 }
585
586 @Override
587 public DDMContent toEscapedModel() {
588 if (_escapedModel == null) {
589 _escapedModel = (DDMContent)ProxyUtil.newProxyInstance(_classLoader,
590 _escapedModelInterfaces, new AutoEscapeBeanHandler(this));
591 }
592
593 return _escapedModel;
594 }
595
596 @Override
597 public Object clone() {
598 DDMContentImpl ddmContentImpl = new DDMContentImpl();
599
600 ddmContentImpl.setUuid(getUuid());
601 ddmContentImpl.setContentId(getContentId());
602 ddmContentImpl.setGroupId(getGroupId());
603 ddmContentImpl.setCompanyId(getCompanyId());
604 ddmContentImpl.setUserId(getUserId());
605 ddmContentImpl.setUserName(getUserName());
606 ddmContentImpl.setCreateDate(getCreateDate());
607 ddmContentImpl.setModifiedDate(getModifiedDate());
608 ddmContentImpl.setName(getName());
609 ddmContentImpl.setDescription(getDescription());
610 ddmContentImpl.setData(getData());
611
612 ddmContentImpl.resetOriginalValues();
613
614 return ddmContentImpl;
615 }
616
617 @Override
618 public int compareTo(DDMContent ddmContent) {
619 long primaryKey = ddmContent.getPrimaryKey();
620
621 if (getPrimaryKey() < primaryKey) {
622 return -1;
623 }
624 else if (getPrimaryKey() > primaryKey) {
625 return 1;
626 }
627 else {
628 return 0;
629 }
630 }
631
632 @Override
633 public boolean equals(Object obj) {
634 if (this == obj) {
635 return true;
636 }
637
638 if (!(obj instanceof DDMContent)) {
639 return false;
640 }
641
642 DDMContent ddmContent = (DDMContent)obj;
643
644 long primaryKey = ddmContent.getPrimaryKey();
645
646 if (getPrimaryKey() == primaryKey) {
647 return true;
648 }
649 else {
650 return false;
651 }
652 }
653
654 @Override
655 public int hashCode() {
656 return (int)getPrimaryKey();
657 }
658
659 @Override
660 public boolean isEntityCacheEnabled() {
661 return ENTITY_CACHE_ENABLED;
662 }
663
664 @Override
665 public boolean isFinderCacheEnabled() {
666 return FINDER_CACHE_ENABLED;
667 }
668
669 @Override
670 public void resetOriginalValues() {
671 DDMContentModelImpl ddmContentModelImpl = this;
672
673 ddmContentModelImpl._originalUuid = ddmContentModelImpl._uuid;
674
675 ddmContentModelImpl._originalGroupId = ddmContentModelImpl._groupId;
676
677 ddmContentModelImpl._setOriginalGroupId = false;
678
679 ddmContentModelImpl._originalCompanyId = ddmContentModelImpl._companyId;
680
681 ddmContentModelImpl._setOriginalCompanyId = false;
682
683 ddmContentModelImpl._columnBitmask = 0;
684 }
685
686 @Override
687 public CacheModel<DDMContent> toCacheModel() {
688 DDMContentCacheModel ddmContentCacheModel = new DDMContentCacheModel();
689
690 ddmContentCacheModel.uuid = getUuid();
691
692 String uuid = ddmContentCacheModel.uuid;
693
694 if ((uuid != null) && (uuid.length() == 0)) {
695 ddmContentCacheModel.uuid = null;
696 }
697
698 ddmContentCacheModel.contentId = getContentId();
699
700 ddmContentCacheModel.groupId = getGroupId();
701
702 ddmContentCacheModel.companyId = getCompanyId();
703
704 ddmContentCacheModel.userId = getUserId();
705
706 ddmContentCacheModel.userName = getUserName();
707
708 String userName = ddmContentCacheModel.userName;
709
710 if ((userName != null) && (userName.length() == 0)) {
711 ddmContentCacheModel.userName = null;
712 }
713
714 Date createDate = getCreateDate();
715
716 if (createDate != null) {
717 ddmContentCacheModel.createDate = createDate.getTime();
718 }
719 else {
720 ddmContentCacheModel.createDate = Long.MIN_VALUE;
721 }
722
723 Date modifiedDate = getModifiedDate();
724
725 if (modifiedDate != null) {
726 ddmContentCacheModel.modifiedDate = modifiedDate.getTime();
727 }
728 else {
729 ddmContentCacheModel.modifiedDate = Long.MIN_VALUE;
730 }
731
732 ddmContentCacheModel.name = getName();
733
734 String name = ddmContentCacheModel.name;
735
736 if ((name != null) && (name.length() == 0)) {
737 ddmContentCacheModel.name = null;
738 }
739
740 ddmContentCacheModel.description = getDescription();
741
742 String description = ddmContentCacheModel.description;
743
744 if ((description != null) && (description.length() == 0)) {
745 ddmContentCacheModel.description = null;
746 }
747
748 ddmContentCacheModel.data = getData();
749
750 String data = ddmContentCacheModel.data;
751
752 if ((data != null) && (data.length() == 0)) {
753 ddmContentCacheModel.data = null;
754 }
755
756 return ddmContentCacheModel;
757 }
758
759 @Override
760 public String toString() {
761 StringBundler sb = new StringBundler(23);
762
763 sb.append("{uuid=");
764 sb.append(getUuid());
765 sb.append(", contentId=");
766 sb.append(getContentId());
767 sb.append(", groupId=");
768 sb.append(getGroupId());
769 sb.append(", companyId=");
770 sb.append(getCompanyId());
771 sb.append(", userId=");
772 sb.append(getUserId());
773 sb.append(", userName=");
774 sb.append(getUserName());
775 sb.append(", createDate=");
776 sb.append(getCreateDate());
777 sb.append(", modifiedDate=");
778 sb.append(getModifiedDate());
779 sb.append(", name=");
780 sb.append(getName());
781 sb.append(", description=");
782 sb.append(getDescription());
783 sb.append(", data=");
784 sb.append(getData());
785 sb.append("}");
786
787 return sb.toString();
788 }
789
790 @Override
791 public String toXmlString() {
792 StringBundler sb = new StringBundler(37);
793
794 sb.append("<model><model-name>");
795 sb.append("com.liferay.portlet.dynamicdatamapping.model.DDMContent");
796 sb.append("</model-name>");
797
798 sb.append(
799 "<column><column-name>uuid</column-name><column-value><![CDATA[");
800 sb.append(getUuid());
801 sb.append("]]></column-value></column>");
802 sb.append(
803 "<column><column-name>contentId</column-name><column-value><![CDATA[");
804 sb.append(getContentId());
805 sb.append("]]></column-value></column>");
806 sb.append(
807 "<column><column-name>groupId</column-name><column-value><![CDATA[");
808 sb.append(getGroupId());
809 sb.append("]]></column-value></column>");
810 sb.append(
811 "<column><column-name>companyId</column-name><column-value><![CDATA[");
812 sb.append(getCompanyId());
813 sb.append("]]></column-value></column>");
814 sb.append(
815 "<column><column-name>userId</column-name><column-value><![CDATA[");
816 sb.append(getUserId());
817 sb.append("]]></column-value></column>");
818 sb.append(
819 "<column><column-name>userName</column-name><column-value><![CDATA[");
820 sb.append(getUserName());
821 sb.append("]]></column-value></column>");
822 sb.append(
823 "<column><column-name>createDate</column-name><column-value><![CDATA[");
824 sb.append(getCreateDate());
825 sb.append("]]></column-value></column>");
826 sb.append(
827 "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
828 sb.append(getModifiedDate());
829 sb.append("]]></column-value></column>");
830 sb.append(
831 "<column><column-name>name</column-name><column-value><![CDATA[");
832 sb.append(getName());
833 sb.append("]]></column-value></column>");
834 sb.append(
835 "<column><column-name>description</column-name><column-value><![CDATA[");
836 sb.append(getDescription());
837 sb.append("]]></column-value></column>");
838 sb.append(
839 "<column><column-name>data</column-name><column-value><![CDATA[");
840 sb.append(getData());
841 sb.append("]]></column-value></column>");
842
843 sb.append("</model>");
844
845 return sb.toString();
846 }
847
848 private static final ClassLoader _classLoader = DDMContent.class.getClassLoader();
849 private static final Class<?>[] _escapedModelInterfaces = new Class[] {
850 DDMContent.class
851 };
852 private String _uuid;
853 private String _originalUuid;
854 private long _contentId;
855 private long _groupId;
856 private long _originalGroupId;
857 private boolean _setOriginalGroupId;
858 private long _companyId;
859 private long _originalCompanyId;
860 private boolean _setOriginalCompanyId;
861 private long _userId;
862 private String _userName;
863 private Date _createDate;
864 private Date _modifiedDate;
865 private String _name;
866 private String _nameCurrentLanguageId;
867 private String _description;
868 private String _data;
869 private long _columnBitmask;
870 private DDMContent _escapedModel;
871 }