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                                    getPrimaryKey());
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 TrashHandler getTrashHandler() {
881                    return TrashHandlerRegistryUtil.getTrashHandler(getModelClassName());
882            }
883    
884            @Override
885            public boolean isInTrash() {
886                    if (getStatus() == WorkflowConstants.STATUS_IN_TRASH) {
887                            return true;
888                    }
889                    else {
890                            return false;
891                    }
892            }
893    
894            @Override
895            public boolean isInTrashContainer() {
896                    TrashHandler trashHandler = getTrashHandler();
897    
898                    if ((trashHandler == null) ||
899                                    Validator.isNull(trashHandler.getContainerModelClassName())) {
900                            return false;
901                    }
902    
903                    try {
904                            ContainerModel containerModel = trashHandler.getParentContainerModel(this);
905    
906                            if (containerModel == null) {
907                                    return false;
908                            }
909    
910                            if (containerModel instanceof TrashedModel) {
911                                    return ((TrashedModel)containerModel).isInTrash();
912                            }
913                    }
914                    catch (Exception e) {
915                    }
916    
917                    return false;
918            }
919    
920            /**
921             * @deprecated As of 6.1.0, replaced by {@link #isApproved}
922             */
923            @Override
924            public boolean getApproved() {
925                    return isApproved();
926            }
927    
928            @Override
929            public boolean isApproved() {
930                    if (getStatus() == WorkflowConstants.STATUS_APPROVED) {
931                            return true;
932                    }
933                    else {
934                            return false;
935                    }
936            }
937    
938            @Override
939            public boolean isDenied() {
940                    if (getStatus() == WorkflowConstants.STATUS_DENIED) {
941                            return true;
942                    }
943                    else {
944                            return false;
945                    }
946            }
947    
948            @Override
949            public boolean isDraft() {
950                    if (getStatus() == WorkflowConstants.STATUS_DRAFT) {
951                            return true;
952                    }
953                    else {
954                            return false;
955                    }
956            }
957    
958            @Override
959            public boolean isExpired() {
960                    if (getStatus() == WorkflowConstants.STATUS_EXPIRED) {
961                            return true;
962                    }
963                    else {
964                            return false;
965                    }
966            }
967    
968            @Override
969            public boolean isInactive() {
970                    if (getStatus() == WorkflowConstants.STATUS_INACTIVE) {
971                            return true;
972                    }
973                    else {
974                            return false;
975                    }
976            }
977    
978            @Override
979            public boolean isIncomplete() {
980                    if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) {
981                            return true;
982                    }
983                    else {
984                            return false;
985                    }
986            }
987    
988            @Override
989            public boolean isPending() {
990                    if (getStatus() == WorkflowConstants.STATUS_PENDING) {
991                            return true;
992                    }
993                    else {
994                            return false;
995                    }
996            }
997    
998            @Override
999            public boolean isScheduled() {
1000                    if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) {
1001                            return true;
1002                    }
1003                    else {
1004                            return false;
1005                    }
1006            }
1007    
1008            public long getColumnBitmask() {
1009                    return _columnBitmask;
1010            }
1011    
1012            @Override
1013            public ExpandoBridge getExpandoBridge() {
1014                    return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(),
1015                            DLFolder.class.getName(), getPrimaryKey());
1016            }
1017    
1018            @Override
1019            public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
1020                    ExpandoBridge expandoBridge = getExpandoBridge();
1021    
1022                    expandoBridge.setAttributes(serviceContext);
1023            }
1024    
1025            @Override
1026            public DLFolder toEscapedModel() {
1027                    if (_escapedModel == null) {
1028                            _escapedModel = (DLFolder)ProxyUtil.newProxyInstance(_classLoader,
1029                                            _escapedModelInterfaces, new AutoEscapeBeanHandler(this));
1030                    }
1031    
1032                    return _escapedModel;
1033            }
1034    
1035            @Override
1036            public Object clone() {
1037                    DLFolderImpl dlFolderImpl = new DLFolderImpl();
1038    
1039                    dlFolderImpl.setUuid(getUuid());
1040                    dlFolderImpl.setFolderId(getFolderId());
1041                    dlFolderImpl.setGroupId(getGroupId());
1042                    dlFolderImpl.setCompanyId(getCompanyId());
1043                    dlFolderImpl.setUserId(getUserId());
1044                    dlFolderImpl.setUserName(getUserName());
1045                    dlFolderImpl.setCreateDate(getCreateDate());
1046                    dlFolderImpl.setModifiedDate(getModifiedDate());
1047                    dlFolderImpl.setRepositoryId(getRepositoryId());
1048                    dlFolderImpl.setMountPoint(getMountPoint());
1049                    dlFolderImpl.setParentFolderId(getParentFolderId());
1050                    dlFolderImpl.setTreePath(getTreePath());
1051                    dlFolderImpl.setName(getName());
1052                    dlFolderImpl.setDescription(getDescription());
1053                    dlFolderImpl.setLastPostDate(getLastPostDate());
1054                    dlFolderImpl.setDefaultFileEntryTypeId(getDefaultFileEntryTypeId());
1055                    dlFolderImpl.setHidden(getHidden());
1056                    dlFolderImpl.setOverrideFileEntryTypes(getOverrideFileEntryTypes());
1057                    dlFolderImpl.setStatus(getStatus());
1058                    dlFolderImpl.setStatusByUserId(getStatusByUserId());
1059                    dlFolderImpl.setStatusByUserName(getStatusByUserName());
1060                    dlFolderImpl.setStatusDate(getStatusDate());
1061    
1062                    dlFolderImpl.resetOriginalValues();
1063    
1064                    return dlFolderImpl;
1065            }
1066    
1067            @Override
1068            public int compareTo(DLFolder dlFolder) {
1069                    int value = 0;
1070    
1071                    if (getParentFolderId() < dlFolder.getParentFolderId()) {
1072                            value = -1;
1073                    }
1074                    else if (getParentFolderId() > dlFolder.getParentFolderId()) {
1075                            value = 1;
1076                    }
1077                    else {
1078                            value = 0;
1079                    }
1080    
1081                    if (value != 0) {
1082                            return value;
1083                    }
1084    
1085                    value = getName().compareToIgnoreCase(dlFolder.getName());
1086    
1087                    if (value != 0) {
1088                            return value;
1089                    }
1090    
1091                    return 0;
1092            }
1093    
1094            @Override
1095            public boolean equals(Object obj) {
1096                    if (this == obj) {
1097                            return true;
1098                    }
1099    
1100                    if (!(obj instanceof DLFolder)) {
1101                            return false;
1102                    }
1103    
1104                    DLFolder dlFolder = (DLFolder)obj;
1105    
1106                    long primaryKey = dlFolder.getPrimaryKey();
1107    
1108                    if (getPrimaryKey() == primaryKey) {
1109                            return true;
1110                    }
1111                    else {
1112                            return false;
1113                    }
1114            }
1115    
1116            @Override
1117            public int hashCode() {
1118                    return (int)getPrimaryKey();
1119            }
1120    
1121            @Override
1122            public void resetOriginalValues() {
1123                    DLFolderModelImpl dlFolderModelImpl = this;
1124    
1125                    dlFolderModelImpl._originalUuid = dlFolderModelImpl._uuid;
1126    
1127                    dlFolderModelImpl._originalGroupId = dlFolderModelImpl._groupId;
1128    
1129                    dlFolderModelImpl._setOriginalGroupId = false;
1130    
1131                    dlFolderModelImpl._originalCompanyId = dlFolderModelImpl._companyId;
1132    
1133                    dlFolderModelImpl._setOriginalCompanyId = false;
1134    
1135                    dlFolderModelImpl._originalRepositoryId = dlFolderModelImpl._repositoryId;
1136    
1137                    dlFolderModelImpl._setOriginalRepositoryId = false;
1138    
1139                    dlFolderModelImpl._originalMountPoint = dlFolderModelImpl._mountPoint;
1140    
1141                    dlFolderModelImpl._setOriginalMountPoint = false;
1142    
1143                    dlFolderModelImpl._originalParentFolderId = dlFolderModelImpl._parentFolderId;
1144    
1145                    dlFolderModelImpl._setOriginalParentFolderId = false;
1146    
1147                    dlFolderModelImpl._originalName = dlFolderModelImpl._name;
1148    
1149                    dlFolderModelImpl._originalHidden = dlFolderModelImpl._hidden;
1150    
1151                    dlFolderModelImpl._setOriginalHidden = false;
1152    
1153                    dlFolderModelImpl._originalStatus = dlFolderModelImpl._status;
1154    
1155                    dlFolderModelImpl._setOriginalStatus = false;
1156    
1157                    dlFolderModelImpl._columnBitmask = 0;
1158            }
1159    
1160            @Override
1161            public CacheModel<DLFolder> toCacheModel() {
1162                    DLFolderCacheModel dlFolderCacheModel = new DLFolderCacheModel();
1163    
1164                    dlFolderCacheModel.uuid = getUuid();
1165    
1166                    String uuid = dlFolderCacheModel.uuid;
1167    
1168                    if ((uuid != null) && (uuid.length() == 0)) {
1169                            dlFolderCacheModel.uuid = null;
1170                    }
1171    
1172                    dlFolderCacheModel.folderId = getFolderId();
1173    
1174                    dlFolderCacheModel.groupId = getGroupId();
1175    
1176                    dlFolderCacheModel.companyId = getCompanyId();
1177    
1178                    dlFolderCacheModel.userId = getUserId();
1179    
1180                    dlFolderCacheModel.userName = getUserName();
1181    
1182                    String userName = dlFolderCacheModel.userName;
1183    
1184                    if ((userName != null) && (userName.length() == 0)) {
1185                            dlFolderCacheModel.userName = null;
1186                    }
1187    
1188                    Date createDate = getCreateDate();
1189    
1190                    if (createDate != null) {
1191                            dlFolderCacheModel.createDate = createDate.getTime();
1192                    }
1193                    else {
1194                            dlFolderCacheModel.createDate = Long.MIN_VALUE;
1195                    }
1196    
1197                    Date modifiedDate = getModifiedDate();
1198    
1199                    if (modifiedDate != null) {
1200                            dlFolderCacheModel.modifiedDate = modifiedDate.getTime();
1201                    }
1202                    else {
1203                            dlFolderCacheModel.modifiedDate = Long.MIN_VALUE;
1204                    }
1205    
1206                    dlFolderCacheModel.repositoryId = getRepositoryId();
1207    
1208                    dlFolderCacheModel.mountPoint = getMountPoint();
1209    
1210                    dlFolderCacheModel.parentFolderId = getParentFolderId();
1211    
1212                    dlFolderCacheModel.treePath = getTreePath();
1213    
1214                    String treePath = dlFolderCacheModel.treePath;
1215    
1216                    if ((treePath != null) && (treePath.length() == 0)) {
1217                            dlFolderCacheModel.treePath = null;
1218                    }
1219    
1220                    dlFolderCacheModel.name = getName();
1221    
1222                    String name = dlFolderCacheModel.name;
1223    
1224                    if ((name != null) && (name.length() == 0)) {
1225                            dlFolderCacheModel.name = null;
1226                    }
1227    
1228                    dlFolderCacheModel.description = getDescription();
1229    
1230                    String description = dlFolderCacheModel.description;
1231    
1232                    if ((description != null) && (description.length() == 0)) {
1233                            dlFolderCacheModel.description = null;
1234                    }
1235    
1236                    Date lastPostDate = getLastPostDate();
1237    
1238                    if (lastPostDate != null) {
1239                            dlFolderCacheModel.lastPostDate = lastPostDate.getTime();
1240                    }
1241                    else {
1242                            dlFolderCacheModel.lastPostDate = Long.MIN_VALUE;
1243                    }
1244    
1245                    dlFolderCacheModel.defaultFileEntryTypeId = getDefaultFileEntryTypeId();
1246    
1247                    dlFolderCacheModel.hidden = getHidden();
1248    
1249                    dlFolderCacheModel.overrideFileEntryTypes = getOverrideFileEntryTypes();
1250    
1251                    dlFolderCacheModel.status = getStatus();
1252    
1253                    dlFolderCacheModel.statusByUserId = getStatusByUserId();
1254    
1255                    dlFolderCacheModel.statusByUserName = getStatusByUserName();
1256    
1257                    String statusByUserName = dlFolderCacheModel.statusByUserName;
1258    
1259                    if ((statusByUserName != null) && (statusByUserName.length() == 0)) {
1260                            dlFolderCacheModel.statusByUserName = null;
1261                    }
1262    
1263                    Date statusDate = getStatusDate();
1264    
1265                    if (statusDate != null) {
1266                            dlFolderCacheModel.statusDate = statusDate.getTime();
1267                    }
1268                    else {
1269                            dlFolderCacheModel.statusDate = Long.MIN_VALUE;
1270                    }
1271    
1272                    return dlFolderCacheModel;
1273            }
1274    
1275            @Override
1276            public String toString() {
1277                    StringBundler sb = new StringBundler(45);
1278    
1279                    sb.append("{uuid=");
1280                    sb.append(getUuid());
1281                    sb.append(", folderId=");
1282                    sb.append(getFolderId());
1283                    sb.append(", groupId=");
1284                    sb.append(getGroupId());
1285                    sb.append(", companyId=");
1286                    sb.append(getCompanyId());
1287                    sb.append(", userId=");
1288                    sb.append(getUserId());
1289                    sb.append(", userName=");
1290                    sb.append(getUserName());
1291                    sb.append(", createDate=");
1292                    sb.append(getCreateDate());
1293                    sb.append(", modifiedDate=");
1294                    sb.append(getModifiedDate());
1295                    sb.append(", repositoryId=");
1296                    sb.append(getRepositoryId());
1297                    sb.append(", mountPoint=");
1298                    sb.append(getMountPoint());
1299                    sb.append(", parentFolderId=");
1300                    sb.append(getParentFolderId());
1301                    sb.append(", treePath=");
1302                    sb.append(getTreePath());
1303                    sb.append(", name=");
1304                    sb.append(getName());
1305                    sb.append(", description=");
1306                    sb.append(getDescription());
1307                    sb.append(", lastPostDate=");
1308                    sb.append(getLastPostDate());
1309                    sb.append(", defaultFileEntryTypeId=");
1310                    sb.append(getDefaultFileEntryTypeId());
1311                    sb.append(", hidden=");
1312                    sb.append(getHidden());
1313                    sb.append(", overrideFileEntryTypes=");
1314                    sb.append(getOverrideFileEntryTypes());
1315                    sb.append(", status=");
1316                    sb.append(getStatus());
1317                    sb.append(", statusByUserId=");
1318                    sb.append(getStatusByUserId());
1319                    sb.append(", statusByUserName=");
1320                    sb.append(getStatusByUserName());
1321                    sb.append(", statusDate=");
1322                    sb.append(getStatusDate());
1323                    sb.append("}");
1324    
1325                    return sb.toString();
1326            }
1327    
1328            @Override
1329            public String toXmlString() {
1330                    StringBundler sb = new StringBundler(70);
1331    
1332                    sb.append("<model><model-name>");
1333                    sb.append("com.liferay.portlet.documentlibrary.model.DLFolder");
1334                    sb.append("</model-name>");
1335    
1336                    sb.append(
1337                            "<column><column-name>uuid</column-name><column-value><![CDATA[");
1338                    sb.append(getUuid());
1339                    sb.append("]]></column-value></column>");
1340                    sb.append(
1341                            "<column><column-name>folderId</column-name><column-value><![CDATA[");
1342                    sb.append(getFolderId());
1343                    sb.append("]]></column-value></column>");
1344                    sb.append(
1345                            "<column><column-name>groupId</column-name><column-value><![CDATA[");
1346                    sb.append(getGroupId());
1347                    sb.append("]]></column-value></column>");
1348                    sb.append(
1349                            "<column><column-name>companyId</column-name><column-value><![CDATA[");
1350                    sb.append(getCompanyId());
1351                    sb.append("]]></column-value></column>");
1352                    sb.append(
1353                            "<column><column-name>userId</column-name><column-value><![CDATA[");
1354                    sb.append(getUserId());
1355                    sb.append("]]></column-value></column>");
1356                    sb.append(
1357                            "<column><column-name>userName</column-name><column-value><![CDATA[");
1358                    sb.append(getUserName());
1359                    sb.append("]]></column-value></column>");
1360                    sb.append(
1361                            "<column><column-name>createDate</column-name><column-value><![CDATA[");
1362                    sb.append(getCreateDate());
1363                    sb.append("]]></column-value></column>");
1364                    sb.append(
1365                            "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
1366                    sb.append(getModifiedDate());
1367                    sb.append("]]></column-value></column>");
1368                    sb.append(
1369                            "<column><column-name>repositoryId</column-name><column-value><![CDATA[");
1370                    sb.append(getRepositoryId());
1371                    sb.append("]]></column-value></column>");
1372                    sb.append(
1373                            "<column><column-name>mountPoint</column-name><column-value><![CDATA[");
1374                    sb.append(getMountPoint());
1375                    sb.append("]]></column-value></column>");
1376                    sb.append(
1377                            "<column><column-name>parentFolderId</column-name><column-value><![CDATA[");
1378                    sb.append(getParentFolderId());
1379                    sb.append("]]></column-value></column>");
1380                    sb.append(
1381                            "<column><column-name>treePath</column-name><column-value><![CDATA[");
1382                    sb.append(getTreePath());
1383                    sb.append("]]></column-value></column>");
1384                    sb.append(
1385                            "<column><column-name>name</column-name><column-value><![CDATA[");
1386                    sb.append(getName());
1387                    sb.append("]]></column-value></column>");
1388                    sb.append(
1389                            "<column><column-name>description</column-name><column-value><![CDATA[");
1390                    sb.append(getDescription());
1391                    sb.append("]]></column-value></column>");
1392                    sb.append(
1393                            "<column><column-name>lastPostDate</column-name><column-value><![CDATA[");
1394                    sb.append(getLastPostDate());
1395                    sb.append("]]></column-value></column>");
1396                    sb.append(
1397                            "<column><column-name>defaultFileEntryTypeId</column-name><column-value><![CDATA[");
1398                    sb.append(getDefaultFileEntryTypeId());
1399                    sb.append("]]></column-value></column>");
1400                    sb.append(
1401                            "<column><column-name>hidden</column-name><column-value><![CDATA[");
1402                    sb.append(getHidden());
1403                    sb.append("]]></column-value></column>");
1404                    sb.append(
1405                            "<column><column-name>overrideFileEntryTypes</column-name><column-value><![CDATA[");
1406                    sb.append(getOverrideFileEntryTypes());
1407                    sb.append("]]></column-value></column>");
1408                    sb.append(
1409                            "<column><column-name>status</column-name><column-value><![CDATA[");
1410                    sb.append(getStatus());
1411                    sb.append("]]></column-value></column>");
1412                    sb.append(
1413                            "<column><column-name>statusByUserId</column-name><column-value><![CDATA[");
1414                    sb.append(getStatusByUserId());
1415                    sb.append("]]></column-value></column>");
1416                    sb.append(
1417                            "<column><column-name>statusByUserName</column-name><column-value><![CDATA[");
1418                    sb.append(getStatusByUserName());
1419                    sb.append("]]></column-value></column>");
1420                    sb.append(
1421                            "<column><column-name>statusDate</column-name><column-value><![CDATA[");
1422                    sb.append(getStatusDate());
1423                    sb.append("]]></column-value></column>");
1424    
1425                    sb.append("</model>");
1426    
1427                    return sb.toString();
1428            }
1429    
1430            private static ClassLoader _classLoader = DLFolder.class.getClassLoader();
1431            private static Class<?>[] _escapedModelInterfaces = new Class[] {
1432                            DLFolder.class
1433                    };
1434            private String _uuid;
1435            private String _originalUuid;
1436            private long _folderId;
1437            private long _groupId;
1438            private long _originalGroupId;
1439            private boolean _setOriginalGroupId;
1440            private long _companyId;
1441            private long _originalCompanyId;
1442            private boolean _setOriginalCompanyId;
1443            private long _userId;
1444            private String _userUuid;
1445            private String _userName;
1446            private Date _createDate;
1447            private Date _modifiedDate;
1448            private long _repositoryId;
1449            private long _originalRepositoryId;
1450            private boolean _setOriginalRepositoryId;
1451            private boolean _mountPoint;
1452            private boolean _originalMountPoint;
1453            private boolean _setOriginalMountPoint;
1454            private long _parentFolderId;
1455            private long _originalParentFolderId;
1456            private boolean _setOriginalParentFolderId;
1457            private String _treePath;
1458            private String _name;
1459            private String _originalName;
1460            private String _description;
1461            private Date _lastPostDate;
1462            private long _defaultFileEntryTypeId;
1463            private boolean _hidden;
1464            private boolean _originalHidden;
1465            private boolean _setOriginalHidden;
1466            private boolean _overrideFileEntryTypes;
1467            private int _status;
1468            private int _originalStatus;
1469            private boolean _setOriginalStatus;
1470            private long _statusByUserId;
1471            private String _statusByUserUuid;
1472            private String _statusByUserName;
1473            private Date _statusDate;
1474            private long _columnBitmask;
1475            private DLFolder _escapedModel;
1476    }