001    /**
002     * Copyright (c) 2000-2012 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 com.liferay.portal.model.ModelWrapper;
018    
019    import java.util.Date;
020    import java.util.HashMap;
021    import java.util.Map;
022    
023    /**
024     * <p>
025     * This class is a wrapper for {@link JournalArticle}.
026     * </p>
027     *
028     * @author    Brian Wing Shun Chan
029     * @see       JournalArticle
030     * @generated
031     */
032    public class JournalArticleWrapper implements JournalArticle,
033            ModelWrapper<JournalArticle> {
034            public JournalArticleWrapper(JournalArticle journalArticle) {
035                    _journalArticle = journalArticle;
036            }
037    
038            public Class<?> getModelClass() {
039                    return JournalArticle.class;
040            }
041    
042            public String getModelClassName() {
043                    return JournalArticle.class.getName();
044            }
045    
046            public Map<String, Object> getModelAttributes() {
047                    Map<String, Object> attributes = new HashMap<String, Object>();
048    
049                    attributes.put("uuid", getUuid());
050                    attributes.put("id", getId());
051                    attributes.put("resourcePrimKey", getResourcePrimKey());
052                    attributes.put("groupId", getGroupId());
053                    attributes.put("companyId", getCompanyId());
054                    attributes.put("userId", getUserId());
055                    attributes.put("userName", getUserName());
056                    attributes.put("createDate", getCreateDate());
057                    attributes.put("modifiedDate", getModifiedDate());
058                    attributes.put("folderId", getFolderId());
059                    attributes.put("classNameId", getClassNameId());
060                    attributes.put("classPK", getClassPK());
061                    attributes.put("articleId", getArticleId());
062                    attributes.put("version", getVersion());
063                    attributes.put("title", getTitle());
064                    attributes.put("urlTitle", getUrlTitle());
065                    attributes.put("description", getDescription());
066                    attributes.put("content", getContent());
067                    attributes.put("type", getType());
068                    attributes.put("structureId", getStructureId());
069                    attributes.put("templateId", getTemplateId());
070                    attributes.put("layoutUuid", getLayoutUuid());
071                    attributes.put("displayDate", getDisplayDate());
072                    attributes.put("expirationDate", getExpirationDate());
073                    attributes.put("reviewDate", getReviewDate());
074                    attributes.put("indexable", getIndexable());
075                    attributes.put("smallImage", getSmallImage());
076                    attributes.put("smallImageId", getSmallImageId());
077                    attributes.put("smallImageURL", getSmallImageURL());
078                    attributes.put("status", getStatus());
079                    attributes.put("statusByUserId", getStatusByUserId());
080                    attributes.put("statusByUserName", getStatusByUserName());
081                    attributes.put("statusDate", getStatusDate());
082    
083                    return attributes;
084            }
085    
086            public void setModelAttributes(Map<String, Object> attributes) {
087                    String uuid = (String)attributes.get("uuid");
088    
089                    if (uuid != null) {
090                            setUuid(uuid);
091                    }
092    
093                    Long id = (Long)attributes.get("id");
094    
095                    if (id != null) {
096                            setId(id);
097                    }
098    
099                    Long resourcePrimKey = (Long)attributes.get("resourcePrimKey");
100    
101                    if (resourcePrimKey != null) {
102                            setResourcePrimKey(resourcePrimKey);
103                    }
104    
105                    Long groupId = (Long)attributes.get("groupId");
106    
107                    if (groupId != null) {
108                            setGroupId(groupId);
109                    }
110    
111                    Long companyId = (Long)attributes.get("companyId");
112    
113                    if (companyId != null) {
114                            setCompanyId(companyId);
115                    }
116    
117                    Long userId = (Long)attributes.get("userId");
118    
119                    if (userId != null) {
120                            setUserId(userId);
121                    }
122    
123                    String userName = (String)attributes.get("userName");
124    
125                    if (userName != null) {
126                            setUserName(userName);
127                    }
128    
129                    Date createDate = (Date)attributes.get("createDate");
130    
131                    if (createDate != null) {
132                            setCreateDate(createDate);
133                    }
134    
135                    Date modifiedDate = (Date)attributes.get("modifiedDate");
136    
137                    if (modifiedDate != null) {
138                            setModifiedDate(modifiedDate);
139                    }
140    
141                    Long folderId = (Long)attributes.get("folderId");
142    
143                    if (folderId != null) {
144                            setFolderId(folderId);
145                    }
146    
147                    Long classNameId = (Long)attributes.get("classNameId");
148    
149                    if (classNameId != null) {
150                            setClassNameId(classNameId);
151                    }
152    
153                    Long classPK = (Long)attributes.get("classPK");
154    
155                    if (classPK != null) {
156                            setClassPK(classPK);
157                    }
158    
159                    String articleId = (String)attributes.get("articleId");
160    
161                    if (articleId != null) {
162                            setArticleId(articleId);
163                    }
164    
165                    Double version = (Double)attributes.get("version");
166    
167                    if (version != null) {
168                            setVersion(version);
169                    }
170    
171                    String title = (String)attributes.get("title");
172    
173                    if (title != null) {
174                            setTitle(title);
175                    }
176    
177                    String urlTitle = (String)attributes.get("urlTitle");
178    
179                    if (urlTitle != null) {
180                            setUrlTitle(urlTitle);
181                    }
182    
183                    String description = (String)attributes.get("description");
184    
185                    if (description != null) {
186                            setDescription(description);
187                    }
188    
189                    String content = (String)attributes.get("content");
190    
191                    if (content != null) {
192                            setContent(content);
193                    }
194    
195                    String type = (String)attributes.get("type");
196    
197                    if (type != null) {
198                            setType(type);
199                    }
200    
201                    String structureId = (String)attributes.get("structureId");
202    
203                    if (structureId != null) {
204                            setStructureId(structureId);
205                    }
206    
207                    String templateId = (String)attributes.get("templateId");
208    
209                    if (templateId != null) {
210                            setTemplateId(templateId);
211                    }
212    
213                    String layoutUuid = (String)attributes.get("layoutUuid");
214    
215                    if (layoutUuid != null) {
216                            setLayoutUuid(layoutUuid);
217                    }
218    
219                    Date displayDate = (Date)attributes.get("displayDate");
220    
221                    if (displayDate != null) {
222                            setDisplayDate(displayDate);
223                    }
224    
225                    Date expirationDate = (Date)attributes.get("expirationDate");
226    
227                    if (expirationDate != null) {
228                            setExpirationDate(expirationDate);
229                    }
230    
231                    Date reviewDate = (Date)attributes.get("reviewDate");
232    
233                    if (reviewDate != null) {
234                            setReviewDate(reviewDate);
235                    }
236    
237                    Boolean indexable = (Boolean)attributes.get("indexable");
238    
239                    if (indexable != null) {
240                            setIndexable(indexable);
241                    }
242    
243                    Boolean smallImage = (Boolean)attributes.get("smallImage");
244    
245                    if (smallImage != null) {
246                            setSmallImage(smallImage);
247                    }
248    
249                    Long smallImageId = (Long)attributes.get("smallImageId");
250    
251                    if (smallImageId != null) {
252                            setSmallImageId(smallImageId);
253                    }
254    
255                    String smallImageURL = (String)attributes.get("smallImageURL");
256    
257                    if (smallImageURL != null) {
258                            setSmallImageURL(smallImageURL);
259                    }
260    
261                    Integer status = (Integer)attributes.get("status");
262    
263                    if (status != null) {
264                            setStatus(status);
265                    }
266    
267                    Long statusByUserId = (Long)attributes.get("statusByUserId");
268    
269                    if (statusByUserId != null) {
270                            setStatusByUserId(statusByUserId);
271                    }
272    
273                    String statusByUserName = (String)attributes.get("statusByUserName");
274    
275                    if (statusByUserName != null) {
276                            setStatusByUserName(statusByUserName);
277                    }
278    
279                    Date statusDate = (Date)attributes.get("statusDate");
280    
281                    if (statusDate != null) {
282                            setStatusDate(statusDate);
283                    }
284            }
285    
286            /**
287            * Returns the primary key of this journal article.
288            *
289            * @return the primary key of this journal article
290            */
291            public long getPrimaryKey() {
292                    return _journalArticle.getPrimaryKey();
293            }
294    
295            /**
296            * Sets the primary key of this journal article.
297            *
298            * @param primaryKey the primary key of this journal article
299            */
300            public void setPrimaryKey(long primaryKey) {
301                    _journalArticle.setPrimaryKey(primaryKey);
302            }
303    
304            /**
305            * Returns the uuid of this journal article.
306            *
307            * @return the uuid of this journal article
308            */
309            public java.lang.String getUuid() {
310                    return _journalArticle.getUuid();
311            }
312    
313            /**
314            * Sets the uuid of this journal article.
315            *
316            * @param uuid the uuid of this journal article
317            */
318            public void setUuid(java.lang.String uuid) {
319                    _journalArticle.setUuid(uuid);
320            }
321    
322            /**
323            * Returns the ID of this journal article.
324            *
325            * @return the ID of this journal article
326            */
327            public long getId() {
328                    return _journalArticle.getId();
329            }
330    
331            /**
332            * Sets the ID of this journal article.
333            *
334            * @param id the ID of this journal article
335            */
336            public void setId(long id) {
337                    _journalArticle.setId(id);
338            }
339    
340            /**
341            * Returns the resource prim key of this journal article.
342            *
343            * @return the resource prim key of this journal article
344            */
345            public long getResourcePrimKey() {
346                    return _journalArticle.getResourcePrimKey();
347            }
348    
349            /**
350            * Sets the resource prim key of this journal article.
351            *
352            * @param resourcePrimKey the resource prim key of this journal article
353            */
354            public void setResourcePrimKey(long resourcePrimKey) {
355                    _journalArticle.setResourcePrimKey(resourcePrimKey);
356            }
357    
358            public boolean isResourceMain() {
359                    return _journalArticle.isResourceMain();
360            }
361    
362            /**
363            * Returns the group ID of this journal article.
364            *
365            * @return the group ID of this journal article
366            */
367            public long getGroupId() {
368                    return _journalArticle.getGroupId();
369            }
370    
371            /**
372            * Sets the group ID of this journal article.
373            *
374            * @param groupId the group ID of this journal article
375            */
376            public void setGroupId(long groupId) {
377                    _journalArticle.setGroupId(groupId);
378            }
379    
380            /**
381            * Returns the company ID of this journal article.
382            *
383            * @return the company ID of this journal article
384            */
385            public long getCompanyId() {
386                    return _journalArticle.getCompanyId();
387            }
388    
389            /**
390            * Sets the company ID of this journal article.
391            *
392            * @param companyId the company ID of this journal article
393            */
394            public void setCompanyId(long companyId) {
395                    _journalArticle.setCompanyId(companyId);
396            }
397    
398            /**
399            * Returns the user ID of this journal article.
400            *
401            * @return the user ID of this journal article
402            */
403            public long getUserId() {
404                    return _journalArticle.getUserId();
405            }
406    
407            /**
408            * Sets the user ID of this journal article.
409            *
410            * @param userId the user ID of this journal article
411            */
412            public void setUserId(long userId) {
413                    _journalArticle.setUserId(userId);
414            }
415    
416            /**
417            * Returns the user uuid of this journal article.
418            *
419            * @return the user uuid of this journal article
420            * @throws SystemException if a system exception occurred
421            */
422            public java.lang.String getUserUuid()
423                    throws com.liferay.portal.kernel.exception.SystemException {
424                    return _journalArticle.getUserUuid();
425            }
426    
427            /**
428            * Sets the user uuid of this journal article.
429            *
430            * @param userUuid the user uuid of this journal article
431            */
432            public void setUserUuid(java.lang.String userUuid) {
433                    _journalArticle.setUserUuid(userUuid);
434            }
435    
436            /**
437            * Returns the user name of this journal article.
438            *
439            * @return the user name of this journal article
440            */
441            public java.lang.String getUserName() {
442                    return _journalArticle.getUserName();
443            }
444    
445            /**
446            * Sets the user name of this journal article.
447            *
448            * @param userName the user name of this journal article
449            */
450            public void setUserName(java.lang.String userName) {
451                    _journalArticle.setUserName(userName);
452            }
453    
454            /**
455            * Returns the create date of this journal article.
456            *
457            * @return the create date of this journal article
458            */
459            public java.util.Date getCreateDate() {
460                    return _journalArticle.getCreateDate();
461            }
462    
463            /**
464            * Sets the create date of this journal article.
465            *
466            * @param createDate the create date of this journal article
467            */
468            public void setCreateDate(java.util.Date createDate) {
469                    _journalArticle.setCreateDate(createDate);
470            }
471    
472            /**
473            * Returns the modified date of this journal article.
474            *
475            * @return the modified date of this journal article
476            */
477            public java.util.Date getModifiedDate() {
478                    return _journalArticle.getModifiedDate();
479            }
480    
481            /**
482            * Sets the modified date of this journal article.
483            *
484            * @param modifiedDate the modified date of this journal article
485            */
486            public void setModifiedDate(java.util.Date modifiedDate) {
487                    _journalArticle.setModifiedDate(modifiedDate);
488            }
489    
490            /**
491            * Returns the folder ID of this journal article.
492            *
493            * @return the folder ID of this journal article
494            */
495            public long getFolderId() {
496                    return _journalArticle.getFolderId();
497            }
498    
499            /**
500            * Sets the folder ID of this journal article.
501            *
502            * @param folderId the folder ID of this journal article
503            */
504            public void setFolderId(long folderId) {
505                    _journalArticle.setFolderId(folderId);
506            }
507    
508            /**
509            * Returns the fully qualified class name of this journal article.
510            *
511            * @return the fully qualified class name of this journal article
512            */
513            public java.lang.String getClassName() {
514                    return _journalArticle.getClassName();
515            }
516    
517            public void setClassName(java.lang.String className) {
518                    _journalArticle.setClassName(className);
519            }
520    
521            /**
522            * Returns the class name ID of this journal article.
523            *
524            * @return the class name ID of this journal article
525            */
526            public long getClassNameId() {
527                    return _journalArticle.getClassNameId();
528            }
529    
530            /**
531            * Sets the class name ID of this journal article.
532            *
533            * @param classNameId the class name ID of this journal article
534            */
535            public void setClassNameId(long classNameId) {
536                    _journalArticle.setClassNameId(classNameId);
537            }
538    
539            /**
540            * Returns the class p k of this journal article.
541            *
542            * @return the class p k of this journal article
543            */
544            public long getClassPK() {
545                    return _journalArticle.getClassPK();
546            }
547    
548            /**
549            * Sets the class p k of this journal article.
550            *
551            * @param classPK the class p k of this journal article
552            */
553            public void setClassPK(long classPK) {
554                    _journalArticle.setClassPK(classPK);
555            }
556    
557            /**
558            * Returns the article ID of this journal article.
559            *
560            * @return the article ID of this journal article
561            */
562            public java.lang.String getArticleId() {
563                    return _journalArticle.getArticleId();
564            }
565    
566            /**
567            * Sets the article ID of this journal article.
568            *
569            * @param articleId the article ID of this journal article
570            */
571            public void setArticleId(java.lang.String articleId) {
572                    _journalArticle.setArticleId(articleId);
573            }
574    
575            /**
576            * Returns the version of this journal article.
577            *
578            * @return the version of this journal article
579            */
580            public double getVersion() {
581                    return _journalArticle.getVersion();
582            }
583    
584            /**
585            * Sets the version of this journal article.
586            *
587            * @param version the version of this journal article
588            */
589            public void setVersion(double version) {
590                    _journalArticle.setVersion(version);
591            }
592    
593            /**
594            * Returns the title of this journal article.
595            *
596            * @return the title of this journal article
597            */
598            public java.lang.String getTitle() {
599                    return _journalArticle.getTitle();
600            }
601    
602            /**
603            * Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.
604            *
605            * @param locale the locale of the language
606            * @return the localized title of this journal article
607            */
608            public java.lang.String getTitle(java.util.Locale locale) {
609                    return _journalArticle.getTitle(locale);
610            }
611    
612            /**
613            * Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.
614            *
615            * @param locale the local of the language
616            * @param useDefault whether to use the default language if no localization exists for the requested language
617            * @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.
618            */
619            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
620                    return _journalArticle.getTitle(locale, useDefault);
621            }
622    
623            /**
624            * Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.
625            *
626            * @param languageId the ID of the language
627            * @return the localized title of this journal article
628            */
629            public java.lang.String getTitle(java.lang.String languageId) {
630                    return _journalArticle.getTitle(languageId);
631            }
632    
633            /**
634            * Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.
635            *
636            * @param languageId the ID of the language
637            * @param useDefault whether to use the default language if no localization exists for the requested language
638            * @return the localized title of this journal article
639            */
640            public java.lang.String getTitle(java.lang.String languageId,
641                    boolean useDefault) {
642                    return _journalArticle.getTitle(languageId, useDefault);
643            }
644    
645            public java.lang.String getTitleCurrentLanguageId() {
646                    return _journalArticle.getTitleCurrentLanguageId();
647            }
648    
649            public java.lang.String getTitleCurrentValue() {
650                    return _journalArticle.getTitleCurrentValue();
651            }
652    
653            /**
654            * Returns a map of the locales and localized titles of this journal article.
655            *
656            * @return the locales and localized titles of this journal article
657            */
658            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
659                    return _journalArticle.getTitleMap();
660            }
661    
662            /**
663            * Sets the title of this journal article.
664            *
665            * @param title the title of this journal article
666            */
667            public void setTitle(java.lang.String title) {
668                    _journalArticle.setTitle(title);
669            }
670    
671            /**
672            * Sets the localized title of this journal article in the language.
673            *
674            * @param title the localized title of this journal article
675            * @param locale the locale of the language
676            */
677            public void setTitle(java.lang.String title, java.util.Locale locale) {
678                    _journalArticle.setTitle(title, locale);
679            }
680    
681            /**
682            * Sets the localized title of this journal article in the language, and sets the default locale.
683            *
684            * @param title the localized title of this journal article
685            * @param locale the locale of the language
686            * @param defaultLocale the default locale
687            */
688            public void setTitle(java.lang.String title, java.util.Locale locale,
689                    java.util.Locale defaultLocale) {
690                    _journalArticle.setTitle(title, locale, defaultLocale);
691            }
692    
693            public void setTitleCurrentLanguageId(java.lang.String languageId) {
694                    _journalArticle.setTitleCurrentLanguageId(languageId);
695            }
696    
697            /**
698            * Sets the localized titles of this journal article from the map of locales and localized titles.
699            *
700            * @param titleMap the locales and localized titles of this journal article
701            */
702            public void setTitleMap(
703                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
704                    _journalArticle.setTitleMap(titleMap);
705            }
706    
707            /**
708            * Sets the localized titles of this journal article from the map of locales and localized titles, and sets the default locale.
709            *
710            * @param titleMap the locales and localized titles of this journal article
711            * @param defaultLocale the default locale
712            */
713            public void setTitleMap(
714                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
715                    java.util.Locale defaultLocale) {
716                    _journalArticle.setTitleMap(titleMap, defaultLocale);
717            }
718    
719            /**
720            * Returns the url title of this journal article.
721            *
722            * @return the url title of this journal article
723            */
724            public java.lang.String getUrlTitle() {
725                    return _journalArticle.getUrlTitle();
726            }
727    
728            /**
729            * Sets the url title of this journal article.
730            *
731            * @param urlTitle the url title of this journal article
732            */
733            public void setUrlTitle(java.lang.String urlTitle) {
734                    _journalArticle.setUrlTitle(urlTitle);
735            }
736    
737            /**
738            * Returns the description of this journal article.
739            *
740            * @return the description of this journal article
741            */
742            public java.lang.String getDescription() {
743                    return _journalArticle.getDescription();
744            }
745    
746            /**
747            * Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.
748            *
749            * @param locale the locale of the language
750            * @return the localized description of this journal article
751            */
752            public java.lang.String getDescription(java.util.Locale locale) {
753                    return _journalArticle.getDescription(locale);
754            }
755    
756            /**
757            * Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.
758            *
759            * @param locale the local of the language
760            * @param useDefault whether to use the default language if no localization exists for the requested language
761            * @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.
762            */
763            public java.lang.String getDescription(java.util.Locale locale,
764                    boolean useDefault) {
765                    return _journalArticle.getDescription(locale, useDefault);
766            }
767    
768            /**
769            * Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.
770            *
771            * @param languageId the ID of the language
772            * @return the localized description of this journal article
773            */
774            public java.lang.String getDescription(java.lang.String languageId) {
775                    return _journalArticle.getDescription(languageId);
776            }
777    
778            /**
779            * Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.
780            *
781            * @param languageId the ID of the language
782            * @param useDefault whether to use the default language if no localization exists for the requested language
783            * @return the localized description of this journal article
784            */
785            public java.lang.String getDescription(java.lang.String languageId,
786                    boolean useDefault) {
787                    return _journalArticle.getDescription(languageId, useDefault);
788            }
789    
790            public java.lang.String getDescriptionCurrentLanguageId() {
791                    return _journalArticle.getDescriptionCurrentLanguageId();
792            }
793    
794            public java.lang.String getDescriptionCurrentValue() {
795                    return _journalArticle.getDescriptionCurrentValue();
796            }
797    
798            /**
799            * Returns a map of the locales and localized descriptions of this journal article.
800            *
801            * @return the locales and localized descriptions of this journal article
802            */
803            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
804                    return _journalArticle.getDescriptionMap();
805            }
806    
807            /**
808            * Sets the description of this journal article.
809            *
810            * @param description the description of this journal article
811            */
812            public void setDescription(java.lang.String description) {
813                    _journalArticle.setDescription(description);
814            }
815    
816            /**
817            * Sets the localized description of this journal article in the language.
818            *
819            * @param description the localized description of this journal article
820            * @param locale the locale of the language
821            */
822            public void setDescription(java.lang.String description,
823                    java.util.Locale locale) {
824                    _journalArticle.setDescription(description, locale);
825            }
826    
827            /**
828            * Sets the localized description of this journal article in the language, and sets the default locale.
829            *
830            * @param description the localized description of this journal article
831            * @param locale the locale of the language
832            * @param defaultLocale the default locale
833            */
834            public void setDescription(java.lang.String description,
835                    java.util.Locale locale, java.util.Locale defaultLocale) {
836                    _journalArticle.setDescription(description, locale, defaultLocale);
837            }
838    
839            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
840                    _journalArticle.setDescriptionCurrentLanguageId(languageId);
841            }
842    
843            /**
844            * Sets the localized descriptions of this journal article from the map of locales and localized descriptions.
845            *
846            * @param descriptionMap the locales and localized descriptions of this journal article
847            */
848            public void setDescriptionMap(
849                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
850                    _journalArticle.setDescriptionMap(descriptionMap);
851            }
852    
853            /**
854            * Sets the localized descriptions of this journal article from the map of locales and localized descriptions, and sets the default locale.
855            *
856            * @param descriptionMap the locales and localized descriptions of this journal article
857            * @param defaultLocale the default locale
858            */
859            public void setDescriptionMap(
860                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
861                    java.util.Locale defaultLocale) {
862                    _journalArticle.setDescriptionMap(descriptionMap, defaultLocale);
863            }
864    
865            /**
866            * Returns the content of this journal article.
867            *
868            * @return the content of this journal article
869            */
870            public java.lang.String getContent() {
871                    return _journalArticle.getContent();
872            }
873    
874            /**
875            * Sets the content of this journal article.
876            *
877            * @param content the content of this journal article
878            */
879            public void setContent(java.lang.String content) {
880                    _journalArticle.setContent(content);
881            }
882    
883            /**
884            * Returns the type of this journal article.
885            *
886            * @return the type of this journal article
887            */
888            public java.lang.String getType() {
889                    return _journalArticle.getType();
890            }
891    
892            /**
893            * Sets the type of this journal article.
894            *
895            * @param type the type of this journal article
896            */
897            public void setType(java.lang.String type) {
898                    _journalArticle.setType(type);
899            }
900    
901            /**
902            * Returns the structure ID of this journal article.
903            *
904            * @return the structure ID of this journal article
905            */
906            public java.lang.String getStructureId() {
907                    return _journalArticle.getStructureId();
908            }
909    
910            /**
911            * Sets the structure ID of this journal article.
912            *
913            * @param structureId the structure ID of this journal article
914            */
915            public void setStructureId(java.lang.String structureId) {
916                    _journalArticle.setStructureId(structureId);
917            }
918    
919            /**
920            * Returns the template ID of this journal article.
921            *
922            * @return the template ID of this journal article
923            */
924            public java.lang.String getTemplateId() {
925                    return _journalArticle.getTemplateId();
926            }
927    
928            /**
929            * Sets the template ID of this journal article.
930            *
931            * @param templateId the template ID of this journal article
932            */
933            public void setTemplateId(java.lang.String templateId) {
934                    _journalArticle.setTemplateId(templateId);
935            }
936    
937            /**
938            * Returns the layout uuid of this journal article.
939            *
940            * @return the layout uuid of this journal article
941            */
942            public java.lang.String getLayoutUuid() {
943                    return _journalArticle.getLayoutUuid();
944            }
945    
946            /**
947            * Sets the layout uuid of this journal article.
948            *
949            * @param layoutUuid the layout uuid of this journal article
950            */
951            public void setLayoutUuid(java.lang.String layoutUuid) {
952                    _journalArticle.setLayoutUuid(layoutUuid);
953            }
954    
955            /**
956            * Returns the display date of this journal article.
957            *
958            * @return the display date of this journal article
959            */
960            public java.util.Date getDisplayDate() {
961                    return _journalArticle.getDisplayDate();
962            }
963    
964            /**
965            * Sets the display date of this journal article.
966            *
967            * @param displayDate the display date of this journal article
968            */
969            public void setDisplayDate(java.util.Date displayDate) {
970                    _journalArticle.setDisplayDate(displayDate);
971            }
972    
973            /**
974            * Returns the expiration date of this journal article.
975            *
976            * @return the expiration date of this journal article
977            */
978            public java.util.Date getExpirationDate() {
979                    return _journalArticle.getExpirationDate();
980            }
981    
982            /**
983            * Sets the expiration date of this journal article.
984            *
985            * @param expirationDate the expiration date of this journal article
986            */
987            public void setExpirationDate(java.util.Date expirationDate) {
988                    _journalArticle.setExpirationDate(expirationDate);
989            }
990    
991            /**
992            * Returns the review date of this journal article.
993            *
994            * @return the review date of this journal article
995            */
996            public java.util.Date getReviewDate() {
997                    return _journalArticle.getReviewDate();
998            }
999    
1000            /**
1001            * Sets the review date of this journal article.
1002            *
1003            * @param reviewDate the review date of this journal article
1004            */
1005            public void setReviewDate(java.util.Date reviewDate) {
1006                    _journalArticle.setReviewDate(reviewDate);
1007            }
1008    
1009            /**
1010            * Returns the indexable of this journal article.
1011            *
1012            * @return the indexable of this journal article
1013            */
1014            public boolean getIndexable() {
1015                    return _journalArticle.getIndexable();
1016            }
1017    
1018            /**
1019            * Returns <code>true</code> if this journal article is indexable.
1020            *
1021            * @return <code>true</code> if this journal article is indexable; <code>false</code> otherwise
1022            */
1023            public boolean isIndexable() {
1024                    return _journalArticle.isIndexable();
1025            }
1026    
1027            /**
1028            * Sets whether this journal article is indexable.
1029            *
1030            * @param indexable the indexable of this journal article
1031            */
1032            public void setIndexable(boolean indexable) {
1033                    _journalArticle.setIndexable(indexable);
1034            }
1035    
1036            /**
1037            * Returns the small image of this journal article.
1038            *
1039            * @return the small image of this journal article
1040            */
1041            public boolean getSmallImage() {
1042                    return _journalArticle.getSmallImage();
1043            }
1044    
1045            /**
1046            * Returns <code>true</code> if this journal article is small image.
1047            *
1048            * @return <code>true</code> if this journal article is small image; <code>false</code> otherwise
1049            */
1050            public boolean isSmallImage() {
1051                    return _journalArticle.isSmallImage();
1052            }
1053    
1054            /**
1055            * Sets whether this journal article is small image.
1056            *
1057            * @param smallImage the small image of this journal article
1058            */
1059            public void setSmallImage(boolean smallImage) {
1060                    _journalArticle.setSmallImage(smallImage);
1061            }
1062    
1063            /**
1064            * Returns the small image ID of this journal article.
1065            *
1066            * @return the small image ID of this journal article
1067            */
1068            public long getSmallImageId() {
1069                    return _journalArticle.getSmallImageId();
1070            }
1071    
1072            /**
1073            * Sets the small image ID of this journal article.
1074            *
1075            * @param smallImageId the small image ID of this journal article
1076            */
1077            public void setSmallImageId(long smallImageId) {
1078                    _journalArticle.setSmallImageId(smallImageId);
1079            }
1080    
1081            /**
1082            * Returns the small image u r l of this journal article.
1083            *
1084            * @return the small image u r l of this journal article
1085            */
1086            public java.lang.String getSmallImageURL() {
1087                    return _journalArticle.getSmallImageURL();
1088            }
1089    
1090            /**
1091            * Sets the small image u r l of this journal article.
1092            *
1093            * @param smallImageURL the small image u r l of this journal article
1094            */
1095            public void setSmallImageURL(java.lang.String smallImageURL) {
1096                    _journalArticle.setSmallImageURL(smallImageURL);
1097            }
1098    
1099            /**
1100            * Returns the status of this journal article.
1101            *
1102            * @return the status of this journal article
1103            */
1104            public int getStatus() {
1105                    return _journalArticle.getStatus();
1106            }
1107    
1108            /**
1109            * Sets the status of this journal article.
1110            *
1111            * @param status the status of this journal article
1112            */
1113            public void setStatus(int status) {
1114                    _journalArticle.setStatus(status);
1115            }
1116    
1117            /**
1118            * Returns the status by user ID of this journal article.
1119            *
1120            * @return the status by user ID of this journal article
1121            */
1122            public long getStatusByUserId() {
1123                    return _journalArticle.getStatusByUserId();
1124            }
1125    
1126            /**
1127            * Sets the status by user ID of this journal article.
1128            *
1129            * @param statusByUserId the status by user ID of this journal article
1130            */
1131            public void setStatusByUserId(long statusByUserId) {
1132                    _journalArticle.setStatusByUserId(statusByUserId);
1133            }
1134    
1135            /**
1136            * Returns the status by user uuid of this journal article.
1137            *
1138            * @return the status by user uuid of this journal article
1139            * @throws SystemException if a system exception occurred
1140            */
1141            public java.lang.String getStatusByUserUuid()
1142                    throws com.liferay.portal.kernel.exception.SystemException {
1143                    return _journalArticle.getStatusByUserUuid();
1144            }
1145    
1146            /**
1147            * Sets the status by user uuid of this journal article.
1148            *
1149            * @param statusByUserUuid the status by user uuid of this journal article
1150            */
1151            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
1152                    _journalArticle.setStatusByUserUuid(statusByUserUuid);
1153            }
1154    
1155            /**
1156            * Returns the status by user name of this journal article.
1157            *
1158            * @return the status by user name of this journal article
1159            */
1160            public java.lang.String getStatusByUserName() {
1161                    return _journalArticle.getStatusByUserName();
1162            }
1163    
1164            /**
1165            * Sets the status by user name of this journal article.
1166            *
1167            * @param statusByUserName the status by user name of this journal article
1168            */
1169            public void setStatusByUserName(java.lang.String statusByUserName) {
1170                    _journalArticle.setStatusByUserName(statusByUserName);
1171            }
1172    
1173            /**
1174            * Returns the status date of this journal article.
1175            *
1176            * @return the status date of this journal article
1177            */
1178            public java.util.Date getStatusDate() {
1179                    return _journalArticle.getStatusDate();
1180            }
1181    
1182            /**
1183            * Sets the status date of this journal article.
1184            *
1185            * @param statusDate the status date of this journal article
1186            */
1187            public void setStatusDate(java.util.Date statusDate) {
1188                    _journalArticle.setStatusDate(statusDate);
1189            }
1190    
1191            /**
1192            * @deprecated Renamed to {@link #isApproved()}
1193            */
1194            public boolean getApproved() {
1195                    return _journalArticle.getApproved();
1196            }
1197    
1198            /**
1199            * Returns <code>true</code> if this journal article is approved.
1200            *
1201            * @return <code>true</code> if this journal article is approved; <code>false</code> otherwise
1202            */
1203            public boolean isApproved() {
1204                    return _journalArticle.isApproved();
1205            }
1206    
1207            /**
1208            * Returns <code>true</code> if this journal article is denied.
1209            *
1210            * @return <code>true</code> if this journal article is denied; <code>false</code> otherwise
1211            */
1212            public boolean isDenied() {
1213                    return _journalArticle.isDenied();
1214            }
1215    
1216            /**
1217            * Returns <code>true</code> if this journal article is a draft.
1218            *
1219            * @return <code>true</code> if this journal article is a draft; <code>false</code> otherwise
1220            */
1221            public boolean isDraft() {
1222                    return _journalArticle.isDraft();
1223            }
1224    
1225            /**
1226            * Returns <code>true</code> if this journal article is expired.
1227            *
1228            * @return <code>true</code> if this journal article is expired; <code>false</code> otherwise
1229            */
1230            public boolean isExpired() {
1231                    return _journalArticle.isExpired();
1232            }
1233    
1234            /**
1235            * Returns <code>true</code> if this journal article is inactive.
1236            *
1237            * @return <code>true</code> if this journal article is inactive; <code>false</code> otherwise
1238            */
1239            public boolean isInactive() {
1240                    return _journalArticle.isInactive();
1241            }
1242    
1243            /**
1244            * Returns <code>true</code> if this journal article is incomplete.
1245            *
1246            * @return <code>true</code> if this journal article is incomplete; <code>false</code> otherwise
1247            */
1248            public boolean isIncomplete() {
1249                    return _journalArticle.isIncomplete();
1250            }
1251    
1252            /**
1253            * Returns <code>true</code> if this journal article is in the Recycle Bin.
1254            *
1255            * @return <code>true</code> if this journal article is in the Recycle Bin; <code>false</code> otherwise
1256            */
1257            public boolean isInTrash() {
1258                    return _journalArticle.isInTrash();
1259            }
1260    
1261            /**
1262            * Returns <code>true</code> if this journal article is pending.
1263            *
1264            * @return <code>true</code> if this journal article is pending; <code>false</code> otherwise
1265            */
1266            public boolean isPending() {
1267                    return _journalArticle.isPending();
1268            }
1269    
1270            /**
1271            * Returns <code>true</code> if this journal article is scheduled.
1272            *
1273            * @return <code>true</code> if this journal article is scheduled; <code>false</code> otherwise
1274            */
1275            public boolean isScheduled() {
1276                    return _journalArticle.isScheduled();
1277            }
1278    
1279            public boolean isNew() {
1280                    return _journalArticle.isNew();
1281            }
1282    
1283            public void setNew(boolean n) {
1284                    _journalArticle.setNew(n);
1285            }
1286    
1287            public boolean isCachedModel() {
1288                    return _journalArticle.isCachedModel();
1289            }
1290    
1291            public void setCachedModel(boolean cachedModel) {
1292                    _journalArticle.setCachedModel(cachedModel);
1293            }
1294    
1295            public boolean isEscapedModel() {
1296                    return _journalArticle.isEscapedModel();
1297            }
1298    
1299            public java.io.Serializable getPrimaryKeyObj() {
1300                    return _journalArticle.getPrimaryKeyObj();
1301            }
1302    
1303            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1304                    _journalArticle.setPrimaryKeyObj(primaryKeyObj);
1305            }
1306    
1307            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1308                    return _journalArticle.getExpandoBridge();
1309            }
1310    
1311            public void setExpandoBridgeAttributes(
1312                    com.liferay.portal.service.ServiceContext serviceContext) {
1313                    _journalArticle.setExpandoBridgeAttributes(serviceContext);
1314            }
1315    
1316            public void prepareLocalizedFieldsForImport(
1317                    java.util.Locale defaultImportLocale)
1318                    throws com.liferay.portal.LocaleException {
1319                    _journalArticle.prepareLocalizedFieldsForImport(defaultImportLocale);
1320            }
1321    
1322            @Override
1323            public java.lang.Object clone() {
1324                    return new JournalArticleWrapper((JournalArticle)_journalArticle.clone());
1325            }
1326    
1327            public int compareTo(
1328                    com.liferay.portlet.journal.model.JournalArticle journalArticle) {
1329                    return _journalArticle.compareTo(journalArticle);
1330            }
1331    
1332            @Override
1333            public int hashCode() {
1334                    return _journalArticle.hashCode();
1335            }
1336    
1337            public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalArticle> toCacheModel() {
1338                    return _journalArticle.toCacheModel();
1339            }
1340    
1341            public com.liferay.portlet.journal.model.JournalArticle toEscapedModel() {
1342                    return new JournalArticleWrapper(_journalArticle.toEscapedModel());
1343            }
1344    
1345            public com.liferay.portlet.journal.model.JournalArticle toUnescapedModel() {
1346                    return new JournalArticleWrapper(_journalArticle.toUnescapedModel());
1347            }
1348    
1349            @Override
1350            public java.lang.String toString() {
1351                    return _journalArticle.toString();
1352            }
1353    
1354            public java.lang.String toXmlString() {
1355                    return _journalArticle.toXmlString();
1356            }
1357    
1358            public void persist()
1359                    throws com.liferay.portal.kernel.exception.SystemException {
1360                    _journalArticle.persist();
1361            }
1362    
1363            public com.liferay.portlet.journal.model.JournalArticleResource getArticleResource()
1364                    throws com.liferay.portal.kernel.exception.PortalException,
1365                            com.liferay.portal.kernel.exception.SystemException {
1366                    return _journalArticle.getArticleResource();
1367            }
1368    
1369            public java.lang.String getArticleResourceUuid()
1370                    throws com.liferay.portal.kernel.exception.PortalException,
1371                            com.liferay.portal.kernel.exception.SystemException {
1372                    return _journalArticle.getArticleResourceUuid();
1373            }
1374    
1375            public java.lang.String[] getAvailableLocales() {
1376                    return _journalArticle.getAvailableLocales();
1377            }
1378    
1379            public java.lang.String getContentByLocale(java.lang.String languageId) {
1380                    return _journalArticle.getContentByLocale(languageId);
1381            }
1382    
1383            public java.lang.String getDefaultLocale() {
1384                    return _journalArticle.getDefaultLocale();
1385            }
1386    
1387            public com.liferay.portlet.journal.model.JournalFolder getFolder() {
1388                    return _journalArticle.getFolder();
1389            }
1390    
1391            public java.lang.String getSmallImageType()
1392                    throws com.liferay.portal.kernel.exception.PortalException,
1393                            com.liferay.portal.kernel.exception.SystemException {
1394                    return _journalArticle.getSmallImageType();
1395            }
1396    
1397            public boolean isTemplateDriven() {
1398                    return _journalArticle.isTemplateDriven();
1399            }
1400    
1401            public void setSmallImageType(java.lang.String smallImageType) {
1402                    _journalArticle.setSmallImageType(smallImageType);
1403            }
1404    
1405            /**
1406             * @deprecated Renamed to {@link #getWrappedModel}
1407             */
1408            public JournalArticle getWrappedJournalArticle() {
1409                    return _journalArticle;
1410            }
1411    
1412            public JournalArticle getWrappedModel() {
1413                    return _journalArticle;
1414            }
1415    
1416            public void resetOriginalValues() {
1417                    _journalArticle.resetOriginalValues();
1418            }
1419    
1420            private JournalArticle _journalArticle;
1421    }