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.journal.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.lar.StagedModelType;
020    import com.liferay.portal.kernel.util.Validator;
021    import com.liferay.portal.model.ModelWrapper;
022    
023    import java.util.Date;
024    import java.util.HashMap;
025    import java.util.Map;
026    
027    /**
028     * <p>
029     * This class is a wrapper for {@link JournalFolder}.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see JournalFolder
034     * @generated
035     */
036    @ProviderType
037    public class JournalFolderWrapper implements JournalFolder,
038            ModelWrapper<JournalFolder> {
039            public JournalFolderWrapper(JournalFolder journalFolder) {
040                    _journalFolder = journalFolder;
041            }
042    
043            @Override
044            public Class<?> getModelClass() {
045                    return JournalFolder.class;
046            }
047    
048            @Override
049            public String getModelClassName() {
050                    return JournalFolder.class.getName();
051            }
052    
053            @Override
054            public Map<String, Object> getModelAttributes() {
055                    Map<String, Object> attributes = new HashMap<String, Object>();
056    
057                    attributes.put("uuid", getUuid());
058                    attributes.put("folderId", getFolderId());
059                    attributes.put("groupId", getGroupId());
060                    attributes.put("companyId", getCompanyId());
061                    attributes.put("userId", getUserId());
062                    attributes.put("userName", getUserName());
063                    attributes.put("createDate", getCreateDate());
064                    attributes.put("modifiedDate", getModifiedDate());
065                    attributes.put("parentFolderId", getParentFolderId());
066                    attributes.put("treePath", getTreePath());
067                    attributes.put("name", getName());
068                    attributes.put("description", getDescription());
069                    attributes.put("status", getStatus());
070                    attributes.put("statusByUserId", getStatusByUserId());
071                    attributes.put("statusByUserName", getStatusByUserName());
072                    attributes.put("statusDate", getStatusDate());
073    
074                    return attributes;
075            }
076    
077            @Override
078            public void setModelAttributes(Map<String, Object> attributes) {
079                    String uuid = (String)attributes.get("uuid");
080    
081                    if (uuid != null) {
082                            setUuid(uuid);
083                    }
084    
085                    Long folderId = (Long)attributes.get("folderId");
086    
087                    if (folderId != null) {
088                            setFolderId(folderId);
089                    }
090    
091                    Long groupId = (Long)attributes.get("groupId");
092    
093                    if (groupId != null) {
094                            setGroupId(groupId);
095                    }
096    
097                    Long companyId = (Long)attributes.get("companyId");
098    
099                    if (companyId != null) {
100                            setCompanyId(companyId);
101                    }
102    
103                    Long userId = (Long)attributes.get("userId");
104    
105                    if (userId != null) {
106                            setUserId(userId);
107                    }
108    
109                    String userName = (String)attributes.get("userName");
110    
111                    if (userName != null) {
112                            setUserName(userName);
113                    }
114    
115                    Date createDate = (Date)attributes.get("createDate");
116    
117                    if (createDate != null) {
118                            setCreateDate(createDate);
119                    }
120    
121                    Date modifiedDate = (Date)attributes.get("modifiedDate");
122    
123                    if (modifiedDate != null) {
124                            setModifiedDate(modifiedDate);
125                    }
126    
127                    Long parentFolderId = (Long)attributes.get("parentFolderId");
128    
129                    if (parentFolderId != null) {
130                            setParentFolderId(parentFolderId);
131                    }
132    
133                    String treePath = (String)attributes.get("treePath");
134    
135                    if (treePath != null) {
136                            setTreePath(treePath);
137                    }
138    
139                    String name = (String)attributes.get("name");
140    
141                    if (name != null) {
142                            setName(name);
143                    }
144    
145                    String description = (String)attributes.get("description");
146    
147                    if (description != null) {
148                            setDescription(description);
149                    }
150    
151                    Integer status = (Integer)attributes.get("status");
152    
153                    if (status != null) {
154                            setStatus(status);
155                    }
156    
157                    Long statusByUserId = (Long)attributes.get("statusByUserId");
158    
159                    if (statusByUserId != null) {
160                            setStatusByUserId(statusByUserId);
161                    }
162    
163                    String statusByUserName = (String)attributes.get("statusByUserName");
164    
165                    if (statusByUserName != null) {
166                            setStatusByUserName(statusByUserName);
167                    }
168    
169                    Date statusDate = (Date)attributes.get("statusDate");
170    
171                    if (statusDate != null) {
172                            setStatusDate(statusDate);
173                    }
174            }
175    
176            /**
177            * Returns the primary key of this journal folder.
178            *
179            * @return the primary key of this journal folder
180            */
181            @Override
182            public long getPrimaryKey() {
183                    return _journalFolder.getPrimaryKey();
184            }
185    
186            /**
187            * Sets the primary key of this journal folder.
188            *
189            * @param primaryKey the primary key of this journal folder
190            */
191            @Override
192            public void setPrimaryKey(long primaryKey) {
193                    _journalFolder.setPrimaryKey(primaryKey);
194            }
195    
196            /**
197            * Returns the uuid of this journal folder.
198            *
199            * @return the uuid of this journal folder
200            */
201            @Override
202            public java.lang.String getUuid() {
203                    return _journalFolder.getUuid();
204            }
205    
206            /**
207            * Sets the uuid of this journal folder.
208            *
209            * @param uuid the uuid of this journal folder
210            */
211            @Override
212            public void setUuid(java.lang.String uuid) {
213                    _journalFolder.setUuid(uuid);
214            }
215    
216            /**
217            * Returns the folder ID of this journal folder.
218            *
219            * @return the folder ID of this journal folder
220            */
221            @Override
222            public long getFolderId() {
223                    return _journalFolder.getFolderId();
224            }
225    
226            /**
227            * Sets the folder ID of this journal folder.
228            *
229            * @param folderId the folder ID of this journal folder
230            */
231            @Override
232            public void setFolderId(long folderId) {
233                    _journalFolder.setFolderId(folderId);
234            }
235    
236            /**
237            * Returns the group ID of this journal folder.
238            *
239            * @return the group ID of this journal folder
240            */
241            @Override
242            public long getGroupId() {
243                    return _journalFolder.getGroupId();
244            }
245    
246            /**
247            * Sets the group ID of this journal folder.
248            *
249            * @param groupId the group ID of this journal folder
250            */
251            @Override
252            public void setGroupId(long groupId) {
253                    _journalFolder.setGroupId(groupId);
254            }
255    
256            /**
257            * Returns the company ID of this journal folder.
258            *
259            * @return the company ID of this journal folder
260            */
261            @Override
262            public long getCompanyId() {
263                    return _journalFolder.getCompanyId();
264            }
265    
266            /**
267            * Sets the company ID of this journal folder.
268            *
269            * @param companyId the company ID of this journal folder
270            */
271            @Override
272            public void setCompanyId(long companyId) {
273                    _journalFolder.setCompanyId(companyId);
274            }
275    
276            /**
277            * Returns the user ID of this journal folder.
278            *
279            * @return the user ID of this journal folder
280            */
281            @Override
282            public long getUserId() {
283                    return _journalFolder.getUserId();
284            }
285    
286            /**
287            * Sets the user ID of this journal folder.
288            *
289            * @param userId the user ID of this journal folder
290            */
291            @Override
292            public void setUserId(long userId) {
293                    _journalFolder.setUserId(userId);
294            }
295    
296            /**
297            * Returns the user uuid of this journal folder.
298            *
299            * @return the user uuid of this journal folder
300            * @throws SystemException if a system exception occurred
301            */
302            @Override
303            public java.lang.String getUserUuid()
304                    throws com.liferay.portal.kernel.exception.SystemException {
305                    return _journalFolder.getUserUuid();
306            }
307    
308            /**
309            * Sets the user uuid of this journal folder.
310            *
311            * @param userUuid the user uuid of this journal folder
312            */
313            @Override
314            public void setUserUuid(java.lang.String userUuid) {
315                    _journalFolder.setUserUuid(userUuid);
316            }
317    
318            /**
319            * Returns the user name of this journal folder.
320            *
321            * @return the user name of this journal folder
322            */
323            @Override
324            public java.lang.String getUserName() {
325                    return _journalFolder.getUserName();
326            }
327    
328            /**
329            * Sets the user name of this journal folder.
330            *
331            * @param userName the user name of this journal folder
332            */
333            @Override
334            public void setUserName(java.lang.String userName) {
335                    _journalFolder.setUserName(userName);
336            }
337    
338            /**
339            * Returns the create date of this journal folder.
340            *
341            * @return the create date of this journal folder
342            */
343            @Override
344            public java.util.Date getCreateDate() {
345                    return _journalFolder.getCreateDate();
346            }
347    
348            /**
349            * Sets the create date of this journal folder.
350            *
351            * @param createDate the create date of this journal folder
352            */
353            @Override
354            public void setCreateDate(java.util.Date createDate) {
355                    _journalFolder.setCreateDate(createDate);
356            }
357    
358            /**
359            * Returns the modified date of this journal folder.
360            *
361            * @return the modified date of this journal folder
362            */
363            @Override
364            public java.util.Date getModifiedDate() {
365                    return _journalFolder.getModifiedDate();
366            }
367    
368            /**
369            * Sets the modified date of this journal folder.
370            *
371            * @param modifiedDate the modified date of this journal folder
372            */
373            @Override
374            public void setModifiedDate(java.util.Date modifiedDate) {
375                    _journalFolder.setModifiedDate(modifiedDate);
376            }
377    
378            /**
379            * Returns the parent folder ID of this journal folder.
380            *
381            * @return the parent folder ID of this journal folder
382            */
383            @Override
384            public long getParentFolderId() {
385                    return _journalFolder.getParentFolderId();
386            }
387    
388            /**
389            * Sets the parent folder ID of this journal folder.
390            *
391            * @param parentFolderId the parent folder ID of this journal folder
392            */
393            @Override
394            public void setParentFolderId(long parentFolderId) {
395                    _journalFolder.setParentFolderId(parentFolderId);
396            }
397    
398            /**
399            * Returns the tree path of this journal folder.
400            *
401            * @return the tree path of this journal folder
402            */
403            @Override
404            public java.lang.String getTreePath() {
405                    return _journalFolder.getTreePath();
406            }
407    
408            /**
409            * Sets the tree path of this journal folder.
410            *
411            * @param treePath the tree path of this journal folder
412            */
413            @Override
414            public void setTreePath(java.lang.String treePath) {
415                    _journalFolder.setTreePath(treePath);
416            }
417    
418            /**
419            * Returns the name of this journal folder.
420            *
421            * @return the name of this journal folder
422            */
423            @Override
424            public java.lang.String getName() {
425                    return _journalFolder.getName();
426            }
427    
428            /**
429            * Sets the name of this journal folder.
430            *
431            * @param name the name of this journal folder
432            */
433            @Override
434            public void setName(java.lang.String name) {
435                    _journalFolder.setName(name);
436            }
437    
438            /**
439            * Returns the description of this journal folder.
440            *
441            * @return the description of this journal folder
442            */
443            @Override
444            public java.lang.String getDescription() {
445                    return _journalFolder.getDescription();
446            }
447    
448            /**
449            * Sets the description of this journal folder.
450            *
451            * @param description the description of this journal folder
452            */
453            @Override
454            public void setDescription(java.lang.String description) {
455                    _journalFolder.setDescription(description);
456            }
457    
458            /**
459            * Returns the status of this journal folder.
460            *
461            * @return the status of this journal folder
462            */
463            @Override
464            public int getStatus() {
465                    return _journalFolder.getStatus();
466            }
467    
468            /**
469            * Sets the status of this journal folder.
470            *
471            * @param status the status of this journal folder
472            */
473            @Override
474            public void setStatus(int status) {
475                    _journalFolder.setStatus(status);
476            }
477    
478            /**
479            * Returns the status by user ID of this journal folder.
480            *
481            * @return the status by user ID of this journal folder
482            */
483            @Override
484            public long getStatusByUserId() {
485                    return _journalFolder.getStatusByUserId();
486            }
487    
488            /**
489            * Sets the status by user ID of this journal folder.
490            *
491            * @param statusByUserId the status by user ID of this journal folder
492            */
493            @Override
494            public void setStatusByUserId(long statusByUserId) {
495                    _journalFolder.setStatusByUserId(statusByUserId);
496            }
497    
498            /**
499            * Returns the status by user uuid of this journal folder.
500            *
501            * @return the status by user uuid of this journal folder
502            * @throws SystemException if a system exception occurred
503            */
504            @Override
505            public java.lang.String getStatusByUserUuid()
506                    throws com.liferay.portal.kernel.exception.SystemException {
507                    return _journalFolder.getStatusByUserUuid();
508            }
509    
510            /**
511            * Sets the status by user uuid of this journal folder.
512            *
513            * @param statusByUserUuid the status by user uuid of this journal folder
514            */
515            @Override
516            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
517                    _journalFolder.setStatusByUserUuid(statusByUserUuid);
518            }
519    
520            /**
521            * Returns the status by user name of this journal folder.
522            *
523            * @return the status by user name of this journal folder
524            */
525            @Override
526            public java.lang.String getStatusByUserName() {
527                    return _journalFolder.getStatusByUserName();
528            }
529    
530            /**
531            * Sets the status by user name of this journal folder.
532            *
533            * @param statusByUserName the status by user name of this journal folder
534            */
535            @Override
536            public void setStatusByUserName(java.lang.String statusByUserName) {
537                    _journalFolder.setStatusByUserName(statusByUserName);
538            }
539    
540            /**
541            * Returns the status date of this journal folder.
542            *
543            * @return the status date of this journal folder
544            */
545            @Override
546            public java.util.Date getStatusDate() {
547                    return _journalFolder.getStatusDate();
548            }
549    
550            /**
551            * Sets the status date of this journal folder.
552            *
553            * @param statusDate the status date of this journal folder
554            */
555            @Override
556            public void setStatusDate(java.util.Date statusDate) {
557                    _journalFolder.setStatusDate(statusDate);
558            }
559    
560            /**
561            * Returns the trash entry created when this journal folder was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this journal folder.
562            *
563            * @return the trash entry created when this journal folder was moved to the Recycle Bin
564            * @throws SystemException if a system exception occurred
565            */
566            @Override
567            public com.liferay.portlet.trash.model.TrashEntry getTrashEntry()
568                    throws com.liferay.portal.kernel.exception.PortalException,
569                            com.liferay.portal.kernel.exception.SystemException {
570                    return _journalFolder.getTrashEntry();
571            }
572    
573            /**
574            * Returns the class primary key of the trash entry for this journal folder.
575            *
576            * @return the class primary key of the trash entry for this journal folder
577            */
578            @Override
579            public long getTrashEntryClassPK() {
580                    return _journalFolder.getTrashEntryClassPK();
581            }
582    
583            /**
584            * Returns the trash handler for this journal folder.
585            *
586            * @return the trash handler for this journal folder
587            */
588            @Override
589            public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
590                    return _journalFolder.getTrashHandler();
591            }
592    
593            /**
594            * Returns <code>true</code> if this journal folder is in the Recycle Bin.
595            *
596            * @return <code>true</code> if this journal folder is in the Recycle Bin; <code>false</code> otherwise
597            */
598            @Override
599            public boolean isInTrash() {
600                    return _journalFolder.isInTrash();
601            }
602    
603            /**
604            * Returns <code>true</code> if the parent of this journal folder is in the Recycle Bin.
605            *
606            * @return <code>true</code> if the parent of this journal folder is in the Recycle Bin; <code>false</code> otherwise
607            * @throws SystemException if a system exception occurred
608            */
609            @Override
610            public boolean isInTrashContainer() {
611                    return _journalFolder.isInTrashContainer();
612            }
613    
614            /**
615            * @deprecated As of 6.1.0, replaced by {@link #isApproved()}
616            */
617            @Override
618            public boolean getApproved() {
619                    return _journalFolder.getApproved();
620            }
621    
622            /**
623            * Returns <code>true</code> if this journal folder is approved.
624            *
625            * @return <code>true</code> if this journal folder is approved; <code>false</code> otherwise
626            */
627            @Override
628            public boolean isApproved() {
629                    return _journalFolder.isApproved();
630            }
631    
632            /**
633            * Returns <code>true</code> if this journal folder is denied.
634            *
635            * @return <code>true</code> if this journal folder is denied; <code>false</code> otherwise
636            */
637            @Override
638            public boolean isDenied() {
639                    return _journalFolder.isDenied();
640            }
641    
642            /**
643            * Returns <code>true</code> if this journal folder is a draft.
644            *
645            * @return <code>true</code> if this journal folder is a draft; <code>false</code> otherwise
646            */
647            @Override
648            public boolean isDraft() {
649                    return _journalFolder.isDraft();
650            }
651    
652            /**
653            * Returns <code>true</code> if this journal folder is expired.
654            *
655            * @return <code>true</code> if this journal folder is expired; <code>false</code> otherwise
656            */
657            @Override
658            public boolean isExpired() {
659                    return _journalFolder.isExpired();
660            }
661    
662            /**
663            * Returns <code>true</code> if this journal folder is inactive.
664            *
665            * @return <code>true</code> if this journal folder is inactive; <code>false</code> otherwise
666            */
667            @Override
668            public boolean isInactive() {
669                    return _journalFolder.isInactive();
670            }
671    
672            /**
673            * Returns <code>true</code> if this journal folder is incomplete.
674            *
675            * @return <code>true</code> if this journal folder is incomplete; <code>false</code> otherwise
676            */
677            @Override
678            public boolean isIncomplete() {
679                    return _journalFolder.isIncomplete();
680            }
681    
682            /**
683            * Returns <code>true</code> if this journal folder is pending.
684            *
685            * @return <code>true</code> if this journal folder is pending; <code>false</code> otherwise
686            */
687            @Override
688            public boolean isPending() {
689                    return _journalFolder.isPending();
690            }
691    
692            /**
693            * Returns <code>true</code> if this journal folder is scheduled.
694            *
695            * @return <code>true</code> if this journal folder is scheduled; <code>false</code> otherwise
696            */
697            @Override
698            public boolean isScheduled() {
699                    return _journalFolder.isScheduled();
700            }
701    
702            /**
703            * Returns the container model ID of this journal folder.
704            *
705            * @return the container model ID of this journal folder
706            */
707            @Override
708            public long getContainerModelId() {
709                    return _journalFolder.getContainerModelId();
710            }
711    
712            /**
713            * Sets the container model ID of this journal folder.
714            *
715            * @param containerModelId the container model ID of this journal folder
716            */
717            @Override
718            public void setContainerModelId(long containerModelId) {
719                    _journalFolder.setContainerModelId(containerModelId);
720            }
721    
722            /**
723            * Returns the container name of this journal folder.
724            *
725            * @return the container name of this journal folder
726            */
727            @Override
728            public java.lang.String getContainerModelName() {
729                    return _journalFolder.getContainerModelName();
730            }
731    
732            /**
733            * Returns the parent container model ID of this journal folder.
734            *
735            * @return the parent container model ID of this journal folder
736            */
737            @Override
738            public long getParentContainerModelId() {
739                    return _journalFolder.getParentContainerModelId();
740            }
741    
742            /**
743            * Sets the parent container model ID of this journal folder.
744            *
745            * @param parentContainerModelId the parent container model ID of this journal folder
746            */
747            @Override
748            public void setParentContainerModelId(long parentContainerModelId) {
749                    _journalFolder.setParentContainerModelId(parentContainerModelId);
750            }
751    
752            @Override
753            public boolean isNew() {
754                    return _journalFolder.isNew();
755            }
756    
757            @Override
758            public void setNew(boolean n) {
759                    _journalFolder.setNew(n);
760            }
761    
762            @Override
763            public boolean isCachedModel() {
764                    return _journalFolder.isCachedModel();
765            }
766    
767            @Override
768            public void setCachedModel(boolean cachedModel) {
769                    _journalFolder.setCachedModel(cachedModel);
770            }
771    
772            @Override
773            public boolean isEscapedModel() {
774                    return _journalFolder.isEscapedModel();
775            }
776    
777            @Override
778            public java.io.Serializable getPrimaryKeyObj() {
779                    return _journalFolder.getPrimaryKeyObj();
780            }
781    
782            @Override
783            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
784                    _journalFolder.setPrimaryKeyObj(primaryKeyObj);
785            }
786    
787            @Override
788            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
789                    return _journalFolder.getExpandoBridge();
790            }
791    
792            @Override
793            public void setExpandoBridgeAttributes(
794                    com.liferay.portal.model.BaseModel<?> baseModel) {
795                    _journalFolder.setExpandoBridgeAttributes(baseModel);
796            }
797    
798            @Override
799            public void setExpandoBridgeAttributes(
800                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
801                    _journalFolder.setExpandoBridgeAttributes(expandoBridge);
802            }
803    
804            @Override
805            public void setExpandoBridgeAttributes(
806                    com.liferay.portal.service.ServiceContext serviceContext) {
807                    _journalFolder.setExpandoBridgeAttributes(serviceContext);
808            }
809    
810            @Override
811            public java.lang.Object clone() {
812                    return new JournalFolderWrapper((JournalFolder)_journalFolder.clone());
813            }
814    
815            @Override
816            public int compareTo(
817                    com.liferay.portlet.journal.model.JournalFolder journalFolder) {
818                    return _journalFolder.compareTo(journalFolder);
819            }
820    
821            @Override
822            public int hashCode() {
823                    return _journalFolder.hashCode();
824            }
825    
826            @Override
827            public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalFolder> toCacheModel() {
828                    return _journalFolder.toCacheModel();
829            }
830    
831            @Override
832            public com.liferay.portlet.journal.model.JournalFolder toEscapedModel() {
833                    return new JournalFolderWrapper(_journalFolder.toEscapedModel());
834            }
835    
836            @Override
837            public com.liferay.portlet.journal.model.JournalFolder toUnescapedModel() {
838                    return new JournalFolderWrapper(_journalFolder.toUnescapedModel());
839            }
840    
841            @Override
842            public java.lang.String toString() {
843                    return _journalFolder.toString();
844            }
845    
846            @Override
847            public java.lang.String toXmlString() {
848                    return _journalFolder.toXmlString();
849            }
850    
851            @Override
852            public void persist()
853                    throws com.liferay.portal.kernel.exception.SystemException {
854                    _journalFolder.persist();
855            }
856    
857            @Override
858            public java.lang.String buildTreePath()
859                    throws com.liferay.portal.kernel.exception.PortalException,
860                            com.liferay.portal.kernel.exception.SystemException {
861                    return _journalFolder.buildTreePath();
862            }
863    
864            @Override
865            public void updateTreePath(java.lang.String treePath)
866                    throws com.liferay.portal.kernel.exception.SystemException {
867                    _journalFolder.updateTreePath(treePath);
868            }
869    
870            @Override
871            public java.util.List<java.lang.Long> getAncestorFolderIds()
872                    throws com.liferay.portal.kernel.exception.PortalException,
873                            com.liferay.portal.kernel.exception.SystemException {
874                    return _journalFolder.getAncestorFolderIds();
875            }
876    
877            @Override
878            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getAncestors()
879                    throws com.liferay.portal.kernel.exception.PortalException,
880                            com.liferay.portal.kernel.exception.SystemException {
881                    return _journalFolder.getAncestors();
882            }
883    
884            @Override
885            public com.liferay.portlet.journal.model.JournalFolder getParentFolder()
886                    throws com.liferay.portal.kernel.exception.PortalException,
887                            com.liferay.portal.kernel.exception.SystemException {
888                    return _journalFolder.getParentFolder();
889            }
890    
891            @Override
892            public boolean isInTrashExplicitly()
893                    throws com.liferay.portal.kernel.exception.SystemException {
894                    return _journalFolder.isInTrashExplicitly();
895            }
896    
897            @Override
898            public boolean isRoot() {
899                    return _journalFolder.isRoot();
900            }
901    
902            @Override
903            public boolean equals(Object obj) {
904                    if (this == obj) {
905                            return true;
906                    }
907    
908                    if (!(obj instanceof JournalFolderWrapper)) {
909                            return false;
910                    }
911    
912                    JournalFolderWrapper journalFolderWrapper = (JournalFolderWrapper)obj;
913    
914                    if (Validator.equals(_journalFolder, journalFolderWrapper._journalFolder)) {
915                            return true;
916                    }
917    
918                    return false;
919            }
920    
921            @Override
922            public StagedModelType getStagedModelType() {
923                    return _journalFolder.getStagedModelType();
924            }
925    
926            /**
927             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
928             */
929            public JournalFolder getWrappedJournalFolder() {
930                    return _journalFolder;
931            }
932    
933            @Override
934            public JournalFolder getWrappedModel() {
935                    return _journalFolder;
936            }
937    
938            @Override
939            public void resetOriginalValues() {
940                    _journalFolder.resetOriginalValues();
941            }
942    
943            private JournalFolder _journalFolder;
944    }