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