001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.model.impl;
016    
017    import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.kernel.util.GetterUtil;
020    import com.liferay.portal.kernel.util.StringBundler;
021    import com.liferay.portal.kernel.util.StringPool;
022    import com.liferay.portal.model.impl.BaseModelImpl;
023    import com.liferay.portal.service.ServiceContext;
024    import com.liferay.portal.util.PortalUtil;
025    
026    import com.liferay.portlet.expando.model.ExpandoBridge;
027    import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;
028    import com.liferay.portlet.journal.model.JournalFeed;
029    import com.liferay.portlet.journal.model.JournalFeedModel;
030    import com.liferay.portlet.journal.model.JournalFeedSoap;
031    
032    import java.io.Serializable;
033    
034    import java.lang.reflect.Proxy;
035    
036    import java.sql.Types;
037    
038    import java.util.ArrayList;
039    import java.util.Date;
040    import java.util.List;
041    
042    /**
043     * The base model implementation for the JournalFeed service. Represents a row in the "JournalFeed" database table, with each column mapped to a property of this class.
044     *
045     * <p>
046     * This implementation and its corresponding interface {@link com.liferay.portlet.journal.model.JournalFeedModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link JournalFeedImpl}.
047     * </p>
048     *
049     * <p>
050     * Never modify or reference this class directly. All methods that expect a journal feed model instance should use the {@link com.liferay.portlet.journal.model.JournalFeed} interface instead.
051     * </p>
052     *
053     * @author Brian Wing Shun Chan
054     * @see JournalFeedImpl
055     * @see com.liferay.portlet.journal.model.JournalFeed
056     * @see com.liferay.portlet.journal.model.JournalFeedModel
057     * @generated
058     */
059    public class JournalFeedModelImpl extends BaseModelImpl<JournalFeed>
060            implements JournalFeedModel {
061            public static final String TABLE_NAME = "JournalFeed";
062            public static final Object[][] TABLE_COLUMNS = {
063                            { "uuid_", new Integer(Types.VARCHAR) },
064                            { "id_", new Integer(Types.BIGINT) },
065                            { "groupId", new Integer(Types.BIGINT) },
066                            { "companyId", new Integer(Types.BIGINT) },
067                            { "userId", new Integer(Types.BIGINT) },
068                            { "userName", new Integer(Types.VARCHAR) },
069                            { "createDate", new Integer(Types.TIMESTAMP) },
070                            { "modifiedDate", new Integer(Types.TIMESTAMP) },
071                            { "feedId", new Integer(Types.VARCHAR) },
072                            { "name", new Integer(Types.VARCHAR) },
073                            { "description", new Integer(Types.VARCHAR) },
074                            { "type_", new Integer(Types.VARCHAR) },
075                            { "structureId", new Integer(Types.VARCHAR) },
076                            { "templateId", new Integer(Types.VARCHAR) },
077                            { "rendererTemplateId", new Integer(Types.VARCHAR) },
078                            { "delta", new Integer(Types.INTEGER) },
079                            { "orderByCol", new Integer(Types.VARCHAR) },
080                            { "orderByType", new Integer(Types.VARCHAR) },
081                            { "targetLayoutFriendlyUrl", new Integer(Types.VARCHAR) },
082                            { "targetPortletId", new Integer(Types.VARCHAR) },
083                            { "contentField", new Integer(Types.VARCHAR) },
084                            { "feedType", new Integer(Types.VARCHAR) },
085                            { "feedVersion", new Integer(Types.DOUBLE) }
086                    };
087            public static final String TABLE_SQL_CREATE = "create table JournalFeed (uuid_ VARCHAR(75) null,id_ LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,feedId VARCHAR(75) null,name VARCHAR(75) null,description STRING null,type_ VARCHAR(75) null,structureId VARCHAR(75) null,templateId VARCHAR(75) null,rendererTemplateId VARCHAR(75) null,delta INTEGER,orderByCol VARCHAR(75) null,orderByType VARCHAR(75) null,targetLayoutFriendlyUrl VARCHAR(255) null,targetPortletId VARCHAR(75) null,contentField VARCHAR(75) null,feedType VARCHAR(75) null,feedVersion DOUBLE)";
088            public static final String TABLE_SQL_DROP = "drop table JournalFeed";
089            public static final String ORDER_BY_JPQL = " ORDER BY journalFeed.feedId ASC";
090            public static final String ORDER_BY_SQL = " ORDER BY JournalFeed.feedId ASC";
091            public static final String DATA_SOURCE = "liferayDataSource";
092            public static final String SESSION_FACTORY = "liferaySessionFactory";
093            public static final String TX_MANAGER = "liferayTransactionManager";
094            public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
095                                    "value.object.entity.cache.enabled.com.liferay.portlet.journal.model.JournalFeed"),
096                            true);
097            public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
098                                    "value.object.finder.cache.enabled.com.liferay.portlet.journal.model.JournalFeed"),
099                            true);
100    
101            /**
102             * Converts the soap model instance into a normal model instance.
103             *
104             * @param soapModel the soap model instance to convert
105             * @return the normal model instance
106             */
107            public static JournalFeed toModel(JournalFeedSoap soapModel) {
108                    JournalFeed model = new JournalFeedImpl();
109    
110                    model.setUuid(soapModel.getUuid());
111                    model.setId(soapModel.getId());
112                    model.setGroupId(soapModel.getGroupId());
113                    model.setCompanyId(soapModel.getCompanyId());
114                    model.setUserId(soapModel.getUserId());
115                    model.setUserName(soapModel.getUserName());
116                    model.setCreateDate(soapModel.getCreateDate());
117                    model.setModifiedDate(soapModel.getModifiedDate());
118                    model.setFeedId(soapModel.getFeedId());
119                    model.setName(soapModel.getName());
120                    model.setDescription(soapModel.getDescription());
121                    model.setType(soapModel.getType());
122                    model.setStructureId(soapModel.getStructureId());
123                    model.setTemplateId(soapModel.getTemplateId());
124                    model.setRendererTemplateId(soapModel.getRendererTemplateId());
125                    model.setDelta(soapModel.getDelta());
126                    model.setOrderByCol(soapModel.getOrderByCol());
127                    model.setOrderByType(soapModel.getOrderByType());
128                    model.setTargetLayoutFriendlyUrl(soapModel.getTargetLayoutFriendlyUrl());
129                    model.setTargetPortletId(soapModel.getTargetPortletId());
130                    model.setContentField(soapModel.getContentField());
131                    model.setFeedType(soapModel.getFeedType());
132                    model.setFeedVersion(soapModel.getFeedVersion());
133    
134                    return model;
135            }
136    
137            /**
138             * Converts the soap model instances into normal model instances.
139             *
140             * @param soapModels the soap model instances to convert
141             * @return the normal model instances
142             */
143            public static List<JournalFeed> toModels(JournalFeedSoap[] soapModels) {
144                    List<JournalFeed> models = new ArrayList<JournalFeed>(soapModels.length);
145    
146                    for (JournalFeedSoap soapModel : soapModels) {
147                            models.add(toModel(soapModel));
148                    }
149    
150                    return models;
151            }
152    
153            public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.portal.util.PropsUtil.get(
154                                    "lock.expiration.time.com.liferay.portlet.journal.model.JournalFeed"));
155    
156            public JournalFeedModelImpl() {
157            }
158    
159            public long getPrimaryKey() {
160                    return _id;
161            }
162    
163            public void setPrimaryKey(long pk) {
164                    setId(pk);
165            }
166    
167            public Serializable getPrimaryKeyObj() {
168                    return new Long(_id);
169            }
170    
171            public String getUuid() {
172                    if (_uuid == null) {
173                            return StringPool.BLANK;
174                    }
175                    else {
176                            return _uuid;
177                    }
178            }
179    
180            public void setUuid(String uuid) {
181                    _uuid = uuid;
182    
183                    if (_originalUuid == null) {
184                            _originalUuid = uuid;
185                    }
186            }
187    
188            public String getOriginalUuid() {
189                    return GetterUtil.getString(_originalUuid);
190            }
191    
192            public long getId() {
193                    return _id;
194            }
195    
196            public void setId(long id) {
197                    _id = id;
198            }
199    
200            public long getGroupId() {
201                    return _groupId;
202            }
203    
204            public void setGroupId(long groupId) {
205                    _groupId = groupId;
206    
207                    if (!_setOriginalGroupId) {
208                            _setOriginalGroupId = true;
209    
210                            _originalGroupId = groupId;
211                    }
212            }
213    
214            public long getOriginalGroupId() {
215                    return _originalGroupId;
216            }
217    
218            public long getCompanyId() {
219                    return _companyId;
220            }
221    
222            public void setCompanyId(long companyId) {
223                    _companyId = companyId;
224            }
225    
226            public long getUserId() {
227                    return _userId;
228            }
229    
230            public void setUserId(long userId) {
231                    _userId = userId;
232            }
233    
234            public String getUserUuid() throws SystemException {
235                    return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
236            }
237    
238            public void setUserUuid(String userUuid) {
239                    _userUuid = userUuid;
240            }
241    
242            public String getUserName() {
243                    if (_userName == null) {
244                            return StringPool.BLANK;
245                    }
246                    else {
247                            return _userName;
248                    }
249            }
250    
251            public void setUserName(String userName) {
252                    _userName = userName;
253            }
254    
255            public Date getCreateDate() {
256                    return _createDate;
257            }
258    
259            public void setCreateDate(Date createDate) {
260                    _createDate = createDate;
261            }
262    
263            public Date getModifiedDate() {
264                    return _modifiedDate;
265            }
266    
267            public void setModifiedDate(Date modifiedDate) {
268                    _modifiedDate = modifiedDate;
269            }
270    
271            public String getFeedId() {
272                    if (_feedId == null) {
273                            return StringPool.BLANK;
274                    }
275                    else {
276                            return _feedId;
277                    }
278            }
279    
280            public void setFeedId(String feedId) {
281                    _feedId = feedId;
282    
283                    if (_originalFeedId == null) {
284                            _originalFeedId = feedId;
285                    }
286            }
287    
288            public String getOriginalFeedId() {
289                    return GetterUtil.getString(_originalFeedId);
290            }
291    
292            public String getName() {
293                    if (_name == null) {
294                            return StringPool.BLANK;
295                    }
296                    else {
297                            return _name;
298                    }
299            }
300    
301            public void setName(String name) {
302                    _name = name;
303            }
304    
305            public String getDescription() {
306                    if (_description == null) {
307                            return StringPool.BLANK;
308                    }
309                    else {
310                            return _description;
311                    }
312            }
313    
314            public void setDescription(String description) {
315                    _description = description;
316            }
317    
318            public String getType() {
319                    if (_type == null) {
320                            return StringPool.BLANK;
321                    }
322                    else {
323                            return _type;
324                    }
325            }
326    
327            public void setType(String type) {
328                    _type = type;
329            }
330    
331            public String getStructureId() {
332                    if (_structureId == null) {
333                            return StringPool.BLANK;
334                    }
335                    else {
336                            return _structureId;
337                    }
338            }
339    
340            public void setStructureId(String structureId) {
341                    _structureId = structureId;
342            }
343    
344            public String getTemplateId() {
345                    if (_templateId == null) {
346                            return StringPool.BLANK;
347                    }
348                    else {
349                            return _templateId;
350                    }
351            }
352    
353            public void setTemplateId(String templateId) {
354                    _templateId = templateId;
355            }
356    
357            public String getRendererTemplateId() {
358                    if (_rendererTemplateId == null) {
359                            return StringPool.BLANK;
360                    }
361                    else {
362                            return _rendererTemplateId;
363                    }
364            }
365    
366            public void setRendererTemplateId(String rendererTemplateId) {
367                    _rendererTemplateId = rendererTemplateId;
368            }
369    
370            public int getDelta() {
371                    return _delta;
372            }
373    
374            public void setDelta(int delta) {
375                    _delta = delta;
376            }
377    
378            public String getOrderByCol() {
379                    if (_orderByCol == null) {
380                            return StringPool.BLANK;
381                    }
382                    else {
383                            return _orderByCol;
384                    }
385            }
386    
387            public void setOrderByCol(String orderByCol) {
388                    _orderByCol = orderByCol;
389            }
390    
391            public String getOrderByType() {
392                    if (_orderByType == null) {
393                            return StringPool.BLANK;
394                    }
395                    else {
396                            return _orderByType;
397                    }
398            }
399    
400            public void setOrderByType(String orderByType) {
401                    _orderByType = orderByType;
402            }
403    
404            public String getTargetLayoutFriendlyUrl() {
405                    if (_targetLayoutFriendlyUrl == null) {
406                            return StringPool.BLANK;
407                    }
408                    else {
409                            return _targetLayoutFriendlyUrl;
410                    }
411            }
412    
413            public void setTargetLayoutFriendlyUrl(String targetLayoutFriendlyUrl) {
414                    _targetLayoutFriendlyUrl = targetLayoutFriendlyUrl;
415            }
416    
417            public String getTargetPortletId() {
418                    if (_targetPortletId == null) {
419                            return StringPool.BLANK;
420                    }
421                    else {
422                            return _targetPortletId;
423                    }
424            }
425    
426            public void setTargetPortletId(String targetPortletId) {
427                    _targetPortletId = targetPortletId;
428            }
429    
430            public String getContentField() {
431                    if (_contentField == null) {
432                            return StringPool.BLANK;
433                    }
434                    else {
435                            return _contentField;
436                    }
437            }
438    
439            public void setContentField(String contentField) {
440                    _contentField = contentField;
441            }
442    
443            public String getFeedType() {
444                    if (_feedType == null) {
445                            return StringPool.BLANK;
446                    }
447                    else {
448                            return _feedType;
449                    }
450            }
451    
452            public void setFeedType(String feedType) {
453                    _feedType = feedType;
454            }
455    
456            public double getFeedVersion() {
457                    return _feedVersion;
458            }
459    
460            public void setFeedVersion(double feedVersion) {
461                    _feedVersion = feedVersion;
462            }
463    
464            public JournalFeed toEscapedModel() {
465                    if (isEscapedModel()) {
466                            return (JournalFeed)this;
467                    }
468                    else {
469                            return (JournalFeed)Proxy.newProxyInstance(JournalFeed.class.getClassLoader(),
470                                    new Class[] { JournalFeed.class },
471                                    new AutoEscapeBeanHandler(this));
472                    }
473            }
474    
475            public ExpandoBridge getExpandoBridge() {
476                    if (_expandoBridge == null) {
477                            _expandoBridge = ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(),
478                                            JournalFeed.class.getName(), getPrimaryKey());
479                    }
480    
481                    return _expandoBridge;
482            }
483    
484            public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
485                    getExpandoBridge().setAttributes(serviceContext);
486            }
487    
488            public Object clone() {
489                    JournalFeedImpl clone = new JournalFeedImpl();
490    
491                    clone.setUuid(getUuid());
492                    clone.setId(getId());
493                    clone.setGroupId(getGroupId());
494                    clone.setCompanyId(getCompanyId());
495                    clone.setUserId(getUserId());
496                    clone.setUserName(getUserName());
497                    clone.setCreateDate(getCreateDate());
498                    clone.setModifiedDate(getModifiedDate());
499                    clone.setFeedId(getFeedId());
500                    clone.setName(getName());
501                    clone.setDescription(getDescription());
502                    clone.setType(getType());
503                    clone.setStructureId(getStructureId());
504                    clone.setTemplateId(getTemplateId());
505                    clone.setRendererTemplateId(getRendererTemplateId());
506                    clone.setDelta(getDelta());
507                    clone.setOrderByCol(getOrderByCol());
508                    clone.setOrderByType(getOrderByType());
509                    clone.setTargetLayoutFriendlyUrl(getTargetLayoutFriendlyUrl());
510                    clone.setTargetPortletId(getTargetPortletId());
511                    clone.setContentField(getContentField());
512                    clone.setFeedType(getFeedType());
513                    clone.setFeedVersion(getFeedVersion());
514    
515                    return clone;
516            }
517    
518            public int compareTo(JournalFeed journalFeed) {
519                    int value = 0;
520    
521                    value = getFeedId().compareTo(journalFeed.getFeedId());
522    
523                    if (value != 0) {
524                            return value;
525                    }
526    
527                    return 0;
528            }
529    
530            public boolean equals(Object obj) {
531                    if (obj == null) {
532                            return false;
533                    }
534    
535                    JournalFeed journalFeed = null;
536    
537                    try {
538                            journalFeed = (JournalFeed)obj;
539                    }
540                    catch (ClassCastException cce) {
541                            return false;
542                    }
543    
544                    long pk = journalFeed.getPrimaryKey();
545    
546                    if (getPrimaryKey() == pk) {
547                            return true;
548                    }
549                    else {
550                            return false;
551                    }
552            }
553    
554            public int hashCode() {
555                    return (int)getPrimaryKey();
556            }
557    
558            public String toString() {
559                    StringBundler sb = new StringBundler(47);
560    
561                    sb.append("{uuid=");
562                    sb.append(getUuid());
563                    sb.append(", id=");
564                    sb.append(getId());
565                    sb.append(", groupId=");
566                    sb.append(getGroupId());
567                    sb.append(", companyId=");
568                    sb.append(getCompanyId());
569                    sb.append(", userId=");
570                    sb.append(getUserId());
571                    sb.append(", userName=");
572                    sb.append(getUserName());
573                    sb.append(", createDate=");
574                    sb.append(getCreateDate());
575                    sb.append(", modifiedDate=");
576                    sb.append(getModifiedDate());
577                    sb.append(", feedId=");
578                    sb.append(getFeedId());
579                    sb.append(", name=");
580                    sb.append(getName());
581                    sb.append(", description=");
582                    sb.append(getDescription());
583                    sb.append(", type=");
584                    sb.append(getType());
585                    sb.append(", structureId=");
586                    sb.append(getStructureId());
587                    sb.append(", templateId=");
588                    sb.append(getTemplateId());
589                    sb.append(", rendererTemplateId=");
590                    sb.append(getRendererTemplateId());
591                    sb.append(", delta=");
592                    sb.append(getDelta());
593                    sb.append(", orderByCol=");
594                    sb.append(getOrderByCol());
595                    sb.append(", orderByType=");
596                    sb.append(getOrderByType());
597                    sb.append(", targetLayoutFriendlyUrl=");
598                    sb.append(getTargetLayoutFriendlyUrl());
599                    sb.append(", targetPortletId=");
600                    sb.append(getTargetPortletId());
601                    sb.append(", contentField=");
602                    sb.append(getContentField());
603                    sb.append(", feedType=");
604                    sb.append(getFeedType());
605                    sb.append(", feedVersion=");
606                    sb.append(getFeedVersion());
607                    sb.append("}");
608    
609                    return sb.toString();
610            }
611    
612            public String toXmlString() {
613                    StringBundler sb = new StringBundler(73);
614    
615                    sb.append("<model><model-name>");
616                    sb.append("com.liferay.portlet.journal.model.JournalFeed");
617                    sb.append("</model-name>");
618    
619                    sb.append(
620                            "<column><column-name>uuid</column-name><column-value><![CDATA[");
621                    sb.append(getUuid());
622                    sb.append("]]></column-value></column>");
623                    sb.append(
624                            "<column><column-name>id</column-name><column-value><![CDATA[");
625                    sb.append(getId());
626                    sb.append("]]></column-value></column>");
627                    sb.append(
628                            "<column><column-name>groupId</column-name><column-value><![CDATA[");
629                    sb.append(getGroupId());
630                    sb.append("]]></column-value></column>");
631                    sb.append(
632                            "<column><column-name>companyId</column-name><column-value><![CDATA[");
633                    sb.append(getCompanyId());
634                    sb.append("]]></column-value></column>");
635                    sb.append(
636                            "<column><column-name>userId</column-name><column-value><![CDATA[");
637                    sb.append(getUserId());
638                    sb.append("]]></column-value></column>");
639                    sb.append(
640                            "<column><column-name>userName</column-name><column-value><![CDATA[");
641                    sb.append(getUserName());
642                    sb.append("]]></column-value></column>");
643                    sb.append(
644                            "<column><column-name>createDate</column-name><column-value><![CDATA[");
645                    sb.append(getCreateDate());
646                    sb.append("]]></column-value></column>");
647                    sb.append(
648                            "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
649                    sb.append(getModifiedDate());
650                    sb.append("]]></column-value></column>");
651                    sb.append(
652                            "<column><column-name>feedId</column-name><column-value><![CDATA[");
653                    sb.append(getFeedId());
654                    sb.append("]]></column-value></column>");
655                    sb.append(
656                            "<column><column-name>name</column-name><column-value><![CDATA[");
657                    sb.append(getName());
658                    sb.append("]]></column-value></column>");
659                    sb.append(
660                            "<column><column-name>description</column-name><column-value><![CDATA[");
661                    sb.append(getDescription());
662                    sb.append("]]></column-value></column>");
663                    sb.append(
664                            "<column><column-name>type</column-name><column-value><![CDATA[");
665                    sb.append(getType());
666                    sb.append("]]></column-value></column>");
667                    sb.append(
668                            "<column><column-name>structureId</column-name><column-value><![CDATA[");
669                    sb.append(getStructureId());
670                    sb.append("]]></column-value></column>");
671                    sb.append(
672                            "<column><column-name>templateId</column-name><column-value><![CDATA[");
673                    sb.append(getTemplateId());
674                    sb.append("]]></column-value></column>");
675                    sb.append(
676                            "<column><column-name>rendererTemplateId</column-name><column-value><![CDATA[");
677                    sb.append(getRendererTemplateId());
678                    sb.append("]]></column-value></column>");
679                    sb.append(
680                            "<column><column-name>delta</column-name><column-value><![CDATA[");
681                    sb.append(getDelta());
682                    sb.append("]]></column-value></column>");
683                    sb.append(
684                            "<column><column-name>orderByCol</column-name><column-value><![CDATA[");
685                    sb.append(getOrderByCol());
686                    sb.append("]]></column-value></column>");
687                    sb.append(
688                            "<column><column-name>orderByType</column-name><column-value><![CDATA[");
689                    sb.append(getOrderByType());
690                    sb.append("]]></column-value></column>");
691                    sb.append(
692                            "<column><column-name>targetLayoutFriendlyUrl</column-name><column-value><![CDATA[");
693                    sb.append(getTargetLayoutFriendlyUrl());
694                    sb.append("]]></column-value></column>");
695                    sb.append(
696                            "<column><column-name>targetPortletId</column-name><column-value><![CDATA[");
697                    sb.append(getTargetPortletId());
698                    sb.append("]]></column-value></column>");
699                    sb.append(
700                            "<column><column-name>contentField</column-name><column-value><![CDATA[");
701                    sb.append(getContentField());
702                    sb.append("]]></column-value></column>");
703                    sb.append(
704                            "<column><column-name>feedType</column-name><column-value><![CDATA[");
705                    sb.append(getFeedType());
706                    sb.append("]]></column-value></column>");
707                    sb.append(
708                            "<column><column-name>feedVersion</column-name><column-value><![CDATA[");
709                    sb.append(getFeedVersion());
710                    sb.append("]]></column-value></column>");
711    
712                    sb.append("</model>");
713    
714                    return sb.toString();
715            }
716    
717            private String _uuid;
718            private String _originalUuid;
719            private long _id;
720            private long _groupId;
721            private long _originalGroupId;
722            private boolean _setOriginalGroupId;
723            private long _companyId;
724            private long _userId;
725            private String _userUuid;
726            private String _userName;
727            private Date _createDate;
728            private Date _modifiedDate;
729            private String _feedId;
730            private String _originalFeedId;
731            private String _name;
732            private String _description;
733            private String _type;
734            private String _structureId;
735            private String _templateId;
736            private String _rendererTemplateId;
737            private int _delta;
738            private String _orderByCol;
739            private String _orderByType;
740            private String _targetLayoutFriendlyUrl;
741            private String _targetPortletId;
742            private String _contentField;
743            private String _feedType;
744            private double _feedVersion;
745            private transient ExpandoBridge _expandoBridge;
746    }