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