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