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