001    /**
002     * Copyright (c) 2000-present 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 JournalArticle}.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see JournalArticle
034     * @generated
035     */
036    @ProviderType
037    public class JournalArticleWrapper implements JournalArticle,
038            ModelWrapper<JournalArticle> {
039            public JournalArticleWrapper(JournalArticle journalArticle) {
040                    _journalArticle = journalArticle;
041            }
042    
043            @Override
044            public Class<?> getModelClass() {
045                    return JournalArticle.class;
046            }
047    
048            @Override
049            public String getModelClassName() {
050                    return JournalArticle.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("id", getId());
059                    attributes.put("resourcePrimKey", getResourcePrimKey());
060                    attributes.put("groupId", getGroupId());
061                    attributes.put("companyId", getCompanyId());
062                    attributes.put("userId", getUserId());
063                    attributes.put("userName", getUserName());
064                    attributes.put("createDate", getCreateDate());
065                    attributes.put("modifiedDate", getModifiedDate());
066                    attributes.put("folderId", getFolderId());
067                    attributes.put("classNameId", getClassNameId());
068                    attributes.put("classPK", getClassPK());
069                    attributes.put("treePath", getTreePath());
070                    attributes.put("articleId", getArticleId());
071                    attributes.put("version", getVersion());
072                    attributes.put("title", getTitle());
073                    attributes.put("urlTitle", getUrlTitle());
074                    attributes.put("description", getDescription());
075                    attributes.put("content", getContent());
076                    attributes.put("type", getType());
077                    attributes.put("structureId", getStructureId());
078                    attributes.put("templateId", getTemplateId());
079                    attributes.put("layoutUuid", getLayoutUuid());
080                    attributes.put("displayDate", getDisplayDate());
081                    attributes.put("expirationDate", getExpirationDate());
082                    attributes.put("reviewDate", getReviewDate());
083                    attributes.put("indexable", getIndexable());
084                    attributes.put("smallImage", getSmallImage());
085                    attributes.put("smallImageId", getSmallImageId());
086                    attributes.put("smallImageURL", getSmallImageURL());
087                    attributes.put("status", getStatus());
088                    attributes.put("statusByUserId", getStatusByUserId());
089                    attributes.put("statusByUserName", getStatusByUserName());
090                    attributes.put("statusDate", getStatusDate());
091    
092                    return attributes;
093            }
094    
095            @Override
096            public void setModelAttributes(Map<String, Object> attributes) {
097                    String uuid = (String)attributes.get("uuid");
098    
099                    if (uuid != null) {
100                            setUuid(uuid);
101                    }
102    
103                    Long id = (Long)attributes.get("id");
104    
105                    if (id != null) {
106                            setId(id);
107                    }
108    
109                    Long resourcePrimKey = (Long)attributes.get("resourcePrimKey");
110    
111                    if (resourcePrimKey != null) {
112                            setResourcePrimKey(resourcePrimKey);
113                    }
114    
115                    Long groupId = (Long)attributes.get("groupId");
116    
117                    if (groupId != null) {
118                            setGroupId(groupId);
119                    }
120    
121                    Long companyId = (Long)attributes.get("companyId");
122    
123                    if (companyId != null) {
124                            setCompanyId(companyId);
125                    }
126    
127                    Long userId = (Long)attributes.get("userId");
128    
129                    if (userId != null) {
130                            setUserId(userId);
131                    }
132    
133                    String userName = (String)attributes.get("userName");
134    
135                    if (userName != null) {
136                            setUserName(userName);
137                    }
138    
139                    Date createDate = (Date)attributes.get("createDate");
140    
141                    if (createDate != null) {
142                            setCreateDate(createDate);
143                    }
144    
145                    Date modifiedDate = (Date)attributes.get("modifiedDate");
146    
147                    if (modifiedDate != null) {
148                            setModifiedDate(modifiedDate);
149                    }
150    
151                    Long folderId = (Long)attributes.get("folderId");
152    
153                    if (folderId != null) {
154                            setFolderId(folderId);
155                    }
156    
157                    Long classNameId = (Long)attributes.get("classNameId");
158    
159                    if (classNameId != null) {
160                            setClassNameId(classNameId);
161                    }
162    
163                    Long classPK = (Long)attributes.get("classPK");
164    
165                    if (classPK != null) {
166                            setClassPK(classPK);
167                    }
168    
169                    String treePath = (String)attributes.get("treePath");
170    
171                    if (treePath != null) {
172                            setTreePath(treePath);
173                    }
174    
175                    String articleId = (String)attributes.get("articleId");
176    
177                    if (articleId != null) {
178                            setArticleId(articleId);
179                    }
180    
181                    Double version = (Double)attributes.get("version");
182    
183                    if (version != null) {
184                            setVersion(version);
185                    }
186    
187                    String title = (String)attributes.get("title");
188    
189                    if (title != null) {
190                            setTitle(title);
191                    }
192    
193                    String urlTitle = (String)attributes.get("urlTitle");
194    
195                    if (urlTitle != null) {
196                            setUrlTitle(urlTitle);
197                    }
198    
199                    String description = (String)attributes.get("description");
200    
201                    if (description != null) {
202                            setDescription(description);
203                    }
204    
205                    String content = (String)attributes.get("content");
206    
207                    if (content != null) {
208                            setContent(content);
209                    }
210    
211                    String type = (String)attributes.get("type");
212    
213                    if (type != null) {
214                            setType(type);
215                    }
216    
217                    String structureId = (String)attributes.get("structureId");
218    
219                    if (structureId != null) {
220                            setStructureId(structureId);
221                    }
222    
223                    String templateId = (String)attributes.get("templateId");
224    
225                    if (templateId != null) {
226                            setTemplateId(templateId);
227                    }
228    
229                    String layoutUuid = (String)attributes.get("layoutUuid");
230    
231                    if (layoutUuid != null) {
232                            setLayoutUuid(layoutUuid);
233                    }
234    
235                    Date displayDate = (Date)attributes.get("displayDate");
236    
237                    if (displayDate != null) {
238                            setDisplayDate(displayDate);
239                    }
240    
241                    Date expirationDate = (Date)attributes.get("expirationDate");
242    
243                    if (expirationDate != null) {
244                            setExpirationDate(expirationDate);
245                    }
246    
247                    Date reviewDate = (Date)attributes.get("reviewDate");
248    
249                    if (reviewDate != null) {
250                            setReviewDate(reviewDate);
251                    }
252    
253                    Boolean indexable = (Boolean)attributes.get("indexable");
254    
255                    if (indexable != null) {
256                            setIndexable(indexable);
257                    }
258    
259                    Boolean smallImage = (Boolean)attributes.get("smallImage");
260    
261                    if (smallImage != null) {
262                            setSmallImage(smallImage);
263                    }
264    
265                    Long smallImageId = (Long)attributes.get("smallImageId");
266    
267                    if (smallImageId != null) {
268                            setSmallImageId(smallImageId);
269                    }
270    
271                    String smallImageURL = (String)attributes.get("smallImageURL");
272    
273                    if (smallImageURL != null) {
274                            setSmallImageURL(smallImageURL);
275                    }
276    
277                    Integer status = (Integer)attributes.get("status");
278    
279                    if (status != null) {
280                            setStatus(status);
281                    }
282    
283                    Long statusByUserId = (Long)attributes.get("statusByUserId");
284    
285                    if (statusByUserId != null) {
286                            setStatusByUserId(statusByUserId);
287                    }
288    
289                    String statusByUserName = (String)attributes.get("statusByUserName");
290    
291                    if (statusByUserName != null) {
292                            setStatusByUserName(statusByUserName);
293                    }
294    
295                    Date statusDate = (Date)attributes.get("statusDate");
296    
297                    if (statusDate != null) {
298                            setStatusDate(statusDate);
299                    }
300            }
301    
302            @Override
303            public java.lang.String buildTreePath()
304                    throws com.liferay.portal.kernel.exception.PortalException {
305                    return _journalArticle.buildTreePath();
306            }
307    
308            @Override
309            public java.lang.Object clone() {
310                    return new JournalArticleWrapper((JournalArticle)_journalArticle.clone());
311            }
312    
313            @Override
314            public int compareTo(
315                    com.liferay.portlet.journal.model.JournalArticle journalArticle) {
316                    return _journalArticle.compareTo(journalArticle);
317            }
318    
319            /**
320            * @deprecated As of 6.1.0, replaced by {@link #isApproved()}
321            */
322            @Deprecated
323            @Override
324            public boolean getApproved() {
325                    return _journalArticle.getApproved();
326            }
327    
328            /**
329            * Returns the article ID of this journal article.
330            *
331            * @return the article ID of this journal article
332            */
333            @Override
334            public java.lang.String getArticleId() {
335                    return _journalArticle.getArticleId();
336            }
337    
338            @Override
339            public long getArticleImageId(java.lang.String elInstanceId,
340                    java.lang.String elName, java.lang.String languageId) {
341                    return _journalArticle.getArticleImageId(elInstanceId, elName,
342                            languageId);
343            }
344    
345            @Override
346            public java.lang.String getArticleImageURL(
347                    com.liferay.portal.theme.ThemeDisplay themeDisplay) {
348                    return _journalArticle.getArticleImageURL(themeDisplay);
349            }
350    
351            @Override
352            public com.liferay.portlet.journal.model.JournalArticleResource getArticleResource()
353                    throws com.liferay.portal.kernel.exception.PortalException {
354                    return _journalArticle.getArticleResource();
355            }
356    
357            @Override
358            public java.lang.String getArticleResourceUuid()
359                    throws com.liferay.portal.kernel.exception.PortalException {
360                    return _journalArticle.getArticleResourceUuid();
361            }
362    
363            @Override
364            public java.lang.String[] getAvailableLanguageIds() {
365                    return _journalArticle.getAvailableLanguageIds();
366            }
367    
368            /**
369            * @deprecated As of 6.2.0, replaced by {@link #getAvailableLanguageIds}
370            */
371            @Deprecated
372            @Override
373            public java.lang.String[] getAvailableLocales() {
374                    return _journalArticle.getAvailableLocales();
375            }
376    
377            /**
378            * Returns the fully qualified class name of this journal article.
379            *
380            * @return the fully qualified class name of this journal article
381            */
382            @Override
383            public java.lang.String getClassName() {
384                    return _journalArticle.getClassName();
385            }
386    
387            /**
388            * Returns the class name ID of this journal article.
389            *
390            * @return the class name ID of this journal article
391            */
392            @Override
393            public long getClassNameId() {
394                    return _journalArticle.getClassNameId();
395            }
396    
397            /**
398            * Returns the class p k of this journal article.
399            *
400            * @return the class p k of this journal article
401            */
402            @Override
403            public long getClassPK() {
404                    return _journalArticle.getClassPK();
405            }
406    
407            /**
408            * Returns the company ID of this journal article.
409            *
410            * @return the company ID of this journal article
411            */
412            @Override
413            public long getCompanyId() {
414                    return _journalArticle.getCompanyId();
415            }
416    
417            /**
418            * Returns the content of this journal article.
419            *
420            * @return the content of this journal article
421            */
422            @Override
423            public java.lang.String getContent() {
424                    return _journalArticle.getContent();
425            }
426    
427            @Override
428            public java.lang.String getContentByLocale(java.lang.String languageId) {
429                    return _journalArticle.getContentByLocale(languageId);
430            }
431    
432            /**
433            * Returns the create date of this journal article.
434            *
435            * @return the create date of this journal article
436            */
437            @Override
438            public java.util.Date getCreateDate() {
439                    return _journalArticle.getCreateDate();
440            }
441    
442            @Override
443            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getDDMStructure()
444                    throws com.liferay.portal.kernel.exception.PortalException {
445                    return _journalArticle.getDDMStructure();
446            }
447    
448            @Override
449            public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getDDMTemplate()
450                    throws com.liferay.portal.kernel.exception.PortalException {
451                    return _journalArticle.getDDMTemplate();
452            }
453    
454            @Override
455            public java.lang.String getDefaultLanguageId() {
456                    return _journalArticle.getDefaultLanguageId();
457            }
458    
459            /**
460            * @deprecated As of 6.2.0, replaced by {@link #getDefaultLanguageId}
461            */
462            @Deprecated
463            @Override
464            public java.lang.String getDefaultLocale() {
465                    return _journalArticle.getDefaultLocale();
466            }
467    
468            /**
469            * Returns the description of this journal article.
470            *
471            * @return the description of this journal article
472            */
473            @Override
474            public java.lang.String getDescription() {
475                    return _journalArticle.getDescription();
476            }
477    
478            /**
479            * Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.
480            *
481            * @param languageId the ID of the language
482            * @return the localized description of this journal article
483            */
484            @Override
485            public java.lang.String getDescription(java.lang.String languageId) {
486                    return _journalArticle.getDescription(languageId);
487            }
488    
489            /**
490            * Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.
491            *
492            * @param languageId the ID of the language
493            * @param useDefault whether to use the default language if no localization exists for the requested language
494            * @return the localized description of this journal article
495            */
496            @Override
497            public java.lang.String getDescription(java.lang.String languageId,
498                    boolean useDefault) {
499                    return _journalArticle.getDescription(languageId, useDefault);
500            }
501    
502            /**
503            * Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.
504            *
505            * @param locale the locale of the language
506            * @return the localized description of this journal article
507            */
508            @Override
509            public java.lang.String getDescription(java.util.Locale locale) {
510                    return _journalArticle.getDescription(locale);
511            }
512    
513            /**
514            * Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.
515            *
516            * @param locale the local of the language
517            * @param useDefault whether to use the default language if no localization exists for the requested language
518            * @return the localized description of this journal article. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
519            */
520            @Override
521            public java.lang.String getDescription(java.util.Locale locale,
522                    boolean useDefault) {
523                    return _journalArticle.getDescription(locale, useDefault);
524            }
525    
526            @Override
527            public java.lang.String getDescriptionCurrentLanguageId() {
528                    return _journalArticle.getDescriptionCurrentLanguageId();
529            }
530    
531            @Override
532            public java.lang.String getDescriptionCurrentValue() {
533                    return _journalArticle.getDescriptionCurrentValue();
534            }
535    
536            /**
537            * Returns a map of the locales and localized descriptions of this journal article.
538            *
539            * @return the locales and localized descriptions of this journal article
540            */
541            @Override
542            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
543                    return _journalArticle.getDescriptionMap();
544            }
545    
546            /**
547            * Returns the display date of this journal article.
548            *
549            * @return the display date of this journal article
550            */
551            @Override
552            public java.util.Date getDisplayDate() {
553                    return _journalArticle.getDisplayDate();
554            }
555    
556            @Override
557            public com.liferay.portal.kernel.xml.Document getDocument() {
558                    return _journalArticle.getDocument();
559            }
560    
561            @Override
562            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
563                    return _journalArticle.getExpandoBridge();
564            }
565    
566            /**
567            * Returns the expiration date of this journal article.
568            *
569            * @return the expiration date of this journal article
570            */
571            @Override
572            public java.util.Date getExpirationDate() {
573                    return _journalArticle.getExpirationDate();
574            }
575    
576            @Override
577            public com.liferay.portlet.journal.model.JournalFolder getFolder()
578                    throws com.liferay.portal.kernel.exception.PortalException {
579                    return _journalArticle.getFolder();
580            }
581    
582            /**
583            * Returns the folder ID of this journal article.
584            *
585            * @return the folder ID of this journal article
586            */
587            @Override
588            public long getFolderId() {
589                    return _journalArticle.getFolderId();
590            }
591    
592            /**
593            * Returns the group ID of this journal article.
594            *
595            * @return the group ID of this journal article
596            */
597            @Override
598            public long getGroupId() {
599                    return _journalArticle.getGroupId();
600            }
601    
602            /**
603            * Returns the ID of this journal article.
604            *
605            * @return the ID of this journal article
606            */
607            @Override
608            public long getId() {
609                    return _journalArticle.getId();
610            }
611    
612            /**
613            * Returns the indexable of this journal article.
614            *
615            * @return the indexable of this journal article
616            */
617            @Override
618            public boolean getIndexable() {
619                    return _journalArticle.getIndexable();
620            }
621    
622            @Override
623            public com.liferay.portal.model.Layout getLayout() {
624                    return _journalArticle.getLayout();
625            }
626    
627            /**
628            * Returns the layout uuid of this journal article.
629            *
630            * @return the layout uuid of this journal article
631            */
632            @Override
633            public java.lang.String getLayoutUuid() {
634                    return _journalArticle.getLayoutUuid();
635            }
636    
637            /**
638            * Returns the modified date of this journal article.
639            *
640            * @return the modified date of this journal article
641            */
642            @Override
643            public java.util.Date getModifiedDate() {
644                    return _journalArticle.getModifiedDate();
645            }
646    
647            /**
648            * Returns the primary key of this journal article.
649            *
650            * @return the primary key of this journal article
651            */
652            @Override
653            public long getPrimaryKey() {
654                    return _journalArticle.getPrimaryKey();
655            }
656    
657            @Override
658            public java.io.Serializable getPrimaryKeyObj() {
659                    return _journalArticle.getPrimaryKeyObj();
660            }
661    
662            /**
663            * Returns the resource prim key of this journal article.
664            *
665            * @return the resource prim key of this journal article
666            */
667            @Override
668            public long getResourcePrimKey() {
669                    return _journalArticle.getResourcePrimKey();
670            }
671    
672            /**
673            * Returns the review date of this journal article.
674            *
675            * @return the review date of this journal article
676            */
677            @Override
678            public java.util.Date getReviewDate() {
679                    return _journalArticle.getReviewDate();
680            }
681    
682            /**
683            * Returns the small image of this journal article.
684            *
685            * @return the small image of this journal article
686            */
687            @Override
688            public boolean getSmallImage() {
689                    return _journalArticle.getSmallImage();
690            }
691    
692            /**
693            * Returns the small image ID of this journal article.
694            *
695            * @return the small image ID of this journal article
696            */
697            @Override
698            public long getSmallImageId() {
699                    return _journalArticle.getSmallImageId();
700            }
701    
702            @Override
703            public java.lang.String getSmallImageType()
704                    throws com.liferay.portal.kernel.exception.PortalException {
705                    return _journalArticle.getSmallImageType();
706            }
707    
708            /**
709            * Returns the small image u r l of this journal article.
710            *
711            * @return the small image u r l of this journal article
712            */
713            @Override
714            public java.lang.String getSmallImageURL() {
715                    return _journalArticle.getSmallImageURL();
716            }
717    
718            /**
719            * Returns the status of this journal article.
720            *
721            * @return the status of this journal article
722            */
723            @Override
724            public int getStatus() {
725                    return _journalArticle.getStatus();
726            }
727    
728            /**
729            * Returns the status by user ID of this journal article.
730            *
731            * @return the status by user ID of this journal article
732            */
733            @Override
734            public long getStatusByUserId() {
735                    return _journalArticle.getStatusByUserId();
736            }
737    
738            /**
739            * Returns the status by user name of this journal article.
740            *
741            * @return the status by user name of this journal article
742            */
743            @Override
744            public java.lang.String getStatusByUserName() {
745                    return _journalArticle.getStatusByUserName();
746            }
747    
748            /**
749            * Returns the status by user uuid of this journal article.
750            *
751            * @return the status by user uuid of this journal article
752            */
753            @Override
754            public java.lang.String getStatusByUserUuid() {
755                    return _journalArticle.getStatusByUserUuid();
756            }
757    
758            /**
759            * Returns the status date of this journal article.
760            *
761            * @return the status date of this journal article
762            */
763            @Override
764            public java.util.Date getStatusDate() {
765                    return _journalArticle.getStatusDate();
766            }
767    
768            /**
769            * Returns the structure ID of this journal article.
770            *
771            * @return the structure ID of this journal article
772            */
773            @Override
774            public java.lang.String getStructureId() {
775                    return _journalArticle.getStructureId();
776            }
777    
778            /**
779            * Returns the template ID of this journal article.
780            *
781            * @return the template ID of this journal article
782            */
783            @Override
784            public java.lang.String getTemplateId() {
785                    return _journalArticle.getTemplateId();
786            }
787    
788            /**
789            * Returns the title of this journal article.
790            *
791            * @return the title of this journal article
792            */
793            @Override
794            public java.lang.String getTitle() {
795                    return _journalArticle.getTitle();
796            }
797    
798            /**
799            * Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.
800            *
801            * @param languageId the ID of the language
802            * @return the localized title of this journal article
803            */
804            @Override
805            public java.lang.String getTitle(java.lang.String languageId) {
806                    return _journalArticle.getTitle(languageId);
807            }
808    
809            /**
810            * Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.
811            *
812            * @param languageId the ID of the language
813            * @param useDefault whether to use the default language if no localization exists for the requested language
814            * @return the localized title of this journal article
815            */
816            @Override
817            public java.lang.String getTitle(java.lang.String languageId,
818                    boolean useDefault) {
819                    return _journalArticle.getTitle(languageId, useDefault);
820            }
821    
822            /**
823            * Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.
824            *
825            * @param locale the locale of the language
826            * @return the localized title of this journal article
827            */
828            @Override
829            public java.lang.String getTitle(java.util.Locale locale) {
830                    return _journalArticle.getTitle(locale);
831            }
832    
833            /**
834            * Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.
835            *
836            * @param locale the local of the language
837            * @param useDefault whether to use the default language if no localization exists for the requested language
838            * @return the localized title of this journal article. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
839            */
840            @Override
841            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
842                    return _journalArticle.getTitle(locale, useDefault);
843            }
844    
845            @Override
846            public java.lang.String getTitleCurrentLanguageId() {
847                    return _journalArticle.getTitleCurrentLanguageId();
848            }
849    
850            @Override
851            public java.lang.String getTitleCurrentValue() {
852                    return _journalArticle.getTitleCurrentValue();
853            }
854    
855            /**
856            * Returns a map of the locales and localized titles of this journal article.
857            *
858            * @return the locales and localized titles of this journal article
859            */
860            @Override
861            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
862                    return _journalArticle.getTitleMap();
863            }
864    
865            /**
866            * Returns the trash entry created when this journal article was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this journal article.
867            *
868            * @return the trash entry created when this journal article was moved to the Recycle Bin
869            */
870            @Override
871            public com.liferay.portlet.trash.model.TrashEntry getTrashEntry()
872                    throws com.liferay.portal.kernel.exception.PortalException {
873                    return _journalArticle.getTrashEntry();
874            }
875    
876            /**
877            * Returns the class primary key of the trash entry for this journal article.
878            *
879            * @return the class primary key of the trash entry for this journal article
880            */
881            @Override
882            public long getTrashEntryClassPK() {
883                    return _journalArticle.getTrashEntryClassPK();
884            }
885    
886            /**
887            * Returns the trash handler for this journal article.
888            *
889            * @return the trash handler for this journal article
890            */
891            @Override
892            public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
893                    return _journalArticle.getTrashHandler();
894            }
895    
896            /**
897            * Returns the tree path of this journal article.
898            *
899            * @return the tree path of this journal article
900            */
901            @Override
902            public java.lang.String getTreePath() {
903                    return _journalArticle.getTreePath();
904            }
905    
906            /**
907            * Returns the type of this journal article.
908            *
909            * @return the type of this journal article
910            */
911            @Override
912            public java.lang.String getType() {
913                    return _journalArticle.getType();
914            }
915    
916            /**
917            * Returns the url title of this journal article.
918            *
919            * @return the url title of this journal article
920            */
921            @Override
922            public java.lang.String getUrlTitle() {
923                    return _journalArticle.getUrlTitle();
924            }
925    
926            /**
927            * Returns the user ID of this journal article.
928            *
929            * @return the user ID of this journal article
930            */
931            @Override
932            public long getUserId() {
933                    return _journalArticle.getUserId();
934            }
935    
936            /**
937            * Returns the user name of this journal article.
938            *
939            * @return the user name of this journal article
940            */
941            @Override
942            public java.lang.String getUserName() {
943                    return _journalArticle.getUserName();
944            }
945    
946            /**
947            * Returns the user uuid of this journal article.
948            *
949            * @return the user uuid of this journal article
950            */
951            @Override
952            public java.lang.String getUserUuid() {
953                    return _journalArticle.getUserUuid();
954            }
955    
956            /**
957            * Returns the uuid of this journal article.
958            *
959            * @return the uuid of this journal article
960            */
961            @Override
962            public java.lang.String getUuid() {
963                    return _journalArticle.getUuid();
964            }
965    
966            /**
967            * Returns the version of this journal article.
968            *
969            * @return the version of this journal article
970            */
971            @Override
972            public double getVersion() {
973                    return _journalArticle.getVersion();
974            }
975    
976            @Override
977            public boolean hasApprovedVersion() {
978                    return _journalArticle.hasApprovedVersion();
979            }
980    
981            @Override
982            public int hashCode() {
983                    return _journalArticle.hashCode();
984            }
985    
986            /**
987            * Returns <code>true</code> if this journal article is approved.
988            *
989            * @return <code>true</code> if this journal article is approved; <code>false</code> otherwise
990            */
991            @Override
992            public boolean isApproved() {
993                    return _journalArticle.isApproved();
994            }
995    
996            @Override
997            public boolean isCachedModel() {
998                    return _journalArticle.isCachedModel();
999            }
1000    
1001            /**
1002            * Returns <code>true</code> if this journal article is denied.
1003            *
1004            * @return <code>true</code> if this journal article is denied; <code>false</code> otherwise
1005            */
1006            @Override
1007            public boolean isDenied() {
1008                    return _journalArticle.isDenied();
1009            }
1010    
1011            /**
1012            * Returns <code>true</code> if this journal article is a draft.
1013            *
1014            * @return <code>true</code> if this journal article is a draft; <code>false</code> otherwise
1015            */
1016            @Override
1017            public boolean isDraft() {
1018                    return _journalArticle.isDraft();
1019            }
1020    
1021            @Override
1022            public boolean isEscapedModel() {
1023                    return _journalArticle.isEscapedModel();
1024            }
1025    
1026            /**
1027            * Returns <code>true</code> if this journal article is expired.
1028            *
1029            * @return <code>true</code> if this journal article is expired; <code>false</code> otherwise
1030            */
1031            @Override
1032            public boolean isExpired() {
1033                    return _journalArticle.isExpired();
1034            }
1035    
1036            /**
1037            * Returns <code>true</code> if this journal article is in the Recycle Bin.
1038            *
1039            * @return <code>true</code> if this journal article is in the Recycle Bin; <code>false</code> otherwise
1040            */
1041            @Override
1042            public boolean isInTrash() {
1043                    return _journalArticle.isInTrash();
1044            }
1045    
1046            /**
1047            * Returns <code>true</code> if the parent of this journal article is in the Recycle Bin.
1048            *
1049            * @return <code>true</code> if the parent of this journal article is in the Recycle Bin; <code>false</code> otherwise
1050            */
1051            @Override
1052            public boolean isInTrashContainer() {
1053                    return _journalArticle.isInTrashContainer();
1054            }
1055    
1056            @Override
1057            public boolean isInTrashExplicitly() {
1058                    return _journalArticle.isInTrashExplicitly();
1059            }
1060    
1061            @Override
1062            public boolean isInTrashImplicitly() {
1063                    return _journalArticle.isInTrashImplicitly();
1064            }
1065    
1066            /**
1067            * Returns <code>true</code> if this journal article is inactive.
1068            *
1069            * @return <code>true</code> if this journal article is inactive; <code>false</code> otherwise
1070            */
1071            @Override
1072            public boolean isInactive() {
1073                    return _journalArticle.isInactive();
1074            }
1075    
1076            /**
1077            * Returns <code>true</code> if this journal article is incomplete.
1078            *
1079            * @return <code>true</code> if this journal article is incomplete; <code>false</code> otherwise
1080            */
1081            @Override
1082            public boolean isIncomplete() {
1083                    return _journalArticle.isIncomplete();
1084            }
1085    
1086            /**
1087            * Returns <code>true</code> if this journal article is indexable.
1088            *
1089            * @return <code>true</code> if this journal article is indexable; <code>false</code> otherwise
1090            */
1091            @Override
1092            public boolean isIndexable() {
1093                    return _journalArticle.isIndexable();
1094            }
1095    
1096            @Override
1097            public boolean isNew() {
1098                    return _journalArticle.isNew();
1099            }
1100    
1101            /**
1102            * Returns <code>true</code> if this journal article is pending.
1103            *
1104            * @return <code>true</code> if this journal article is pending; <code>false</code> otherwise
1105            */
1106            @Override
1107            public boolean isPending() {
1108                    return _journalArticle.isPending();
1109            }
1110    
1111            @Override
1112            public boolean isResourceMain() {
1113                    return _journalArticle.isResourceMain();
1114            }
1115    
1116            /**
1117            * Returns <code>true</code> if this journal article is scheduled.
1118            *
1119            * @return <code>true</code> if this journal article is scheduled; <code>false</code> otherwise
1120            */
1121            @Override
1122            public boolean isScheduled() {
1123                    return _journalArticle.isScheduled();
1124            }
1125    
1126            /**
1127            * Returns <code>true</code> if this journal article is small image.
1128            *
1129            * @return <code>true</code> if this journal article is small image; <code>false</code> otherwise
1130            */
1131            @Override
1132            public boolean isSmallImage() {
1133                    return _journalArticle.isSmallImage();
1134            }
1135    
1136            /**
1137            * @deprecated As of 7.0.0, with no direct replacement
1138            */
1139            @Deprecated
1140            @Override
1141            public boolean isTemplateDriven() {
1142                    return _journalArticle.isTemplateDriven();
1143            }
1144    
1145            @Override
1146            public void persist() {
1147                    _journalArticle.persist();
1148            }
1149    
1150            @Override
1151            public void prepareLocalizedFieldsForImport()
1152                    throws com.liferay.portal.LocaleException {
1153                    _journalArticle.prepareLocalizedFieldsForImport();
1154            }
1155    
1156            @Override
1157            public void prepareLocalizedFieldsForImport(
1158                    java.util.Locale defaultImportLocale)
1159                    throws com.liferay.portal.LocaleException {
1160                    _journalArticle.prepareLocalizedFieldsForImport(defaultImportLocale);
1161            }
1162    
1163            /**
1164            * Sets the article ID of this journal article.
1165            *
1166            * @param articleId the article ID of this journal article
1167            */
1168            @Override
1169            public void setArticleId(java.lang.String articleId) {
1170                    _journalArticle.setArticleId(articleId);
1171            }
1172    
1173            @Override
1174            public void setCachedModel(boolean cachedModel) {
1175                    _journalArticle.setCachedModel(cachedModel);
1176            }
1177    
1178            @Override
1179            public void setClassName(java.lang.String className) {
1180                    _journalArticle.setClassName(className);
1181            }
1182    
1183            /**
1184            * Sets the class name ID of this journal article.
1185            *
1186            * @param classNameId the class name ID of this journal article
1187            */
1188            @Override
1189            public void setClassNameId(long classNameId) {
1190                    _journalArticle.setClassNameId(classNameId);
1191            }
1192    
1193            /**
1194            * Sets the class p k of this journal article.
1195            *
1196            * @param classPK the class p k of this journal article
1197            */
1198            @Override
1199            public void setClassPK(long classPK) {
1200                    _journalArticle.setClassPK(classPK);
1201            }
1202    
1203            /**
1204            * Sets the company ID of this journal article.
1205            *
1206            * @param companyId the company ID of this journal article
1207            */
1208            @Override
1209            public void setCompanyId(long companyId) {
1210                    _journalArticle.setCompanyId(companyId);
1211            }
1212    
1213            /**
1214            * Sets the content of this journal article.
1215            *
1216            * @param content the content of this journal article
1217            */
1218            @Override
1219            public void setContent(java.lang.String content) {
1220                    _journalArticle.setContent(content);
1221            }
1222    
1223            /**
1224            * Sets the create date of this journal article.
1225            *
1226            * @param createDate the create date of this journal article
1227            */
1228            @Override
1229            public void setCreateDate(java.util.Date createDate) {
1230                    _journalArticle.setCreateDate(createDate);
1231            }
1232    
1233            @Override
1234            public void setDefaultLanguageId(java.lang.String defaultLanguageId) {
1235                    _journalArticle.setDefaultLanguageId(defaultLanguageId);
1236            }
1237    
1238            /**
1239            * Sets the description of this journal article.
1240            *
1241            * @param description the description of this journal article
1242            */
1243            @Override
1244            public void setDescription(java.lang.String description) {
1245                    _journalArticle.setDescription(description);
1246            }
1247    
1248            /**
1249            * Sets the localized description of this journal article in the language.
1250            *
1251            * @param description the localized description of this journal article
1252            * @param locale the locale of the language
1253            */
1254            @Override
1255            public void setDescription(java.lang.String description,
1256                    java.util.Locale locale) {
1257                    _journalArticle.setDescription(description, locale);
1258            }
1259    
1260            /**
1261            * Sets the localized description of this journal article in the language, and sets the default locale.
1262            *
1263            * @param description the localized description of this journal article
1264            * @param locale the locale of the language
1265            * @param defaultLocale the default locale
1266            */
1267            @Override
1268            public void setDescription(java.lang.String description,
1269                    java.util.Locale locale, java.util.Locale defaultLocale) {
1270                    _journalArticle.setDescription(description, locale, defaultLocale);
1271            }
1272    
1273            @Override
1274            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
1275                    _journalArticle.setDescriptionCurrentLanguageId(languageId);
1276            }
1277    
1278            /**
1279            * Sets the localized descriptions of this journal article from the map of locales and localized descriptions.
1280            *
1281            * @param descriptionMap the locales and localized descriptions of this journal article
1282            */
1283            @Override
1284            public void setDescriptionMap(
1285                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
1286                    _journalArticle.setDescriptionMap(descriptionMap);
1287            }
1288    
1289            /**
1290            * Sets the localized descriptions of this journal article from the map of locales and localized descriptions, and sets the default locale.
1291            *
1292            * @param descriptionMap the locales and localized descriptions of this journal article
1293            * @param defaultLocale the default locale
1294            */
1295            @Override
1296            public void setDescriptionMap(
1297                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1298                    java.util.Locale defaultLocale) {
1299                    _journalArticle.setDescriptionMap(descriptionMap, defaultLocale);
1300            }
1301    
1302            /**
1303            * Sets the display date of this journal article.
1304            *
1305            * @param displayDate the display date of this journal article
1306            */
1307            @Override
1308            public void setDisplayDate(java.util.Date displayDate) {
1309                    _journalArticle.setDisplayDate(displayDate);
1310            }
1311    
1312            @Override
1313            public void setDocument(com.liferay.portal.kernel.xml.Document document) {
1314                    _journalArticle.setDocument(document);
1315            }
1316    
1317            @Override
1318            public void setExpandoBridgeAttributes(
1319                    com.liferay.portal.model.BaseModel<?> baseModel) {
1320                    _journalArticle.setExpandoBridgeAttributes(baseModel);
1321            }
1322    
1323            @Override
1324            public void setExpandoBridgeAttributes(
1325                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
1326                    _journalArticle.setExpandoBridgeAttributes(expandoBridge);
1327            }
1328    
1329            @Override
1330            public void setExpandoBridgeAttributes(
1331                    com.liferay.portal.service.ServiceContext serviceContext) {
1332                    _journalArticle.setExpandoBridgeAttributes(serviceContext);
1333            }
1334    
1335            /**
1336            * Sets the expiration date of this journal article.
1337            *
1338            * @param expirationDate the expiration date of this journal article
1339            */
1340            @Override
1341            public void setExpirationDate(java.util.Date expirationDate) {
1342                    _journalArticle.setExpirationDate(expirationDate);
1343            }
1344    
1345            /**
1346            * Sets the folder ID of this journal article.
1347            *
1348            * @param folderId the folder ID of this journal article
1349            */
1350            @Override
1351            public void setFolderId(long folderId) {
1352                    _journalArticle.setFolderId(folderId);
1353            }
1354    
1355            /**
1356            * Sets the group ID of this journal article.
1357            *
1358            * @param groupId the group ID of this journal article
1359            */
1360            @Override
1361            public void setGroupId(long groupId) {
1362                    _journalArticle.setGroupId(groupId);
1363            }
1364    
1365            /**
1366            * Sets the ID of this journal article.
1367            *
1368            * @param id the ID of this journal article
1369            */
1370            @Override
1371            public void setId(long id) {
1372                    _journalArticle.setId(id);
1373            }
1374    
1375            /**
1376            * Sets whether this journal article is indexable.
1377            *
1378            * @param indexable the indexable of this journal article
1379            */
1380            @Override
1381            public void setIndexable(boolean indexable) {
1382                    _journalArticle.setIndexable(indexable);
1383            }
1384    
1385            /**
1386            * Sets the layout uuid of this journal article.
1387            *
1388            * @param layoutUuid the layout uuid of this journal article
1389            */
1390            @Override
1391            public void setLayoutUuid(java.lang.String layoutUuid) {
1392                    _journalArticle.setLayoutUuid(layoutUuid);
1393            }
1394    
1395            /**
1396            * Sets the modified date of this journal article.
1397            *
1398            * @param modifiedDate the modified date of this journal article
1399            */
1400            @Override
1401            public void setModifiedDate(java.util.Date modifiedDate) {
1402                    _journalArticle.setModifiedDate(modifiedDate);
1403            }
1404    
1405            @Override
1406            public void setNew(boolean n) {
1407                    _journalArticle.setNew(n);
1408            }
1409    
1410            /**
1411            * Sets the primary key of this journal article.
1412            *
1413            * @param primaryKey the primary key of this journal article
1414            */
1415            @Override
1416            public void setPrimaryKey(long primaryKey) {
1417                    _journalArticle.setPrimaryKey(primaryKey);
1418            }
1419    
1420            @Override
1421            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1422                    _journalArticle.setPrimaryKeyObj(primaryKeyObj);
1423            }
1424    
1425            /**
1426            * Sets the resource prim key of this journal article.
1427            *
1428            * @param resourcePrimKey the resource prim key of this journal article
1429            */
1430            @Override
1431            public void setResourcePrimKey(long resourcePrimKey) {
1432                    _journalArticle.setResourcePrimKey(resourcePrimKey);
1433            }
1434    
1435            /**
1436            * Sets the review date of this journal article.
1437            *
1438            * @param reviewDate the review date of this journal article
1439            */
1440            @Override
1441            public void setReviewDate(java.util.Date reviewDate) {
1442                    _journalArticle.setReviewDate(reviewDate);
1443            }
1444    
1445            /**
1446            * Sets whether this journal article is small image.
1447            *
1448            * @param smallImage the small image of this journal article
1449            */
1450            @Override
1451            public void setSmallImage(boolean smallImage) {
1452                    _journalArticle.setSmallImage(smallImage);
1453            }
1454    
1455            /**
1456            * Sets the small image ID of this journal article.
1457            *
1458            * @param smallImageId the small image ID of this journal article
1459            */
1460            @Override
1461            public void setSmallImageId(long smallImageId) {
1462                    _journalArticle.setSmallImageId(smallImageId);
1463            }
1464    
1465            @Override
1466            public void setSmallImageType(java.lang.String smallImageType) {
1467                    _journalArticle.setSmallImageType(smallImageType);
1468            }
1469    
1470            /**
1471            * Sets the small image u r l of this journal article.
1472            *
1473            * @param smallImageURL the small image u r l of this journal article
1474            */
1475            @Override
1476            public void setSmallImageURL(java.lang.String smallImageURL) {
1477                    _journalArticle.setSmallImageURL(smallImageURL);
1478            }
1479    
1480            /**
1481            * Sets the status of this journal article.
1482            *
1483            * @param status the status of this journal article
1484            */
1485            @Override
1486            public void setStatus(int status) {
1487                    _journalArticle.setStatus(status);
1488            }
1489    
1490            /**
1491            * Sets the status by user ID of this journal article.
1492            *
1493            * @param statusByUserId the status by user ID of this journal article
1494            */
1495            @Override
1496            public void setStatusByUserId(long statusByUserId) {
1497                    _journalArticle.setStatusByUserId(statusByUserId);
1498            }
1499    
1500            /**
1501            * Sets the status by user name of this journal article.
1502            *
1503            * @param statusByUserName the status by user name of this journal article
1504            */
1505            @Override
1506            public void setStatusByUserName(java.lang.String statusByUserName) {
1507                    _journalArticle.setStatusByUserName(statusByUserName);
1508            }
1509    
1510            /**
1511            * Sets the status by user uuid of this journal article.
1512            *
1513            * @param statusByUserUuid the status by user uuid of this journal article
1514            */
1515            @Override
1516            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
1517                    _journalArticle.setStatusByUserUuid(statusByUserUuid);
1518            }
1519    
1520            /**
1521            * Sets the status date of this journal article.
1522            *
1523            * @param statusDate the status date of this journal article
1524            */
1525            @Override
1526            public void setStatusDate(java.util.Date statusDate) {
1527                    _journalArticle.setStatusDate(statusDate);
1528            }
1529    
1530            /**
1531            * Sets the structure ID of this journal article.
1532            *
1533            * @param structureId the structure ID of this journal article
1534            */
1535            @Override
1536            public void setStructureId(java.lang.String structureId) {
1537                    _journalArticle.setStructureId(structureId);
1538            }
1539    
1540            /**
1541            * Sets the template ID of this journal article.
1542            *
1543            * @param templateId the template ID of this journal article
1544            */
1545            @Override
1546            public void setTemplateId(java.lang.String templateId) {
1547                    _journalArticle.setTemplateId(templateId);
1548            }
1549    
1550            /**
1551            * Sets the title of this journal article.
1552            *
1553            * @param title the title of this journal article
1554            */
1555            @Override
1556            public void setTitle(java.lang.String title) {
1557                    _journalArticle.setTitle(title);
1558            }
1559    
1560            /**
1561            * Sets the localized title of this journal article in the language.
1562            *
1563            * @param title the localized title of this journal article
1564            * @param locale the locale of the language
1565            */
1566            @Override
1567            public void setTitle(java.lang.String title, java.util.Locale locale) {
1568                    _journalArticle.setTitle(title, locale);
1569            }
1570    
1571            /**
1572            * Sets the localized title of this journal article in the language, and sets the default locale.
1573            *
1574            * @param title the localized title of this journal article
1575            * @param locale the locale of the language
1576            * @param defaultLocale the default locale
1577            */
1578            @Override
1579            public void setTitle(java.lang.String title, java.util.Locale locale,
1580                    java.util.Locale defaultLocale) {
1581                    _journalArticle.setTitle(title, locale, defaultLocale);
1582            }
1583    
1584            @Override
1585            public void setTitleCurrentLanguageId(java.lang.String languageId) {
1586                    _journalArticle.setTitleCurrentLanguageId(languageId);
1587            }
1588    
1589            /**
1590            * Sets the localized titles of this journal article from the map of locales and localized titles.
1591            *
1592            * @param titleMap the locales and localized titles of this journal article
1593            */
1594            @Override
1595            public void setTitleMap(
1596                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
1597                    _journalArticle.setTitleMap(titleMap);
1598            }
1599    
1600            /**
1601            * Sets the localized titles of this journal article from the map of locales and localized titles, and sets the default locale.
1602            *
1603            * @param titleMap the locales and localized titles of this journal article
1604            * @param defaultLocale the default locale
1605            */
1606            @Override
1607            public void setTitleMap(
1608                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
1609                    java.util.Locale defaultLocale) {
1610                    _journalArticle.setTitleMap(titleMap, defaultLocale);
1611            }
1612    
1613            /**
1614            * Sets the tree path of this journal article.
1615            *
1616            * @param treePath the tree path of this journal article
1617            */
1618            @Override
1619            public void setTreePath(java.lang.String treePath) {
1620                    _journalArticle.setTreePath(treePath);
1621            }
1622    
1623            /**
1624            * Sets the type of this journal article.
1625            *
1626            * @param type the type of this journal article
1627            */
1628            @Override
1629            public void setType(java.lang.String type) {
1630                    _journalArticle.setType(type);
1631            }
1632    
1633            /**
1634            * Sets the url title of this journal article.
1635            *
1636            * @param urlTitle the url title of this journal article
1637            */
1638            @Override
1639            public void setUrlTitle(java.lang.String urlTitle) {
1640                    _journalArticle.setUrlTitle(urlTitle);
1641            }
1642    
1643            /**
1644            * Sets the user ID of this journal article.
1645            *
1646            * @param userId the user ID of this journal article
1647            */
1648            @Override
1649            public void setUserId(long userId) {
1650                    _journalArticle.setUserId(userId);
1651            }
1652    
1653            /**
1654            * Sets the user name of this journal article.
1655            *
1656            * @param userName the user name of this journal article
1657            */
1658            @Override
1659            public void setUserName(java.lang.String userName) {
1660                    _journalArticle.setUserName(userName);
1661            }
1662    
1663            /**
1664            * Sets the user uuid of this journal article.
1665            *
1666            * @param userUuid the user uuid of this journal article
1667            */
1668            @Override
1669            public void setUserUuid(java.lang.String userUuid) {
1670                    _journalArticle.setUserUuid(userUuid);
1671            }
1672    
1673            /**
1674            * Sets the uuid of this journal article.
1675            *
1676            * @param uuid the uuid of this journal article
1677            */
1678            @Override
1679            public void setUuid(java.lang.String uuid) {
1680                    _journalArticle.setUuid(uuid);
1681            }
1682    
1683            /**
1684            * Sets the version of this journal article.
1685            *
1686            * @param version the version of this journal article
1687            */
1688            @Override
1689            public void setVersion(double version) {
1690                    _journalArticle.setVersion(version);
1691            }
1692    
1693            @Override
1694            public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalArticle> toCacheModel() {
1695                    return _journalArticle.toCacheModel();
1696            }
1697    
1698            @Override
1699            public com.liferay.portlet.journal.model.JournalArticle toEscapedModel() {
1700                    return new JournalArticleWrapper(_journalArticle.toEscapedModel());
1701            }
1702    
1703            @Override
1704            public java.lang.String toString() {
1705                    return _journalArticle.toString();
1706            }
1707    
1708            @Override
1709            public com.liferay.portlet.journal.model.JournalArticle toUnescapedModel() {
1710                    return new JournalArticleWrapper(_journalArticle.toUnescapedModel());
1711            }
1712    
1713            @Override
1714            public java.lang.String toXmlString() {
1715                    return _journalArticle.toXmlString();
1716            }
1717    
1718            @Override
1719            public void updateTreePath(java.lang.String treePath) {
1720                    _journalArticle.updateTreePath(treePath);
1721            }
1722    
1723            @Override
1724            public boolean equals(Object obj) {
1725                    if (this == obj) {
1726                            return true;
1727                    }
1728    
1729                    if (!(obj instanceof JournalArticleWrapper)) {
1730                            return false;
1731                    }
1732    
1733                    JournalArticleWrapper journalArticleWrapper = (JournalArticleWrapper)obj;
1734    
1735                    if (Validator.equals(_journalArticle,
1736                                            journalArticleWrapper._journalArticle)) {
1737                            return true;
1738                    }
1739    
1740                    return false;
1741            }
1742    
1743            @Override
1744            public StagedModelType getStagedModelType() {
1745                    return _journalArticle.getStagedModelType();
1746            }
1747    
1748            /**
1749             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
1750             */
1751            @Deprecated
1752            public JournalArticle getWrappedJournalArticle() {
1753                    return _journalArticle;
1754            }
1755    
1756            @Override
1757            public JournalArticle getWrappedModel() {
1758                    return _journalArticle;
1759            }
1760    
1761            @Override
1762            public boolean isEntityCacheEnabled() {
1763                    return _journalArticle.isEntityCacheEnabled();
1764            }
1765    
1766            @Override
1767            public boolean isFinderCacheEnabled() {
1768                    return _journalArticle.isFinderCacheEnabled();
1769            }
1770    
1771            @Override
1772            public void resetOriginalValues() {
1773                    _journalArticle.resetOriginalValues();
1774            }
1775    
1776            private final JournalArticle _journalArticle;
1777    }