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