001    /**
002     * Copyright (c) 2000-2010 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    /**
018     * <p>
019     * This class is a wrapper for {@link JournalTemplate}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       JournalTemplate
024     * @generated
025     */
026    public class JournalTemplateWrapper implements JournalTemplate {
027            public JournalTemplateWrapper(JournalTemplate journalTemplate) {
028                    _journalTemplate = journalTemplate;
029            }
030    
031            /**
032            * Gets the primary key of this journal template.
033            *
034            * @return the primary key of this journal template
035            */
036            public long getPrimaryKey() {
037                    return _journalTemplate.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this journal template
042            *
043            * @param pk the primary key of this journal template
044            */
045            public void setPrimaryKey(long pk) {
046                    _journalTemplate.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this journal template.
051            *
052            * @return the uuid of this journal template
053            */
054            public java.lang.String getUuid() {
055                    return _journalTemplate.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this journal template.
060            *
061            * @param uuid the uuid of this journal template
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _journalTemplate.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the id of this journal template.
069            *
070            * @return the id of this journal template
071            */
072            public long getId() {
073                    return _journalTemplate.getId();
074            }
075    
076            /**
077            * Sets the id of this journal template.
078            *
079            * @param id the id of this journal template
080            */
081            public void setId(long id) {
082                    _journalTemplate.setId(id);
083            }
084    
085            /**
086            * Gets the group id of this journal template.
087            *
088            * @return the group id of this journal template
089            */
090            public long getGroupId() {
091                    return _journalTemplate.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this journal template.
096            *
097            * @param groupId the group id of this journal template
098            */
099            public void setGroupId(long groupId) {
100                    _journalTemplate.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this journal template.
105            *
106            * @return the company id of this journal template
107            */
108            public long getCompanyId() {
109                    return _journalTemplate.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this journal template.
114            *
115            * @param companyId the company id of this journal template
116            */
117            public void setCompanyId(long companyId) {
118                    _journalTemplate.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the user id of this journal template.
123            *
124            * @return the user id of this journal template
125            */
126            public long getUserId() {
127                    return _journalTemplate.getUserId();
128            }
129    
130            /**
131            * Sets the user id of this journal template.
132            *
133            * @param userId the user id of this journal template
134            */
135            public void setUserId(long userId) {
136                    _journalTemplate.setUserId(userId);
137            }
138    
139            /**
140            * Gets the user uuid of this journal template.
141            *
142            * @return the user uuid of this journal template
143            * @throws SystemException if a system exception occurred
144            */
145            public java.lang.String getUserUuid()
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _journalTemplate.getUserUuid();
148            }
149    
150            /**
151            * Sets the user uuid of this journal template.
152            *
153            * @param userUuid the user uuid of this journal template
154            */
155            public void setUserUuid(java.lang.String userUuid) {
156                    _journalTemplate.setUserUuid(userUuid);
157            }
158    
159            /**
160            * Gets the user name of this journal template.
161            *
162            * @return the user name of this journal template
163            */
164            public java.lang.String getUserName() {
165                    return _journalTemplate.getUserName();
166            }
167    
168            /**
169            * Sets the user name of this journal template.
170            *
171            * @param userName the user name of this journal template
172            */
173            public void setUserName(java.lang.String userName) {
174                    _journalTemplate.setUserName(userName);
175            }
176    
177            /**
178            * Gets the create date of this journal template.
179            *
180            * @return the create date of this journal template
181            */
182            public java.util.Date getCreateDate() {
183                    return _journalTemplate.getCreateDate();
184            }
185    
186            /**
187            * Sets the create date of this journal template.
188            *
189            * @param createDate the create date of this journal template
190            */
191            public void setCreateDate(java.util.Date createDate) {
192                    _journalTemplate.setCreateDate(createDate);
193            }
194    
195            /**
196            * Gets the modified date of this journal template.
197            *
198            * @return the modified date of this journal template
199            */
200            public java.util.Date getModifiedDate() {
201                    return _journalTemplate.getModifiedDate();
202            }
203    
204            /**
205            * Sets the modified date of this journal template.
206            *
207            * @param modifiedDate the modified date of this journal template
208            */
209            public void setModifiedDate(java.util.Date modifiedDate) {
210                    _journalTemplate.setModifiedDate(modifiedDate);
211            }
212    
213            /**
214            * Gets the template id of this journal template.
215            *
216            * @return the template id of this journal template
217            */
218            public java.lang.String getTemplateId() {
219                    return _journalTemplate.getTemplateId();
220            }
221    
222            /**
223            * Sets the template id of this journal template.
224            *
225            * @param templateId the template id of this journal template
226            */
227            public void setTemplateId(java.lang.String templateId) {
228                    _journalTemplate.setTemplateId(templateId);
229            }
230    
231            /**
232            * Gets the structure id of this journal template.
233            *
234            * @return the structure id of this journal template
235            */
236            public java.lang.String getStructureId() {
237                    return _journalTemplate.getStructureId();
238            }
239    
240            /**
241            * Sets the structure id of this journal template.
242            *
243            * @param structureId the structure id of this journal template
244            */
245            public void setStructureId(java.lang.String structureId) {
246                    _journalTemplate.setStructureId(structureId);
247            }
248    
249            /**
250            * Gets the name of this journal template.
251            *
252            * @return the name of this journal template
253            */
254            public java.lang.String getName() {
255                    return _journalTemplate.getName();
256            }
257    
258            /**
259            * Sets the name of this journal template.
260            *
261            * @param name the name of this journal template
262            */
263            public void setName(java.lang.String name) {
264                    _journalTemplate.setName(name);
265            }
266    
267            /**
268            * Gets the description of this journal template.
269            *
270            * @return the description of this journal template
271            */
272            public java.lang.String getDescription() {
273                    return _journalTemplate.getDescription();
274            }
275    
276            /**
277            * Sets the description of this journal template.
278            *
279            * @param description the description of this journal template
280            */
281            public void setDescription(java.lang.String description) {
282                    _journalTemplate.setDescription(description);
283            }
284    
285            /**
286            * Gets the xsl of this journal template.
287            *
288            * @return the xsl of this journal template
289            */
290            public java.lang.String getXsl() {
291                    return _journalTemplate.getXsl();
292            }
293    
294            /**
295            * Sets the xsl of this journal template.
296            *
297            * @param xsl the xsl of this journal template
298            */
299            public void setXsl(java.lang.String xsl) {
300                    _journalTemplate.setXsl(xsl);
301            }
302    
303            /**
304            * Gets the lang type of this journal template.
305            *
306            * @return the lang type of this journal template
307            */
308            public java.lang.String getLangType() {
309                    return _journalTemplate.getLangType();
310            }
311    
312            /**
313            * Sets the lang type of this journal template.
314            *
315            * @param langType the lang type of this journal template
316            */
317            public void setLangType(java.lang.String langType) {
318                    _journalTemplate.setLangType(langType);
319            }
320    
321            /**
322            * Gets the cacheable of this journal template.
323            *
324            * @return the cacheable of this journal template
325            */
326            public boolean getCacheable() {
327                    return _journalTemplate.getCacheable();
328            }
329    
330            /**
331            * Determines whether this journal template is cacheable.
332            *
333            * @return whether this journal template is cacheable
334            */
335            public boolean isCacheable() {
336                    return _journalTemplate.isCacheable();
337            }
338    
339            /**
340            * Sets whether this {$entity.humanName} is cacheable.
341            *
342            * @param cacheable the cacheable of this journal template
343            */
344            public void setCacheable(boolean cacheable) {
345                    _journalTemplate.setCacheable(cacheable);
346            }
347    
348            /**
349            * Gets the small image of this journal template.
350            *
351            * @return the small image of this journal template
352            */
353            public boolean getSmallImage() {
354                    return _journalTemplate.getSmallImage();
355            }
356    
357            /**
358            * Determines whether this journal template is small image.
359            *
360            * @return whether this journal template is small image
361            */
362            public boolean isSmallImage() {
363                    return _journalTemplate.isSmallImage();
364            }
365    
366            /**
367            * Sets whether this {$entity.humanName} is small image.
368            *
369            * @param smallImage the small image of this journal template
370            */
371            public void setSmallImage(boolean smallImage) {
372                    _journalTemplate.setSmallImage(smallImage);
373            }
374    
375            /**
376            * Gets the small image id of this journal template.
377            *
378            * @return the small image id of this journal template
379            */
380            public long getSmallImageId() {
381                    return _journalTemplate.getSmallImageId();
382            }
383    
384            /**
385            * Sets the small image id of this journal template.
386            *
387            * @param smallImageId the small image id of this journal template
388            */
389            public void setSmallImageId(long smallImageId) {
390                    _journalTemplate.setSmallImageId(smallImageId);
391            }
392    
393            /**
394            * Gets the small image u r l of this journal template.
395            *
396            * @return the small image u r l of this journal template
397            */
398            public java.lang.String getSmallImageURL() {
399                    return _journalTemplate.getSmallImageURL();
400            }
401    
402            /**
403            * Sets the small image u r l of this journal template.
404            *
405            * @param smallImageURL the small image u r l of this journal template
406            */
407            public void setSmallImageURL(java.lang.String smallImageURL) {
408                    _journalTemplate.setSmallImageURL(smallImageURL);
409            }
410    
411            public boolean isNew() {
412                    return _journalTemplate.isNew();
413            }
414    
415            public void setNew(boolean n) {
416                    _journalTemplate.setNew(n);
417            }
418    
419            public boolean isCachedModel() {
420                    return _journalTemplate.isCachedModel();
421            }
422    
423            public void setCachedModel(boolean cachedModel) {
424                    _journalTemplate.setCachedModel(cachedModel);
425            }
426    
427            public boolean isEscapedModel() {
428                    return _journalTemplate.isEscapedModel();
429            }
430    
431            public void setEscapedModel(boolean escapedModel) {
432                    _journalTemplate.setEscapedModel(escapedModel);
433            }
434    
435            public java.io.Serializable getPrimaryKeyObj() {
436                    return _journalTemplate.getPrimaryKeyObj();
437            }
438    
439            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
440                    return _journalTemplate.getExpandoBridge();
441            }
442    
443            public void setExpandoBridgeAttributes(
444                    com.liferay.portal.service.ServiceContext serviceContext) {
445                    _journalTemplate.setExpandoBridgeAttributes(serviceContext);
446            }
447    
448            public java.lang.Object clone() {
449                    return _journalTemplate.clone();
450            }
451    
452            public int compareTo(
453                    com.liferay.portlet.journal.model.JournalTemplate journalTemplate) {
454                    return _journalTemplate.compareTo(journalTemplate);
455            }
456    
457            public int hashCode() {
458                    return _journalTemplate.hashCode();
459            }
460    
461            public com.liferay.portlet.journal.model.JournalTemplate toEscapedModel() {
462                    return _journalTemplate.toEscapedModel();
463            }
464    
465            public java.lang.String toString() {
466                    return _journalTemplate.toString();
467            }
468    
469            public java.lang.String toXmlString() {
470                    return _journalTemplate.toXmlString();
471            }
472    
473            public java.lang.String getSmallImageType()
474                    throws com.liferay.portal.kernel.exception.PortalException,
475                            com.liferay.portal.kernel.exception.SystemException {
476                    return _journalTemplate.getSmallImageType();
477            }
478    
479            public void setSmallImageType(java.lang.String smallImageType) {
480                    _journalTemplate.setSmallImageType(smallImageType);
481            }
482    
483            public JournalTemplate getWrappedJournalTemplate() {
484                    return _journalTemplate;
485            }
486    
487            private JournalTemplate _journalTemplate;
488    }