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 JournalTemplate}.
026     * </p>
027     *
028     * @author    Brian Wing Shun Chan
029     * @see       JournalTemplate
030     * @generated
031     */
032    public class JournalTemplateWrapper implements JournalTemplate,
033            ModelWrapper<JournalTemplate> {
034            public JournalTemplateWrapper(JournalTemplate journalTemplate) {
035                    _journalTemplate = journalTemplate;
036            }
037    
038            public Class<?> getModelClass() {
039                    return JournalTemplate.class;
040            }
041    
042            public String getModelClassName() {
043                    return JournalTemplate.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("groupId", getGroupId());
052                    attributes.put("companyId", getCompanyId());
053                    attributes.put("userId", getUserId());
054                    attributes.put("userName", getUserName());
055                    attributes.put("createDate", getCreateDate());
056                    attributes.put("modifiedDate", getModifiedDate());
057                    attributes.put("templateId", getTemplateId());
058                    attributes.put("structureId", getStructureId());
059                    attributes.put("name", getName());
060                    attributes.put("description", getDescription());
061                    attributes.put("xsl", getXsl());
062                    attributes.put("langType", getLangType());
063                    attributes.put("cacheable", getCacheable());
064                    attributes.put("smallImage", getSmallImage());
065                    attributes.put("smallImageId", getSmallImageId());
066                    attributes.put("smallImageURL", getSmallImageURL());
067    
068                    return attributes;
069            }
070    
071            public void setModelAttributes(Map<String, Object> attributes) {
072                    String uuid = (String)attributes.get("uuid");
073    
074                    if (uuid != null) {
075                            setUuid(uuid);
076                    }
077    
078                    Long id = (Long)attributes.get("id");
079    
080                    if (id != null) {
081                            setId(id);
082                    }
083    
084                    Long groupId = (Long)attributes.get("groupId");
085    
086                    if (groupId != null) {
087                            setGroupId(groupId);
088                    }
089    
090                    Long companyId = (Long)attributes.get("companyId");
091    
092                    if (companyId != null) {
093                            setCompanyId(companyId);
094                    }
095    
096                    Long userId = (Long)attributes.get("userId");
097    
098                    if (userId != null) {
099                            setUserId(userId);
100                    }
101    
102                    String userName = (String)attributes.get("userName");
103    
104                    if (userName != null) {
105                            setUserName(userName);
106                    }
107    
108                    Date createDate = (Date)attributes.get("createDate");
109    
110                    if (createDate != null) {
111                            setCreateDate(createDate);
112                    }
113    
114                    Date modifiedDate = (Date)attributes.get("modifiedDate");
115    
116                    if (modifiedDate != null) {
117                            setModifiedDate(modifiedDate);
118                    }
119    
120                    String templateId = (String)attributes.get("templateId");
121    
122                    if (templateId != null) {
123                            setTemplateId(templateId);
124                    }
125    
126                    String structureId = (String)attributes.get("structureId");
127    
128                    if (structureId != null) {
129                            setStructureId(structureId);
130                    }
131    
132                    String name = (String)attributes.get("name");
133    
134                    if (name != null) {
135                            setName(name);
136                    }
137    
138                    String description = (String)attributes.get("description");
139    
140                    if (description != null) {
141                            setDescription(description);
142                    }
143    
144                    String xsl = (String)attributes.get("xsl");
145    
146                    if (xsl != null) {
147                            setXsl(xsl);
148                    }
149    
150                    String langType = (String)attributes.get("langType");
151    
152                    if (langType != null) {
153                            setLangType(langType);
154                    }
155    
156                    Boolean cacheable = (Boolean)attributes.get("cacheable");
157    
158                    if (cacheable != null) {
159                            setCacheable(cacheable);
160                    }
161    
162                    Boolean smallImage = (Boolean)attributes.get("smallImage");
163    
164                    if (smallImage != null) {
165                            setSmallImage(smallImage);
166                    }
167    
168                    Long smallImageId = (Long)attributes.get("smallImageId");
169    
170                    if (smallImageId != null) {
171                            setSmallImageId(smallImageId);
172                    }
173    
174                    String smallImageURL = (String)attributes.get("smallImageURL");
175    
176                    if (smallImageURL != null) {
177                            setSmallImageURL(smallImageURL);
178                    }
179            }
180    
181            /**
182            * Returns the primary key of this journal template.
183            *
184            * @return the primary key of this journal template
185            */
186            public long getPrimaryKey() {
187                    return _journalTemplate.getPrimaryKey();
188            }
189    
190            /**
191            * Sets the primary key of this journal template.
192            *
193            * @param primaryKey the primary key of this journal template
194            */
195            public void setPrimaryKey(long primaryKey) {
196                    _journalTemplate.setPrimaryKey(primaryKey);
197            }
198    
199            /**
200            * Returns the uuid of this journal template.
201            *
202            * @return the uuid of this journal template
203            */
204            public java.lang.String getUuid() {
205                    return _journalTemplate.getUuid();
206            }
207    
208            /**
209            * Sets the uuid of this journal template.
210            *
211            * @param uuid the uuid of this journal template
212            */
213            public void setUuid(java.lang.String uuid) {
214                    _journalTemplate.setUuid(uuid);
215            }
216    
217            /**
218            * Returns the ID of this journal template.
219            *
220            * @return the ID of this journal template
221            */
222            public long getId() {
223                    return _journalTemplate.getId();
224            }
225    
226            /**
227            * Sets the ID of this journal template.
228            *
229            * @param id the ID of this journal template
230            */
231            public void setId(long id) {
232                    _journalTemplate.setId(id);
233            }
234    
235            /**
236            * Returns the group ID of this journal template.
237            *
238            * @return the group ID of this journal template
239            */
240            public long getGroupId() {
241                    return _journalTemplate.getGroupId();
242            }
243    
244            /**
245            * Sets the group ID of this journal template.
246            *
247            * @param groupId the group ID of this journal template
248            */
249            public void setGroupId(long groupId) {
250                    _journalTemplate.setGroupId(groupId);
251            }
252    
253            /**
254            * Returns the company ID of this journal template.
255            *
256            * @return the company ID of this journal template
257            */
258            public long getCompanyId() {
259                    return _journalTemplate.getCompanyId();
260            }
261    
262            /**
263            * Sets the company ID of this journal template.
264            *
265            * @param companyId the company ID of this journal template
266            */
267            public void setCompanyId(long companyId) {
268                    _journalTemplate.setCompanyId(companyId);
269            }
270    
271            /**
272            * Returns the user ID of this journal template.
273            *
274            * @return the user ID of this journal template
275            */
276            public long getUserId() {
277                    return _journalTemplate.getUserId();
278            }
279    
280            /**
281            * Sets the user ID of this journal template.
282            *
283            * @param userId the user ID of this journal template
284            */
285            public void setUserId(long userId) {
286                    _journalTemplate.setUserId(userId);
287            }
288    
289            /**
290            * Returns the user uuid of this journal template.
291            *
292            * @return the user uuid of this journal template
293            * @throws SystemException if a system exception occurred
294            */
295            public java.lang.String getUserUuid()
296                    throws com.liferay.portal.kernel.exception.SystemException {
297                    return _journalTemplate.getUserUuid();
298            }
299    
300            /**
301            * Sets the user uuid of this journal template.
302            *
303            * @param userUuid the user uuid of this journal template
304            */
305            public void setUserUuid(java.lang.String userUuid) {
306                    _journalTemplate.setUserUuid(userUuid);
307            }
308    
309            /**
310            * Returns the user name of this journal template.
311            *
312            * @return the user name of this journal template
313            */
314            public java.lang.String getUserName() {
315                    return _journalTemplate.getUserName();
316            }
317    
318            /**
319            * Sets the user name of this journal template.
320            *
321            * @param userName the user name of this journal template
322            */
323            public void setUserName(java.lang.String userName) {
324                    _journalTemplate.setUserName(userName);
325            }
326    
327            /**
328            * Returns the create date of this journal template.
329            *
330            * @return the create date of this journal template
331            */
332            public java.util.Date getCreateDate() {
333                    return _journalTemplate.getCreateDate();
334            }
335    
336            /**
337            * Sets the create date of this journal template.
338            *
339            * @param createDate the create date of this journal template
340            */
341            public void setCreateDate(java.util.Date createDate) {
342                    _journalTemplate.setCreateDate(createDate);
343            }
344    
345            /**
346            * Returns the modified date of this journal template.
347            *
348            * @return the modified date of this journal template
349            */
350            public java.util.Date getModifiedDate() {
351                    return _journalTemplate.getModifiedDate();
352            }
353    
354            /**
355            * Sets the modified date of this journal template.
356            *
357            * @param modifiedDate the modified date of this journal template
358            */
359            public void setModifiedDate(java.util.Date modifiedDate) {
360                    _journalTemplate.setModifiedDate(modifiedDate);
361            }
362    
363            /**
364            * Returns the template ID of this journal template.
365            *
366            * @return the template ID of this journal template
367            */
368            public java.lang.String getTemplateId() {
369                    return _journalTemplate.getTemplateId();
370            }
371    
372            /**
373            * Sets the template ID of this journal template.
374            *
375            * @param templateId the template ID of this journal template
376            */
377            public void setTemplateId(java.lang.String templateId) {
378                    _journalTemplate.setTemplateId(templateId);
379            }
380    
381            /**
382            * Returns the structure ID of this journal template.
383            *
384            * @return the structure ID of this journal template
385            */
386            public java.lang.String getStructureId() {
387                    return _journalTemplate.getStructureId();
388            }
389    
390            /**
391            * Sets the structure ID of this journal template.
392            *
393            * @param structureId the structure ID of this journal template
394            */
395            public void setStructureId(java.lang.String structureId) {
396                    _journalTemplate.setStructureId(structureId);
397            }
398    
399            /**
400            * Returns the name of this journal template.
401            *
402            * @return the name of this journal template
403            */
404            public java.lang.String getName() {
405                    return _journalTemplate.getName();
406            }
407    
408            /**
409            * Returns the localized name of this journal template in the language. Uses the default language if no localization exists for the requested language.
410            *
411            * @param locale the locale of the language
412            * @return the localized name of this journal template
413            */
414            public java.lang.String getName(java.util.Locale locale) {
415                    return _journalTemplate.getName(locale);
416            }
417    
418            /**
419            * Returns the localized name of this journal template in the language, optionally using the default language if no localization exists for the requested language.
420            *
421            * @param locale the local of the language
422            * @param useDefault whether to use the default language if no localization exists for the requested language
423            * @return the localized name of this journal template. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
424            */
425            public java.lang.String getName(java.util.Locale locale, boolean useDefault) {
426                    return _journalTemplate.getName(locale, useDefault);
427            }
428    
429            /**
430            * Returns the localized name of this journal template in the language. Uses the default language if no localization exists for the requested language.
431            *
432            * @param languageId the ID of the language
433            * @return the localized name of this journal template
434            */
435            public java.lang.String getName(java.lang.String languageId) {
436                    return _journalTemplate.getName(languageId);
437            }
438    
439            /**
440            * Returns the localized name of this journal template in the language, optionally using the default language if no localization exists for the requested language.
441            *
442            * @param languageId the ID of the language
443            * @param useDefault whether to use the default language if no localization exists for the requested language
444            * @return the localized name of this journal template
445            */
446            public java.lang.String getName(java.lang.String languageId,
447                    boolean useDefault) {
448                    return _journalTemplate.getName(languageId, useDefault);
449            }
450    
451            public java.lang.String getNameCurrentLanguageId() {
452                    return _journalTemplate.getNameCurrentLanguageId();
453            }
454    
455            public java.lang.String getNameCurrentValue() {
456                    return _journalTemplate.getNameCurrentValue();
457            }
458    
459            /**
460            * Returns a map of the locales and localized names of this journal template.
461            *
462            * @return the locales and localized names of this journal template
463            */
464            public java.util.Map<java.util.Locale, java.lang.String> getNameMap() {
465                    return _journalTemplate.getNameMap();
466            }
467    
468            /**
469            * Sets the name of this journal template.
470            *
471            * @param name the name of this journal template
472            */
473            public void setName(java.lang.String name) {
474                    _journalTemplate.setName(name);
475            }
476    
477            /**
478            * Sets the localized name of this journal template in the language.
479            *
480            * @param name the localized name of this journal template
481            * @param locale the locale of the language
482            */
483            public void setName(java.lang.String name, java.util.Locale locale) {
484                    _journalTemplate.setName(name, locale);
485            }
486    
487            /**
488            * Sets the localized name of this journal template in the language, and sets the default locale.
489            *
490            * @param name the localized name of this journal template
491            * @param locale the locale of the language
492            * @param defaultLocale the default locale
493            */
494            public void setName(java.lang.String name, java.util.Locale locale,
495                    java.util.Locale defaultLocale) {
496                    _journalTemplate.setName(name, locale, defaultLocale);
497            }
498    
499            public void setNameCurrentLanguageId(java.lang.String languageId) {
500                    _journalTemplate.setNameCurrentLanguageId(languageId);
501            }
502    
503            /**
504            * Sets the localized names of this journal template from the map of locales and localized names.
505            *
506            * @param nameMap the locales and localized names of this journal template
507            */
508            public void setNameMap(
509                    java.util.Map<java.util.Locale, java.lang.String> nameMap) {
510                    _journalTemplate.setNameMap(nameMap);
511            }
512    
513            /**
514            * Sets the localized names of this journal template from the map of locales and localized names, and sets the default locale.
515            *
516            * @param nameMap the locales and localized names of this journal template
517            * @param defaultLocale the default locale
518            */
519            public void setNameMap(
520                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
521                    java.util.Locale defaultLocale) {
522                    _journalTemplate.setNameMap(nameMap, defaultLocale);
523            }
524    
525            /**
526            * Returns the description of this journal template.
527            *
528            * @return the description of this journal template
529            */
530            public java.lang.String getDescription() {
531                    return _journalTemplate.getDescription();
532            }
533    
534            /**
535            * Returns the localized description of this journal template in the language. Uses the default language if no localization exists for the requested language.
536            *
537            * @param locale the locale of the language
538            * @return the localized description of this journal template
539            */
540            public java.lang.String getDescription(java.util.Locale locale) {
541                    return _journalTemplate.getDescription(locale);
542            }
543    
544            /**
545            * Returns the localized description of this journal template in the language, optionally using the default language if no localization exists for the requested language.
546            *
547            * @param locale the local of the language
548            * @param useDefault whether to use the default language if no localization exists for the requested language
549            * @return the localized description of this journal template. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
550            */
551            public java.lang.String getDescription(java.util.Locale locale,
552                    boolean useDefault) {
553                    return _journalTemplate.getDescription(locale, useDefault);
554            }
555    
556            /**
557            * Returns the localized description of this journal template in the language. Uses the default language if no localization exists for the requested language.
558            *
559            * @param languageId the ID of the language
560            * @return the localized description of this journal template
561            */
562            public java.lang.String getDescription(java.lang.String languageId) {
563                    return _journalTemplate.getDescription(languageId);
564            }
565    
566            /**
567            * Returns the localized description of this journal template in the language, optionally using the default language if no localization exists for the requested language.
568            *
569            * @param languageId the ID of the language
570            * @param useDefault whether to use the default language if no localization exists for the requested language
571            * @return the localized description of this journal template
572            */
573            public java.lang.String getDescription(java.lang.String languageId,
574                    boolean useDefault) {
575                    return _journalTemplate.getDescription(languageId, useDefault);
576            }
577    
578            public java.lang.String getDescriptionCurrentLanguageId() {
579                    return _journalTemplate.getDescriptionCurrentLanguageId();
580            }
581    
582            public java.lang.String getDescriptionCurrentValue() {
583                    return _journalTemplate.getDescriptionCurrentValue();
584            }
585    
586            /**
587            * Returns a map of the locales and localized descriptions of this journal template.
588            *
589            * @return the locales and localized descriptions of this journal template
590            */
591            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
592                    return _journalTemplate.getDescriptionMap();
593            }
594    
595            /**
596            * Sets the description of this journal template.
597            *
598            * @param description the description of this journal template
599            */
600            public void setDescription(java.lang.String description) {
601                    _journalTemplate.setDescription(description);
602            }
603    
604            /**
605            * Sets the localized description of this journal template in the language.
606            *
607            * @param description the localized description of this journal template
608            * @param locale the locale of the language
609            */
610            public void setDescription(java.lang.String description,
611                    java.util.Locale locale) {
612                    _journalTemplate.setDescription(description, locale);
613            }
614    
615            /**
616            * Sets the localized description of this journal template in the language, and sets the default locale.
617            *
618            * @param description the localized description of this journal template
619            * @param locale the locale of the language
620            * @param defaultLocale the default locale
621            */
622            public void setDescription(java.lang.String description,
623                    java.util.Locale locale, java.util.Locale defaultLocale) {
624                    _journalTemplate.setDescription(description, locale, defaultLocale);
625            }
626    
627            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
628                    _journalTemplate.setDescriptionCurrentLanguageId(languageId);
629            }
630    
631            /**
632            * Sets the localized descriptions of this journal template from the map of locales and localized descriptions.
633            *
634            * @param descriptionMap the locales and localized descriptions of this journal template
635            */
636            public void setDescriptionMap(
637                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
638                    _journalTemplate.setDescriptionMap(descriptionMap);
639            }
640    
641            /**
642            * Sets the localized descriptions of this journal template from the map of locales and localized descriptions, and sets the default locale.
643            *
644            * @param descriptionMap the locales and localized descriptions of this journal template
645            * @param defaultLocale the default locale
646            */
647            public void setDescriptionMap(
648                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
649                    java.util.Locale defaultLocale) {
650                    _journalTemplate.setDescriptionMap(descriptionMap, defaultLocale);
651            }
652    
653            /**
654            * Returns the xsl of this journal template.
655            *
656            * @return the xsl of this journal template
657            */
658            public java.lang.String getXsl() {
659                    return _journalTemplate.getXsl();
660            }
661    
662            /**
663            * Sets the xsl of this journal template.
664            *
665            * @param xsl the xsl of this journal template
666            */
667            public void setXsl(java.lang.String xsl) {
668                    _journalTemplate.setXsl(xsl);
669            }
670    
671            /**
672            * Returns the lang type of this journal template.
673            *
674            * @return the lang type of this journal template
675            */
676            public java.lang.String getLangType() {
677                    return _journalTemplate.getLangType();
678            }
679    
680            /**
681            * Sets the lang type of this journal template.
682            *
683            * @param langType the lang type of this journal template
684            */
685            public void setLangType(java.lang.String langType) {
686                    _journalTemplate.setLangType(langType);
687            }
688    
689            /**
690            * Returns the cacheable of this journal template.
691            *
692            * @return the cacheable of this journal template
693            */
694            public boolean getCacheable() {
695                    return _journalTemplate.getCacheable();
696            }
697    
698            /**
699            * Returns <code>true</code> if this journal template is cacheable.
700            *
701            * @return <code>true</code> if this journal template is cacheable; <code>false</code> otherwise
702            */
703            public boolean isCacheable() {
704                    return _journalTemplate.isCacheable();
705            }
706    
707            /**
708            * Sets whether this journal template is cacheable.
709            *
710            * @param cacheable the cacheable of this journal template
711            */
712            public void setCacheable(boolean cacheable) {
713                    _journalTemplate.setCacheable(cacheable);
714            }
715    
716            /**
717            * Returns the small image of this journal template.
718            *
719            * @return the small image of this journal template
720            */
721            public boolean getSmallImage() {
722                    return _journalTemplate.getSmallImage();
723            }
724    
725            /**
726            * Returns <code>true</code> if this journal template is small image.
727            *
728            * @return <code>true</code> if this journal template is small image; <code>false</code> otherwise
729            */
730            public boolean isSmallImage() {
731                    return _journalTemplate.isSmallImage();
732            }
733    
734            /**
735            * Sets whether this journal template is small image.
736            *
737            * @param smallImage the small image of this journal template
738            */
739            public void setSmallImage(boolean smallImage) {
740                    _journalTemplate.setSmallImage(smallImage);
741            }
742    
743            /**
744            * Returns the small image ID of this journal template.
745            *
746            * @return the small image ID of this journal template
747            */
748            public long getSmallImageId() {
749                    return _journalTemplate.getSmallImageId();
750            }
751    
752            /**
753            * Sets the small image ID of this journal template.
754            *
755            * @param smallImageId the small image ID of this journal template
756            */
757            public void setSmallImageId(long smallImageId) {
758                    _journalTemplate.setSmallImageId(smallImageId);
759            }
760    
761            /**
762            * Returns the small image u r l of this journal template.
763            *
764            * @return the small image u r l of this journal template
765            */
766            public java.lang.String getSmallImageURL() {
767                    return _journalTemplate.getSmallImageURL();
768            }
769    
770            /**
771            * Sets the small image u r l of this journal template.
772            *
773            * @param smallImageURL the small image u r l of this journal template
774            */
775            public void setSmallImageURL(java.lang.String smallImageURL) {
776                    _journalTemplate.setSmallImageURL(smallImageURL);
777            }
778    
779            public boolean isNew() {
780                    return _journalTemplate.isNew();
781            }
782    
783            public void setNew(boolean n) {
784                    _journalTemplate.setNew(n);
785            }
786    
787            public boolean isCachedModel() {
788                    return _journalTemplate.isCachedModel();
789            }
790    
791            public void setCachedModel(boolean cachedModel) {
792                    _journalTemplate.setCachedModel(cachedModel);
793            }
794    
795            public boolean isEscapedModel() {
796                    return _journalTemplate.isEscapedModel();
797            }
798    
799            public java.io.Serializable getPrimaryKeyObj() {
800                    return _journalTemplate.getPrimaryKeyObj();
801            }
802    
803            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
804                    _journalTemplate.setPrimaryKeyObj(primaryKeyObj);
805            }
806    
807            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
808                    return _journalTemplate.getExpandoBridge();
809            }
810    
811            public void setExpandoBridgeAttributes(
812                    com.liferay.portal.service.ServiceContext serviceContext) {
813                    _journalTemplate.setExpandoBridgeAttributes(serviceContext);
814            }
815    
816            public void prepareLocalizedFieldsForImport(
817                    java.util.Locale defaultImportLocale)
818                    throws com.liferay.portal.LocaleException {
819                    _journalTemplate.prepareLocalizedFieldsForImport(defaultImportLocale);
820            }
821    
822            @Override
823            public java.lang.Object clone() {
824                    return new JournalTemplateWrapper((JournalTemplate)_journalTemplate.clone());
825            }
826    
827            public int compareTo(
828                    com.liferay.portlet.journal.model.JournalTemplate journalTemplate) {
829                    return _journalTemplate.compareTo(journalTemplate);
830            }
831    
832            @Override
833            public int hashCode() {
834                    return _journalTemplate.hashCode();
835            }
836    
837            public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalTemplate> toCacheModel() {
838                    return _journalTemplate.toCacheModel();
839            }
840    
841            public com.liferay.portlet.journal.model.JournalTemplate toEscapedModel() {
842                    return new JournalTemplateWrapper(_journalTemplate.toEscapedModel());
843            }
844    
845            public com.liferay.portlet.journal.model.JournalTemplate toUnescapedModel() {
846                    return new JournalTemplateWrapper(_journalTemplate.toUnescapedModel());
847            }
848    
849            @Override
850            public java.lang.String toString() {
851                    return _journalTemplate.toString();
852            }
853    
854            public java.lang.String toXmlString() {
855                    return _journalTemplate.toXmlString();
856            }
857    
858            public void persist()
859                    throws com.liferay.portal.kernel.exception.SystemException {
860                    _journalTemplate.persist();
861            }
862    
863            public java.lang.String getSmallImageType()
864                    throws com.liferay.portal.kernel.exception.PortalException,
865                            com.liferay.portal.kernel.exception.SystemException {
866                    return _journalTemplate.getSmallImageType();
867            }
868    
869            public void setSmallImageType(java.lang.String smallImageType) {
870                    _journalTemplate.setSmallImageType(smallImageType);
871            }
872    
873            /**
874             * @deprecated Renamed to {@link #getWrappedModel}
875             */
876            public JournalTemplate getWrappedJournalTemplate() {
877                    return _journalTemplate;
878            }
879    
880            public JournalTemplate getWrappedModel() {
881                    return _journalTemplate;
882            }
883    
884            public void resetOriginalValues() {
885                    _journalTemplate.resetOriginalValues();
886            }
887    
888            private JournalTemplate _journalTemplate;
889    }