001    /**
002     * Copyright (c) 2000-2013 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.documentlibrary.model.impl;
016    
017    import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
018    import com.liferay.portal.kernel.exception.PortalException;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.json.JSON;
021    import com.liferay.portal.kernel.lar.StagedModelType;
022    import com.liferay.portal.kernel.trash.TrashHandler;
023    import com.liferay.portal.kernel.trash.TrashHandlerRegistryUtil;
024    import com.liferay.portal.kernel.util.GetterUtil;
025    import com.liferay.portal.kernel.util.ProxyUtil;
026    import com.liferay.portal.kernel.util.StringBundler;
027    import com.liferay.portal.kernel.util.StringPool;
028    import com.liferay.portal.kernel.util.Validator;
029    import com.liferay.portal.kernel.workflow.WorkflowConstants;
030    import com.liferay.portal.model.CacheModel;
031    import com.liferay.portal.model.ContainerModel;
032    import com.liferay.portal.model.TrashedModel;
033    import com.liferay.portal.model.impl.BaseModelImpl;
034    import com.liferay.portal.service.ServiceContext;
035    import com.liferay.portal.util.PortalUtil;
036    
037    import com.liferay.portlet.documentlibrary.model.DLFolder;
038    import com.liferay.portlet.documentlibrary.model.DLFolderModel;
039    import com.liferay.portlet.documentlibrary.model.DLFolderSoap;
040    import com.liferay.portlet.expando.model.ExpandoBridge;
041    import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;
042    import com.liferay.portlet.trash.model.TrashEntry;
043    import com.liferay.portlet.trash.service.TrashEntryLocalServiceUtil;
044    
045    import java.io.Serializable;
046    
047    import java.sql.Types;
048    
049    import java.util.ArrayList;
050    import java.util.Date;
051    import java.util.HashMap;
052    import java.util.List;
053    import java.util.Map;
054    
055    /**
056     * The base model implementation for the DLFolder service. Represents a row in the "DLFolder" database table, with each column mapped to a property of this class.
057     *
058     * <p>
059     * This implementation and its corresponding interface {@link com.liferay.portlet.documentlibrary.model.DLFolderModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link DLFolderImpl}.
060     * </p>
061     *
062     * @author Brian Wing Shun Chan
063     * @see DLFolderImpl
064     * @see com.liferay.portlet.documentlibrary.model.DLFolder
065     * @see com.liferay.portlet.documentlibrary.model.DLFolderModel
066     * @generated
067     */
068    @JSON(strict = true)
069    public class DLFolderModelImpl extends BaseModelImpl<DLFolder>
070            implements DLFolderModel {
071            /*
072             * NOTE FOR DEVELOPERS:
073             *
074             * Never modify or reference this class directly. All methods that expect a document library folder model instance should use the {@link com.liferay.portlet.documentlibrary.model.DLFolder} interface instead.
075             */
076            public static final String TABLE_NAME = "DLFolder";
077            public static final Object[][] TABLE_COLUMNS = {
078                            { "uuid_", Types.VARCHAR },
079                            { "folderId", Types.BIGINT },
080                            { "groupId", Types.BIGINT },
081                            { "companyId", Types.BIGINT },
082                            { "userId", Types.BIGINT },
083                            { "userName", Types.VARCHAR },
084                            { "createDate", Types.TIMESTAMP },
085                            { "modifiedDate", Types.TIMESTAMP },
086                            { "repositoryId", Types.BIGINT },
087                            { "mountPoint", Types.BOOLEAN },
088                            { "parentFolderId", Types.BIGINT },
089                            { "treePath", Types.VARCHAR },
090                            { "name", Types.VARCHAR },
091                            { "description", Types.VARCHAR },
092                            { "lastPostDate", Types.TIMESTAMP },
093                            { "defaultFileEntryTypeId", Types.BIGINT },
094                            { "hidden_", Types.BOOLEAN },
095                            { "overrideFileEntryTypes", Types.BOOLEAN },
096                            { "status", Types.INTEGER },
097                            { "statusByUserId", Types.BIGINT },
098                            { "statusByUserName", Types.VARCHAR },
099                            { "statusDate", Types.TIMESTAMP }
100                    };
101            public static final String TABLE_SQL_CREATE = "create table DLFolder (uuid_ VARCHAR(75) null,folderId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,repositoryId LONG,mountPoint BOOLEAN,parentFolderId LONG,treePath STRING null,name VARCHAR(100) null,description STRING null,lastPostDate DATE null,defaultFileEntryTypeId LONG,hidden_ BOOLEAN,overrideFileEntryTypes BOOLEAN,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null)";
102            public static final String TABLE_SQL_DROP = "drop table DLFolder";
103            public static final String ORDER_BY_JPQL = " ORDER BY dlFolder.parentFolderId ASC, dlFolder.name ASC";
104            public static final String ORDER_BY_SQL = " ORDER BY DLFolder.parentFolderId ASC, DLFolder.name ASC";
105            public static final String DATA_SOURCE = "liferayDataSource";
106            public static final String SESSION_FACTORY = "liferaySessionFactory";
107            public static final String TX_MANAGER = "liferayTransactionManager";
108            public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
109                                    "value.object.entity.cache.enabled.com.liferay.portlet.documentlibrary.model.DLFolder"),
110                            true);
111            public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
112                                    "value.object.finder.cache.enabled.com.liferay.portlet.documentlibrary.model.DLFolder"),
113                            true);
114            public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
115                                    "value.object.column.bitmask.enabled.com.liferay.portlet.documentlibrary.model.DLFolder"),
116                            true);
117            public static long COMPANYID_COLUMN_BITMASK = 1L;
118            public static long GROUPID_COLUMN_BITMASK = 2L;
119            public static long HIDDEN_COLUMN_BITMASK = 4L;
120            public static long MOUNTPOINT_COLUMN_BITMASK = 8L;
121            public static long NAME_COLUMN_BITMASK = 16L;
122            public static long PARENTFOLDERID_COLUMN_BITMASK = 32L;
123            public static long REPOSITORYID_COLUMN_BITMASK = 64L;
124            public static long STATUS_COLUMN_BITMASK = 128L;
125            public static long UUID_COLUMN_BITMASK = 256L;
126    
127            /**
128             * Converts the soap model instance into a normal model instance.
129             *
130             * @param soapModel the soap model instance to convert
131             * @return the normal model instance
132             */
133            public static DLFolder toModel(DLFolderSoap soapModel) {
134                    if (soapModel == null) {
135                            return null;
136                    }
137    
138                    DLFolder model = new DLFolderImpl();
139    
140                    model.setUuid(soapModel.getUuid());
141                    model.setFolderId(soapModel.getFolderId());
142                    model.setGroupId(soapModel.getGroupId());
143                    model.setCompanyId(soapModel.getCompanyId());
144                    model.setUserId(soapModel.getUserId());
145                    model.setUserName(soapModel.getUserName());
146                    model.setCreateDate(soapModel.getCreateDate());
147                    model.setModifiedDate(soapModel.getModifiedDate());
148                    model.setRepositoryId(soapModel.getRepositoryId());
149                    model.setMountPoint(soapModel.getMountPoint());
150                    model.setParentFolderId(soapModel.getParentFolderId());
151                    model.setTreePath(soapModel.getTreePath());
152                    model.setName(soapModel.getName());
153                    model.setDescription(soapModel.getDescription());
154                    model.setLastPostDate(soapModel.getLastPostDate());
155                    model.setDefaultFileEntryTypeId(soapModel.getDefaultFileEntryTypeId());
156                    model.setHidden(soapModel.getHidden());
157                    model.setOverrideFileEntryTypes(soapModel.getOverrideFileEntryTypes());
158                    model.setStatus(soapModel.getStatus());
159                    model.setStatusByUserId(soapModel.getStatusByUserId());
160                    model.setStatusByUserName(soapModel.getStatusByUserName());
161                    model.setStatusDate(soapModel.getStatusDate());
162    
163                    return model;
164            }
165    
166            /**
167             * Converts the soap model instances into normal model instances.
168             *
169             * @param soapModels the soap model instances to convert
170             * @return the normal model instances
171             */
172            public static List<DLFolder> toModels(DLFolderSoap[] soapModels) {
173                    if (soapModels == null) {
174                            return null;
175                    }
176    
177                    List<DLFolder> models = new ArrayList<DLFolder>(soapModels.length);
178    
179                    for (DLFolderSoap soapModel : soapModels) {
180                            models.add(toModel(soapModel));
181                    }
182    
183                    return models;
184            }
185    
186            public static final String MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_NAME = "DLFileEntryTypes_DLFolders";
187            public static final Object[][] MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_COLUMNS =
188                    {
189                            { "fileEntryTypeId", Types.BIGINT },
190                            { "folderId", Types.BIGINT }
191                    };
192            public static final String MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_SQL_CREATE =
193                    "create table DLFileEntryTypes_DLFolders (fileEntryTypeId LONG not null,folderId LONG not null,primary key (fileEntryTypeId, folderId))";
194            public static final boolean FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DLFOLDERS = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
195                                    "value.object.finder.cache.enabled.DLFileEntryTypes_DLFolders"),
196                            true);
197            public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.portal.util.PropsUtil.get(
198                                    "lock.expiration.time.com.liferay.portlet.documentlibrary.model.DLFolder"));
199    
200            public DLFolderModelImpl() {
201            }
202    
203            @Override
204            public long getPrimaryKey() {
205                    return _folderId;
206            }
207    
208            @Override
209            public void setPrimaryKey(long primaryKey) {
210                    setFolderId(primaryKey);
211            }
212    
213            @Override
214            public Serializable getPrimaryKeyObj() {
215                    return _folderId;
216            }
217    
218            @Override
219            public void setPrimaryKeyObj(Serializable primaryKeyObj) {
220                    setPrimaryKey(((Long)primaryKeyObj).longValue());
221            }
222    
223            @Override
224            public Class<?> getModelClass() {
225                    return DLFolder.class;
226            }
227    
228            @Override
229            public String getModelClassName() {
230                    return DLFolder.class.getName();
231            }
232    
233            @Override
234            public Map<String, Object> getModelAttributes() {
235                    Map<String, Object> attributes = new HashMap<String, Object>();
236    
237                    attributes.put("uuid", getUuid());
238                    attributes.put("folderId", getFolderId());
239                    attributes.put("groupId", getGroupId());
240                    attributes.put("companyId", getCompanyId());
241                    attributes.put("userId", getUserId());
242                    attributes.put("userName", getUserName());
243                    attributes.put("createDate", getCreateDate());
244                    attributes.put("modifiedDate", getModifiedDate());
245                    attributes.put("repositoryId", getRepositoryId());
246                    attributes.put("mountPoint", getMountPoint());
247                    attributes.put("parentFolderId", getParentFolderId());
248                    attributes.put("treePath", getTreePath());
249                    attributes.put("name", getName());
250                    attributes.put("description", getDescription());
251                    attributes.put("lastPostDate", getLastPostDate());
252                    attributes.put("defaultFileEntryTypeId", getDefaultFileEntryTypeId());
253                    attributes.put("hidden", getHidden());
254                    attributes.put("overrideFileEntryTypes", getOverrideFileEntryTypes());
255                    attributes.put("status", getStatus());
256                    attributes.put("statusByUserId", getStatusByUserId());
257                    attributes.put("statusByUserName", getStatusByUserName());
258                    attributes.put("statusDate", getStatusDate());
259    
260                    return attributes;
261            }
262    
263            @Override
264            public void setModelAttributes(Map<String, Object> attributes) {
265                    String uuid = (String)attributes.get("uuid");
266    
267                    if (uuid != null) {
268                            setUuid(uuid);
269                    }
270    
271                    Long folderId = (Long)attributes.get("folderId");
272    
273                    if (folderId != null) {
274                            setFolderId(folderId);
275                    }
276    
277                    Long groupId = (Long)attributes.get("groupId");
278    
279                    if (groupId != null) {
280                            setGroupId(groupId);
281                    }
282    
283                    Long companyId = (Long)attributes.get("companyId");
284    
285                    if (companyId != null) {
286                            setCompanyId(companyId);
287                    }
288    
289                    Long userId = (Long)attributes.get("userId");
290    
291                    if (userId != null) {
292                            setUserId(userId);
293                    }
294    
295                    String userName = (String)attributes.get("userName");
296    
297                    if (userName != null) {
298                            setUserName(userName);
299                    }
300    
301                    Date createDate = (Date)attributes.get("createDate");
302    
303                    if (createDate != null) {
304                            setCreateDate(createDate);
305                    }
306    
307                    Date modifiedDate = (Date)attributes.get("modifiedDate");
308    
309                    if (modifiedDate != null) {
310                            setModifiedDate(modifiedDate);
311                    }
312    
313                    Long repositoryId = (Long)attributes.get("repositoryId");
314    
315                    if (repositoryId != null) {
316                            setRepositoryId(repositoryId);
317                    }
318    
319                    Boolean mountPoint = (Boolean)attributes.get("mountPoint");
320    
321                    if (mountPoint != null) {
322                            setMountPoint(mountPoint);
323                    }
324    
325                    Long parentFolderId = (Long)attributes.get("parentFolderId");
326    
327                    if (parentFolderId != null) {
328                            setParentFolderId(parentFolderId);
329                    }
330    
331                    String treePath = (String)attributes.get("treePath");
332    
333                    if (treePath != null) {
334                            setTreePath(treePath);
335                    }
336    
337                    String name = (String)attributes.get("name");
338    
339                    if (name != null) {
340                            setName(name);
341                    }
342    
343                    String description = (String)attributes.get("description");
344    
345                    if (description != null) {
346                            setDescription(description);
347                    }
348    
349                    Date lastPostDate = (Date)attributes.get("lastPostDate");
350    
351                    if (lastPostDate != null) {
352                            setLastPostDate(lastPostDate);
353                    }
354    
355                    Long defaultFileEntryTypeId = (Long)attributes.get(
356                                    "defaultFileEntryTypeId");
357    
358                    if (defaultFileEntryTypeId != null) {
359                            setDefaultFileEntryTypeId(defaultFileEntryTypeId);
360                    }
361    
362                    Boolean hidden = (Boolean)attributes.get("hidden");
363    
364                    if (hidden != null) {
365                            setHidden(hidden);
366                    }
367    
368                    Boolean overrideFileEntryTypes = (Boolean)attributes.get(
369                                    "overrideFileEntryTypes");
370    
371                    if (overrideFileEntryTypes != null) {
372                            setOverrideFileEntryTypes(overrideFileEntryTypes);
373                    }
374    
375                    Integer status = (Integer)attributes.get("status");
376    
377                    if (status != null) {
378                            setStatus(status);
379                    }
380    
381                    Long statusByUserId = (Long)attributes.get("statusByUserId");
382    
383                    if (statusByUserId != null) {
384                            setStatusByUserId(statusByUserId);
385                    }
386    
387                    String statusByUserName = (String)attributes.get("statusByUserName");
388    
389                    if (statusByUserName != null) {
390                            setStatusByUserName(statusByUserName);
391                    }
392    
393                    Date statusDate = (Date)attributes.get("statusDate");
394    
395                    if (statusDate != null) {
396                            setStatusDate(statusDate);
397                    }
398            }
399    
400            @JSON
401            @Override
402            public String getUuid() {
403                    if (_uuid == null) {
404                            return StringPool.BLANK;
405                    }
406                    else {
407                            return _uuid;
408                    }
409            }
410    
411            @Override
412            public void setUuid(String uuid) {
413                    if (_originalUuid == null) {
414                            _originalUuid = _uuid;
415                    }
416    
417                    _uuid = uuid;
418            }
419    
420            public String getOriginalUuid() {
421                    return GetterUtil.getString(_originalUuid);
422            }
423    
424            @JSON
425            @Override
426            public long getFolderId() {
427                    return _folderId;
428            }
429    
430            @Override
431            public void setFolderId(long folderId) {
432                    _folderId = folderId;
433            }
434    
435            @JSON
436            @Override
437            public long getGroupId() {
438                    return _groupId;
439            }
440    
441            @Override
442            public void setGroupId(long groupId) {
443                    _columnBitmask |= GROUPID_COLUMN_BITMASK;
444    
445                    if (!_setOriginalGroupId) {
446                            _setOriginalGroupId = true;
447    
448                            _originalGroupId = _groupId;
449                    }
450    
451                    _groupId = groupId;
452            }
453    
454            public long getOriginalGroupId() {
455                    return _originalGroupId;
456            }
457    
458            @JSON
459            @Override
460            public long getCompanyId() {
461                    return _companyId;
462            }
463    
464            @Override
465            public void setCompanyId(long companyId) {
466                    _columnBitmask |= COMPANYID_COLUMN_BITMASK;
467    
468                    if (!_setOriginalCompanyId) {
469                            _setOriginalCompanyId = true;
470    
471                            _originalCompanyId = _companyId;
472                    }
473    
474                    _companyId = companyId;
475            }
476    
477            public long getOriginalCompanyId() {
478                    return _originalCompanyId;
479            }
480    
481            @JSON
482            @Override
483            public long getUserId() {
484                    return _userId;
485            }
486    
487            @Override
488            public void setUserId(long userId) {
489                    _userId = userId;
490            }
491    
492            @Override
493            public String getUserUuid() throws SystemException {
494                    return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
495            }
496    
497            @Override
498            public void setUserUuid(String userUuid) {
499                    _userUuid = userUuid;
500            }
501    
502            @JSON
503            @Override
504            public String getUserName() {
505                    if (_userName == null) {
506                            return StringPool.BLANK;
507                    }
508                    else {
509                            return _userName;
510                    }
511            }
512    
513            @Override
514            public void setUserName(String userName) {
515                    _userName = userName;
516            }
517    
518            @JSON
519            @Override
520            public Date getCreateDate() {
521                    return _createDate;
522            }
523    
524            @Override
525            public void setCreateDate(Date createDate) {
526                    _createDate = createDate;
527            }
528    
529            @JSON
530            @Override
531            public Date getModifiedDate() {
532                    return _modifiedDate;
533            }
534    
535            @Override
536            public void setModifiedDate(Date modifiedDate) {
537                    _modifiedDate = modifiedDate;
538            }
539    
540            @JSON
541            @Override
542            public long getRepositoryId() {
543                    return _repositoryId;
544            }
545    
546            @Override
547            public void setRepositoryId(long repositoryId) {
548                    _columnBitmask |= REPOSITORYID_COLUMN_BITMASK;
549    
550                    if (!_setOriginalRepositoryId) {
551                            _setOriginalRepositoryId = true;
552    
553                            _originalRepositoryId = _repositoryId;
554                    }
555    
556                    _repositoryId = repositoryId;
557            }
558    
559            public long getOriginalRepositoryId() {
560                    return _originalRepositoryId;
561            }
562    
563            @JSON
564            @Override
565            public boolean getMountPoint() {
566                    return _mountPoint;
567            }
568    
569            @Override
570            public boolean isMountPoint() {
571                    return _mountPoint;
572            }
573    
574            @Override
575            public void setMountPoint(boolean mountPoint) {
576                    _columnBitmask |= MOUNTPOINT_COLUMN_BITMASK;
577    
578                    if (!_setOriginalMountPoint) {
579                            _setOriginalMountPoint = true;
580    
581                            _originalMountPoint = _mountPoint;
582                    }
583    
584                    _mountPoint = mountPoint;
585            }
586    
587            public boolean getOriginalMountPoint() {
588                    return _originalMountPoint;
589            }
590    
591            @JSON
592            @Override
593            public long getParentFolderId() {
594                    return _parentFolderId;
595            }
596    
597            @Override
598            public void setParentFolderId(long parentFolderId) {
599                    _columnBitmask = -1L;
600    
601                    if (!_setOriginalParentFolderId) {
602                            _setOriginalParentFolderId = true;
603    
604                            _originalParentFolderId = _parentFolderId;
605                    }
606    
607                    _parentFolderId = parentFolderId;
608            }
609    
610            public long getOriginalParentFolderId() {
611                    return _originalParentFolderId;
612            }
613    
614            @JSON
615            @Override
616            public String getTreePath() {
617                    if (_treePath == null) {
618                            return StringPool.BLANK;
619                    }
620                    else {
621                            return _treePath;
622                    }
623            }
624    
625            @Override
626            public void setTreePath(String treePath) {
627                    _treePath = treePath;
628            }
629    
630            @JSON
631            @Override
632            public String getName() {
633                    if (_name == null) {
634                            return StringPool.BLANK;
635                    }
636                    else {
637                            return _name;
638                    }
639            }
640    
641            @Override
642            public void setName(String name) {
643                    _columnBitmask = -1L;
644    
645                    if (_originalName == null) {
646                            _originalName = _name;
647                    }
648    
649                    _name = name;
650            }
651    
652            public String getOriginalName() {
653                    return GetterUtil.getString(_originalName);
654            }
655    
656            @JSON
657            @Override
658            public String getDescription() {
659                    if (_description == null) {
660                            return StringPool.BLANK;
661                    }
662                    else {
663                            return _description;
664                    }
665            }
666    
667            @Override
668            public void setDescription(String description) {
669                    _description = description;
670            }
671    
672            @JSON
673            @Override
674            public Date getLastPostDate() {
675                    return _lastPostDate;
676            }
677    
678            @Override
679            public void setLastPostDate(Date lastPostDate) {
680                    _lastPostDate = lastPostDate;
681            }
682    
683            @JSON
684            @Override
685            public long getDefaultFileEntryTypeId() {
686                    return _defaultFileEntryTypeId;
687            }
688    
689            @Override
690            public void setDefaultFileEntryTypeId(long defaultFileEntryTypeId) {
691                    _defaultFileEntryTypeId = defaultFileEntryTypeId;
692            }
693    
694            @JSON
695            @Override
696            public boolean getHidden() {
697                    return _hidden;
698            }
699    
700            @Override
701            public boolean isHidden() {
702                    return _hidden;
703            }
704    
705            @Override
706            public void setHidden(boolean hidden) {
707                    _columnBitmask |= HIDDEN_COLUMN_BITMASK;
708    
709                    if (!_setOriginalHidden) {
710                            _setOriginalHidden = true;
711    
712                            _originalHidden = _hidden;
713                    }
714    
715                    _hidden = hidden;
716            }
717    
718            public boolean getOriginalHidden() {
719                    return _originalHidden;
720            }
721    
722            @JSON
723            @Override
724            public boolean getOverrideFileEntryTypes() {
725                    return _overrideFileEntryTypes;
726            }
727    
728            @Override
729            public boolean isOverrideFileEntryTypes() {
730                    return _overrideFileEntryTypes;
731            }
732    
733            @Override
734            public void setOverrideFileEntryTypes(boolean overrideFileEntryTypes) {
735                    _overrideFileEntryTypes = overrideFileEntryTypes;
736            }
737    
738            @JSON
739            @Override
740            public int getStatus() {
741                    return _status;
742            }
743    
744            @Override
745            public void setStatus(int status) {
746                    _columnBitmask |= STATUS_COLUMN_BITMASK;
747    
748                    if (!_setOriginalStatus) {
749                            _setOriginalStatus = true;
750    
751                            _originalStatus = _status;
752                    }
753    
754                    _status = status;
755            }
756    
757            public int getOriginalStatus() {
758                    return _originalStatus;
759            }
760    
761            @JSON
762            @Override
763            public long getStatusByUserId() {
764                    return _statusByUserId;
765            }
766    
767            @Override
768            public void setStatusByUserId(long statusByUserId) {
769                    _statusByUserId = statusByUserId;
770            }
771    
772            @Override
773            public String getStatusByUserUuid() throws SystemException {
774                    return PortalUtil.getUserValue(getStatusByUserId(), "uuid",
775                            _statusByUserUuid);
776            }
777    
778            @Override
779            public void setStatusByUserUuid(String statusByUserUuid) {
780                    _statusByUserUuid = statusByUserUuid;
781            }
782    
783            @JSON
784            @Override
785            public String getStatusByUserName() {
786                    if (_statusByUserName == null) {
787                            return StringPool.BLANK;
788                    }
789                    else {
790                            return _statusByUserName;
791                    }
792            }
793    
794            @Override
795            public void setStatusByUserName(String statusByUserName) {
796                    _statusByUserName = statusByUserName;
797            }
798    
799            @JSON
800            @Override
801            public Date getStatusDate() {
802                    return _statusDate;
803            }
804    
805            @Override
806            public void setStatusDate(Date statusDate) {
807                    _statusDate = statusDate;
808            }
809    
810            @Override
811            public long getContainerModelId() {
812                    return getFolderId();
813            }
814    
815            @Override
816            public void setContainerModelId(long containerModelId) {
817                    _folderId = containerModelId;
818            }
819    
820            @Override
821            public long getParentContainerModelId() {
822                    return getParentFolderId();
823            }
824    
825            @Override
826            public void setParentContainerModelId(long parentContainerModelId) {
827                    _parentFolderId = parentContainerModelId;
828            }
829    
830            @Override
831            public String getContainerModelName() {
832                    return String.valueOf(getName());
833            }
834    
835            @Override
836            public StagedModelType getStagedModelType() {
837                    return new StagedModelType(PortalUtil.getClassNameId(
838                                    DLFolder.class.getName()));
839            }
840    
841            @Override
842            public TrashEntry getTrashEntry() throws PortalException, SystemException {
843                    if (!isInTrash() && !isInTrashContainer()) {
844                            return null;
845                    }
846    
847                    TrashEntry trashEntry = TrashEntryLocalServiceUtil.fetchEntry(getModelClassName(),
848                                    getTrashEntryClassPK());
849    
850                    if (trashEntry != null) {
851                            return trashEntry;
852                    }
853    
854                    TrashHandler trashHandler = getTrashHandler();
855    
856                    if (!Validator.isNull(trashHandler.getContainerModelClassName())) {
857                            ContainerModel containerModel = trashHandler.getParentContainerModel(this);
858    
859                            while (containerModel != null) {
860                                    if (containerModel instanceof TrashedModel) {
861                                            TrashedModel trashedModel = (TrashedModel)containerModel;
862    
863                                            return trashedModel.getTrashEntry();
864                                    }
865    
866                                    trashHandler = TrashHandlerRegistryUtil.getTrashHandler(trashHandler.getContainerModelClassName());
867    
868                                    if (trashHandler == null) {
869                                            return null;
870                                    }
871    
872                                    containerModel = trashHandler.getContainerModel(containerModel.getParentContainerModelId());
873                            }
874                    }
875    
876                    return null;
877            }
878    
879            @Override
880            public long getTrashEntryClassPK() {
881                    return getPrimaryKey();
882            }
883    
884            @Override
885            public TrashHandler getTrashHandler() {
886                    return TrashHandlerRegistryUtil.getTrashHandler(getModelClassName());
887            }
888    
889            @Override
890            public boolean isInTrash() {
891                    if (getStatus() == WorkflowConstants.STATUS_IN_TRASH) {
892                            return true;
893                    }
894                    else {
895                            return false;
896                    }
897            }
898    
899            @Override
900            public boolean isInTrashContainer() {
901                    TrashHandler trashHandler = getTrashHandler();
902    
903                    if ((trashHandler == null) ||
904                                    Validator.isNull(trashHandler.getContainerModelClassName())) {
905                            return false;
906                    }
907    
908                    try {
909                            ContainerModel containerModel = trashHandler.getParentContainerModel(this);
910    
911                            if (containerModel == null) {
912                                    return false;
913                            }
914    
915                            if (containerModel instanceof TrashedModel) {
916                                    return ((TrashedModel)containerModel).isInTrash();
917                            }
918                    }
919                    catch (Exception e) {
920                    }
921    
922                    return false;
923            }
924    
925            /**
926             * @deprecated As of 6.1.0, replaced by {@link #isApproved}
927             */
928            @Override
929            public boolean getApproved() {
930                    return isApproved();
931            }
932    
933            @Override
934            public boolean isApproved() {
935                    if (getStatus() == WorkflowConstants.STATUS_APPROVED) {
936                            return true;
937                    }
938                    else {
939                            return false;
940                    }
941            }
942    
943            @Override
944            public boolean isDenied() {
945                    if (getStatus() == WorkflowConstants.STATUS_DENIED) {
946                            return true;
947                    }
948                    else {
949                            return false;
950                    }
951            }
952    
953            @Override
954            public boolean isDraft() {
955                    if (getStatus() == WorkflowConstants.STATUS_DRAFT) {
956                            return true;
957                    }
958                    else {
959                            return false;
960                    }
961            }
962    
963            @Override
964            public boolean isExpired() {
965                    if (getStatus() == WorkflowConstants.STATUS_EXPIRED) {
966                            return true;
967                    }
968                    else {
969                            return false;
970                    }
971            }
972    
973            @Override
974            public boolean isInactive() {
975                    if (getStatus() == WorkflowConstants.STATUS_INACTIVE) {
976                            return true;
977                    }
978                    else {
979                            return false;
980                    }
981            }
982    
983            @Override
984            public boolean isIncomplete() {
985                    if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) {
986                            return true;
987                    }
988                    else {
989                            return false;
990                    }
991            }
992    
993            @Override
994            public boolean isPending() {
995                    if (getStatus() == WorkflowConstants.STATUS_PENDING) {
996                            return true;
997                    }
998                    else {
999                            return false;
1000                    }
1001            }
1002    
1003            @Override
1004            public boolean isScheduled() {
1005                    if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) {
1006                            return true;
1007                    }
1008                    else {
1009                            return false;
1010                    }
1011            }
1012    
1013            public long getColumnBitmask() {
1014                    return _columnBitmask;
1015            }
1016    
1017            @Override
1018            public ExpandoBridge getExpandoBridge() {
1019                    return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(),
1020                            DLFolder.class.getName(), getPrimaryKey());
1021            }
1022    
1023            @Override
1024            public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
1025                    ExpandoBridge expandoBridge = getExpandoBridge();
1026    
1027                    expandoBridge.setAttributes(serviceContext);
1028            }
1029    
1030            @Override
1031            public DLFolder toEscapedModel() {
1032                    if (_escapedModel == null) {
1033                            _escapedModel = (DLFolder)ProxyUtil.newProxyInstance(_classLoader,
1034                                            _escapedModelInterfaces, new AutoEscapeBeanHandler(this));
1035                    }
1036    
1037                    return _escapedModel;
1038            }
1039    
1040            @Override
1041            public Object clone() {
1042                    DLFolderImpl dlFolderImpl = new DLFolderImpl();
1043    
1044                    dlFolderImpl.setUuid(getUuid());
1045                    dlFolderImpl.setFolderId(getFolderId());
1046                    dlFolderImpl.setGroupId(getGroupId());
1047                    dlFolderImpl.setCompanyId(getCompanyId());
1048                    dlFolderImpl.setUserId(getUserId());
1049                    dlFolderImpl.setUserName(getUserName());
1050                    dlFolderImpl.setCreateDate(getCreateDate());
1051                    dlFolderImpl.setModifiedDate(getModifiedDate());
1052                    dlFolderImpl.setRepositoryId(getRepositoryId());
1053                    dlFolderImpl.setMountPoint(getMountPoint());
1054                    dlFolderImpl.setParentFolderId(getParentFolderId());
1055                    dlFolderImpl.setTreePath(getTreePath());
1056                    dlFolderImpl.setName(getName());
1057                    dlFolderImpl.setDescription(getDescription());
1058                    dlFolderImpl.setLastPostDate(getLastPostDate());
1059                    dlFolderImpl.setDefaultFileEntryTypeId(getDefaultFileEntryTypeId());
1060                    dlFolderImpl.setHidden(getHidden());
1061                    dlFolderImpl.setOverrideFileEntryTypes(getOverrideFileEntryTypes());
1062                    dlFolderImpl.setStatus(getStatus());
1063                    dlFolderImpl.setStatusByUserId(getStatusByUserId());
1064                    dlFolderImpl.setStatusByUserName(getStatusByUserName());
1065                    dlFolderImpl.setStatusDate(getStatusDate());
1066    
1067                    dlFolderImpl.resetOriginalValues();
1068    
1069                    return dlFolderImpl;
1070            }
1071    
1072            @Override
1073            public int compareTo(DLFolder dlFolder) {
1074                    int value = 0;
1075    
1076                    if (getParentFolderId() < dlFolder.getParentFolderId()) {
1077                            value = -1;
1078                    }
1079                    else if (getParentFolderId() > dlFolder.getParentFolderId()) {
1080                            value = 1;
1081                    }
1082                    else {
1083                            value = 0;
1084                    }
1085    
1086                    if (value != 0) {
1087                            return value;
1088                    }
1089    
1090                    value = getName().compareToIgnoreCase(dlFolder.getName());
1091    
1092                    if (value != 0) {
1093                            return value;
1094                    }
1095    
1096                    return 0;
1097            }
1098    
1099            @Override
1100            public boolean equals(Object obj) {
1101                    if (this == obj) {
1102                            return true;
1103                    }
1104    
1105                    if (!(obj instanceof DLFolder)) {
1106                            return false;
1107                    }
1108    
1109                    DLFolder dlFolder = (DLFolder)obj;
1110    
1111                    long primaryKey = dlFolder.getPrimaryKey();
1112    
1113                    if (getPrimaryKey() == primaryKey) {
1114                            return true;
1115                    }
1116                    else {
1117                            return false;
1118                    }
1119            }
1120    
1121            @Override
1122            public int hashCode() {
1123                    return (int)getPrimaryKey();
1124            }
1125    
1126            @Override
1127            public void resetOriginalValues() {
1128                    DLFolderModelImpl dlFolderModelImpl = this;
1129    
1130                    dlFolderModelImpl._originalUuid = dlFolderModelImpl._uuid;
1131    
1132                    dlFolderModelImpl._originalGroupId = dlFolderModelImpl._groupId;
1133    
1134                    dlFolderModelImpl._setOriginalGroupId = false;
1135    
1136                    dlFolderModelImpl._originalCompanyId = dlFolderModelImpl._companyId;
1137    
1138                    dlFolderModelImpl._setOriginalCompanyId = false;
1139    
1140                    dlFolderModelImpl._originalRepositoryId = dlFolderModelImpl._repositoryId;
1141    
1142                    dlFolderModelImpl._setOriginalRepositoryId = false;
1143    
1144                    dlFolderModelImpl._originalMountPoint = dlFolderModelImpl._mountPoint;
1145    
1146                    dlFolderModelImpl._setOriginalMountPoint = false;
1147    
1148                    dlFolderModelImpl._originalParentFolderId = dlFolderModelImpl._parentFolderId;
1149    
1150                    dlFolderModelImpl._setOriginalParentFolderId = false;
1151    
1152                    dlFolderModelImpl._originalName = dlFolderModelImpl._name;
1153    
1154                    dlFolderModelImpl._originalHidden = dlFolderModelImpl._hidden;
1155    
1156                    dlFolderModelImpl._setOriginalHidden = false;
1157    
1158                    dlFolderModelImpl._originalStatus = dlFolderModelImpl._status;
1159    
1160                    dlFolderModelImpl._setOriginalStatus = false;
1161    
1162                    dlFolderModelImpl._columnBitmask = 0;
1163            }
1164    
1165            @Override
1166            public CacheModel<DLFolder> toCacheModel() {
1167                    DLFolderCacheModel dlFolderCacheModel = new DLFolderCacheModel();
1168    
1169                    dlFolderCacheModel.uuid = getUuid();
1170    
1171                    String uuid = dlFolderCacheModel.uuid;
1172    
1173                    if ((uuid != null) && (uuid.length() == 0)) {
1174                            dlFolderCacheModel.uuid = null;
1175                    }
1176    
1177                    dlFolderCacheModel.folderId = getFolderId();
1178    
1179                    dlFolderCacheModel.groupId = getGroupId();
1180    
1181                    dlFolderCacheModel.companyId = getCompanyId();
1182    
1183                    dlFolderCacheModel.userId = getUserId();
1184    
1185                    dlFolderCacheModel.userName = getUserName();
1186    
1187                    String userName = dlFolderCacheModel.userName;
1188    
1189                    if ((userName != null) && (userName.length() == 0)) {
1190                            dlFolderCacheModel.userName = null;
1191                    }
1192    
1193                    Date createDate = getCreateDate();
1194    
1195                    if (createDate != null) {
1196                            dlFolderCacheModel.createDate = createDate.getTime();
1197                    }
1198                    else {
1199                            dlFolderCacheModel.createDate = Long.MIN_VALUE;
1200                    }
1201    
1202                    Date modifiedDate = getModifiedDate();
1203    
1204                    if (modifiedDate != null) {
1205                            dlFolderCacheModel.modifiedDate = modifiedDate.getTime();
1206                    }
1207                    else {
1208                            dlFolderCacheModel.modifiedDate = Long.MIN_VALUE;
1209                    }
1210    
1211                    dlFolderCacheModel.repositoryId = getRepositoryId();
1212    
1213                    dlFolderCacheModel.mountPoint = getMountPoint();
1214    
1215                    dlFolderCacheModel.parentFolderId = getParentFolderId();
1216    
1217                    dlFolderCacheModel.treePath = getTreePath();
1218    
1219                    String treePath = dlFolderCacheModel.treePath;
1220    
1221                    if ((treePath != null) && (treePath.length() == 0)) {
1222                            dlFolderCacheModel.treePath = null;
1223                    }
1224    
1225                    dlFolderCacheModel.name = getName();
1226    
1227                    String name = dlFolderCacheModel.name;
1228    
1229                    if ((name != null) && (name.length() == 0)) {
1230                            dlFolderCacheModel.name = null;
1231                    }
1232    
1233                    dlFolderCacheModel.description = getDescription();
1234    
1235                    String description = dlFolderCacheModel.description;
1236    
1237                    if ((description != null) && (description.length() == 0)) {
1238                            dlFolderCacheModel.description = null;
1239                    }
1240    
1241                    Date lastPostDate = getLastPostDate();
1242    
1243                    if (lastPostDate != null) {
1244                            dlFolderCacheModel.lastPostDate = lastPostDate.getTime();
1245                    }
1246                    else {
1247                            dlFolderCacheModel.lastPostDate = Long.MIN_VALUE;
1248                    }
1249    
1250                    dlFolderCacheModel.defaultFileEntryTypeId = getDefaultFileEntryTypeId();
1251    
1252                    dlFolderCacheModel.hidden = getHidden();
1253    
1254                    dlFolderCacheModel.overrideFileEntryTypes = getOverrideFileEntryTypes();
1255    
1256                    dlFolderCacheModel.status = getStatus();
1257    
1258                    dlFolderCacheModel.statusByUserId = getStatusByUserId();
1259    
1260                    dlFolderCacheModel.statusByUserName = getStatusByUserName();
1261    
1262                    String statusByUserName = dlFolderCacheModel.statusByUserName;
1263    
1264                    if ((statusByUserName != null) && (statusByUserName.length() == 0)) {
1265                            dlFolderCacheModel.statusByUserName = null;
1266                    }
1267    
1268                    Date statusDate = getStatusDate();
1269    
1270                    if (statusDate != null) {
1271                            dlFolderCacheModel.statusDate = statusDate.getTime();
1272                    }
1273                    else {
1274                            dlFolderCacheModel.statusDate = Long.MIN_VALUE;
1275                    }
1276    
1277                    return dlFolderCacheModel;
1278            }
1279    
1280            @Override
1281            public String toString() {
1282                    StringBundler sb = new StringBundler(45);
1283    
1284                    sb.append("{uuid=");
1285                    sb.append(getUuid());
1286                    sb.append(", folderId=");
1287                    sb.append(getFolderId());
1288                    sb.append(", groupId=");
1289                    sb.append(getGroupId());
1290                    sb.append(", companyId=");
1291                    sb.append(getCompanyId());
1292                    sb.append(", userId=");
1293                    sb.append(getUserId());
1294                    sb.append(", userName=");
1295                    sb.append(getUserName());
1296                    sb.append(", createDate=");
1297                    sb.append(getCreateDate());
1298                    sb.append(", modifiedDate=");
1299                    sb.append(getModifiedDate());
1300                    sb.append(", repositoryId=");
1301                    sb.append(getRepositoryId());
1302                    sb.append(", mountPoint=");
1303                    sb.append(getMountPoint());
1304                    sb.append(", parentFolderId=");
1305                    sb.append(getParentFolderId());
1306                    sb.append(", treePath=");
1307                    sb.append(getTreePath());
1308                    sb.append(", name=");
1309                    sb.append(getName());
1310                    sb.append(", description=");
1311                    sb.append(getDescription());
1312                    sb.append(", lastPostDate=");
1313                    sb.append(getLastPostDate());
1314                    sb.append(", defaultFileEntryTypeId=");
1315                    sb.append(getDefaultFileEntryTypeId());
1316                    sb.append(", hidden=");
1317                    sb.append(getHidden());
1318                    sb.append(", overrideFileEntryTypes=");
1319                    sb.append(getOverrideFileEntryTypes());
1320                    sb.append(", status=");
1321                    sb.append(getStatus());
1322                    sb.append(", statusByUserId=");
1323                    sb.append(getStatusByUserId());
1324                    sb.append(", statusByUserName=");
1325                    sb.append(getStatusByUserName());
1326                    sb.append(", statusDate=");
1327                    sb.append(getStatusDate());
1328                    sb.append("}");
1329    
1330                    return sb.toString();
1331            }
1332    
1333            @Override
1334            public String toXmlString() {
1335                    StringBundler sb = new StringBundler(70);
1336    
1337                    sb.append("<model><model-name>");
1338                    sb.append("com.liferay.portlet.documentlibrary.model.DLFolder");
1339                    sb.append("</model-name>");
1340    
1341                    sb.append(
1342                            "<column><column-name>uuid</column-name><column-value><![CDATA[");
1343                    sb.append(getUuid());
1344                    sb.append("]]></column-value></column>");
1345                    sb.append(
1346                            "<column><column-name>folderId</column-name><column-value><![CDATA[");
1347                    sb.append(getFolderId());
1348                    sb.append("]]></column-value></column>");
1349                    sb.append(
1350                            "<column><column-name>groupId</column-name><column-value><![CDATA[");
1351                    sb.append(getGroupId());
1352                    sb.append("]]></column-value></column>");
1353                    sb.append(
1354                            "<column><column-name>companyId</column-name><column-value><![CDATA[");
1355                    sb.append(getCompanyId());
1356                    sb.append("]]></column-value></column>");
1357                    sb.append(
1358                            "<column><column-name>userId</column-name><column-value><![CDATA[");
1359                    sb.append(getUserId());
1360                    sb.append("]]></column-value></column>");
1361                    sb.append(
1362                            "<column><column-name>userName</column-name><column-value><![CDATA[");
1363                    sb.append(getUserName());
1364                    sb.append("]]></column-value></column>");
1365                    sb.append(
1366                            "<column><column-name>createDate</column-name><column-value><![CDATA[");
1367                    sb.append(getCreateDate());
1368                    sb.append("]]></column-value></column>");
1369                    sb.append(
1370                            "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
1371                    sb.append(getModifiedDate());
1372                    sb.append("]]></column-value></column>");
1373                    sb.append(
1374                            "<column><column-name>repositoryId</column-name><column-value><![CDATA[");
1375                    sb.append(getRepositoryId());
1376                    sb.append("]]></column-value></column>");
1377                    sb.append(
1378                            "<column><column-name>mountPoint</column-name><column-value><![CDATA[");
1379                    sb.append(getMountPoint());
1380                    sb.append("]]></column-value></column>");
1381                    sb.append(
1382                            "<column><column-name>parentFolderId</column-name><column-value><![CDATA[");
1383                    sb.append(getParentFolderId());
1384                    sb.append("]]></column-value></column>");
1385                    sb.append(
1386                            "<column><column-name>treePath</column-name><column-value><![CDATA[");
1387                    sb.append(getTreePath());
1388                    sb.append("]]></column-value></column>");
1389                    sb.append(
1390                            "<column><column-name>name</column-name><column-value><![CDATA[");
1391                    sb.append(getName());
1392                    sb.append("]]></column-value></column>");
1393                    sb.append(
1394                            "<column><column-name>description</column-name><column-value><![CDATA[");
1395                    sb.append(getDescription());
1396                    sb.append("]]></column-value></column>");
1397                    sb.append(
1398                            "<column><column-name>lastPostDate</column-name><column-value><![CDATA[");
1399                    sb.append(getLastPostDate());
1400                    sb.append("]]></column-value></column>");
1401                    sb.append(
1402                            "<column><column-name>defaultFileEntryTypeId</column-name><column-value><![CDATA[");
1403                    sb.append(getDefaultFileEntryTypeId());
1404                    sb.append("]]></column-value></column>");
1405                    sb.append(
1406                            "<column><column-name>hidden</column-name><column-value><![CDATA[");
1407                    sb.append(getHidden());
1408                    sb.append("]]></column-value></column>");
1409                    sb.append(
1410                            "<column><column-name>overrideFileEntryTypes</column-name><column-value><![CDATA[");
1411                    sb.append(getOverrideFileEntryTypes());
1412                    sb.append("]]></column-value></column>");
1413                    sb.append(
1414                            "<column><column-name>status</column-name><column-value><![CDATA[");
1415                    sb.append(getStatus());
1416                    sb.append("]]></column-value></column>");
1417                    sb.append(
1418                            "<column><column-name>statusByUserId</column-name><column-value><![CDATA[");
1419                    sb.append(getStatusByUserId());
1420                    sb.append("]]></column-value></column>");
1421                    sb.append(
1422                            "<column><column-name>statusByUserName</column-name><column-value><![CDATA[");
1423                    sb.append(getStatusByUserName());
1424                    sb.append("]]></column-value></column>");
1425                    sb.append(
1426                            "<column><column-name>statusDate</column-name><column-value><![CDATA[");
1427                    sb.append(getStatusDate());
1428                    sb.append("]]></column-value></column>");
1429    
1430                    sb.append("</model>");
1431    
1432                    return sb.toString();
1433            }
1434    
1435            private static ClassLoader _classLoader = DLFolder.class.getClassLoader();
1436            private static Class<?>[] _escapedModelInterfaces = new Class[] {
1437                            DLFolder.class
1438                    };
1439            private String _uuid;
1440            private String _originalUuid;
1441            private long _folderId;
1442            private long _groupId;
1443            private long _originalGroupId;
1444            private boolean _setOriginalGroupId;
1445            private long _companyId;
1446            private long _originalCompanyId;
1447            private boolean _setOriginalCompanyId;
1448            private long _userId;
1449            private String _userUuid;
1450            private String _userName;
1451            private Date _createDate;
1452            private Date _modifiedDate;
1453            private long _repositoryId;
1454            private long _originalRepositoryId;
1455            private boolean _setOriginalRepositoryId;
1456            private boolean _mountPoint;
1457            private boolean _originalMountPoint;
1458            private boolean _setOriginalMountPoint;
1459            private long _parentFolderId;
1460            private long _originalParentFolderId;
1461            private boolean _setOriginalParentFolderId;
1462            private String _treePath;
1463            private String _name;
1464            private String _originalName;
1465            private String _description;
1466            private Date _lastPostDate;
1467            private long _defaultFileEntryTypeId;
1468            private boolean _hidden;
1469            private boolean _originalHidden;
1470            private boolean _setOriginalHidden;
1471            private boolean _overrideFileEntryTypes;
1472            private int _status;
1473            private int _originalStatus;
1474            private boolean _setOriginalStatus;
1475            private long _statusByUserId;
1476            private String _statusByUserUuid;
1477            private String _statusByUserName;
1478            private Date _statusDate;
1479            private long _columnBitmask;
1480            private DLFolder _escapedModel;
1481    }