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 JournalArticle}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       JournalArticle
024     * @generated
025     */
026    public class JournalArticleWrapper implements JournalArticle {
027            public JournalArticleWrapper(JournalArticle journalArticle) {
028                    _journalArticle = journalArticle;
029            }
030    
031            /**
032            * Gets the primary key of this journal article.
033            *
034            * @return the primary key of this journal article
035            */
036            public long getPrimaryKey() {
037                    return _journalArticle.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this journal article
042            *
043            * @param pk the primary key of this journal article
044            */
045            public void setPrimaryKey(long pk) {
046                    _journalArticle.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this journal article.
051            *
052            * @return the uuid of this journal article
053            */
054            public java.lang.String getUuid() {
055                    return _journalArticle.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this journal article.
060            *
061            * @param uuid the uuid of this journal article
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _journalArticle.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the id of this journal article.
069            *
070            * @return the id of this journal article
071            */
072            public long getId() {
073                    return _journalArticle.getId();
074            }
075    
076            /**
077            * Sets the id of this journal article.
078            *
079            * @param id the id of this journal article
080            */
081            public void setId(long id) {
082                    _journalArticle.setId(id);
083            }
084    
085            /**
086            * Gets the resource prim key of this journal article.
087            *
088            * @return the resource prim key of this journal article
089            */
090            public long getResourcePrimKey() {
091                    return _journalArticle.getResourcePrimKey();
092            }
093    
094            /**
095            * Sets the resource prim key of this journal article.
096            *
097            * @param resourcePrimKey the resource prim key of this journal article
098            */
099            public void setResourcePrimKey(long resourcePrimKey) {
100                    _journalArticle.setResourcePrimKey(resourcePrimKey);
101            }
102    
103            /**
104            * Gets the group id of this journal article.
105            *
106            * @return the group id of this journal article
107            */
108            public long getGroupId() {
109                    return _journalArticle.getGroupId();
110            }
111    
112            /**
113            * Sets the group id of this journal article.
114            *
115            * @param groupId the group id of this journal article
116            */
117            public void setGroupId(long groupId) {
118                    _journalArticle.setGroupId(groupId);
119            }
120    
121            /**
122            * Gets the company id of this journal article.
123            *
124            * @return the company id of this journal article
125            */
126            public long getCompanyId() {
127                    return _journalArticle.getCompanyId();
128            }
129    
130            /**
131            * Sets the company id of this journal article.
132            *
133            * @param companyId the company id of this journal article
134            */
135            public void setCompanyId(long companyId) {
136                    _journalArticle.setCompanyId(companyId);
137            }
138    
139            /**
140            * Gets the user id of this journal article.
141            *
142            * @return the user id of this journal article
143            */
144            public long getUserId() {
145                    return _journalArticle.getUserId();
146            }
147    
148            /**
149            * Sets the user id of this journal article.
150            *
151            * @param userId the user id of this journal article
152            */
153            public void setUserId(long userId) {
154                    _journalArticle.setUserId(userId);
155            }
156    
157            /**
158            * Gets the user uuid of this journal article.
159            *
160            * @return the user uuid of this journal article
161            * @throws SystemException if a system exception occurred
162            */
163            public java.lang.String getUserUuid()
164                    throws com.liferay.portal.kernel.exception.SystemException {
165                    return _journalArticle.getUserUuid();
166            }
167    
168            /**
169            * Sets the user uuid of this journal article.
170            *
171            * @param userUuid the user uuid of this journal article
172            */
173            public void setUserUuid(java.lang.String userUuid) {
174                    _journalArticle.setUserUuid(userUuid);
175            }
176    
177            /**
178            * Gets the user name of this journal article.
179            *
180            * @return the user name of this journal article
181            */
182            public java.lang.String getUserName() {
183                    return _journalArticle.getUserName();
184            }
185    
186            /**
187            * Sets the user name of this journal article.
188            *
189            * @param userName the user name of this journal article
190            */
191            public void setUserName(java.lang.String userName) {
192                    _journalArticle.setUserName(userName);
193            }
194    
195            /**
196            * Gets the create date of this journal article.
197            *
198            * @return the create date of this journal article
199            */
200            public java.util.Date getCreateDate() {
201                    return _journalArticle.getCreateDate();
202            }
203    
204            /**
205            * Sets the create date of this journal article.
206            *
207            * @param createDate the create date of this journal article
208            */
209            public void setCreateDate(java.util.Date createDate) {
210                    _journalArticle.setCreateDate(createDate);
211            }
212    
213            /**
214            * Gets the modified date of this journal article.
215            *
216            * @return the modified date of this journal article
217            */
218            public java.util.Date getModifiedDate() {
219                    return _journalArticle.getModifiedDate();
220            }
221    
222            /**
223            * Sets the modified date of this journal article.
224            *
225            * @param modifiedDate the modified date of this journal article
226            */
227            public void setModifiedDate(java.util.Date modifiedDate) {
228                    _journalArticle.setModifiedDate(modifiedDate);
229            }
230    
231            /**
232            * Gets the article id of this journal article.
233            *
234            * @return the article id of this journal article
235            */
236            public java.lang.String getArticleId() {
237                    return _journalArticle.getArticleId();
238            }
239    
240            /**
241            * Sets the article id of this journal article.
242            *
243            * @param articleId the article id of this journal article
244            */
245            public void setArticleId(java.lang.String articleId) {
246                    _journalArticle.setArticleId(articleId);
247            }
248    
249            /**
250            * Gets the version of this journal article.
251            *
252            * @return the version of this journal article
253            */
254            public double getVersion() {
255                    return _journalArticle.getVersion();
256            }
257    
258            /**
259            * Sets the version of this journal article.
260            *
261            * @param version the version of this journal article
262            */
263            public void setVersion(double version) {
264                    _journalArticle.setVersion(version);
265            }
266    
267            /**
268            * Gets the title of this journal article.
269            *
270            * @return the title of this journal article
271            */
272            public java.lang.String getTitle() {
273                    return _journalArticle.getTitle();
274            }
275    
276            /**
277            * Sets the title of this journal article.
278            *
279            * @param title the title of this journal article
280            */
281            public void setTitle(java.lang.String title) {
282                    _journalArticle.setTitle(title);
283            }
284    
285            /**
286            * Gets the url title of this journal article.
287            *
288            * @return the url title of this journal article
289            */
290            public java.lang.String getUrlTitle() {
291                    return _journalArticle.getUrlTitle();
292            }
293    
294            /**
295            * Sets the url title of this journal article.
296            *
297            * @param urlTitle the url title of this journal article
298            */
299            public void setUrlTitle(java.lang.String urlTitle) {
300                    _journalArticle.setUrlTitle(urlTitle);
301            }
302    
303            /**
304            * Gets the description of this journal article.
305            *
306            * @return the description of this journal article
307            */
308            public java.lang.String getDescription() {
309                    return _journalArticle.getDescription();
310            }
311    
312            /**
313            * Sets the description of this journal article.
314            *
315            * @param description the description of this journal article
316            */
317            public void setDescription(java.lang.String description) {
318                    _journalArticle.setDescription(description);
319            }
320    
321            /**
322            * Gets the content of this journal article.
323            *
324            * @return the content of this journal article
325            */
326            public java.lang.String getContent() {
327                    return _journalArticle.getContent();
328            }
329    
330            /**
331            * Sets the content of this journal article.
332            *
333            * @param content the content of this journal article
334            */
335            public void setContent(java.lang.String content) {
336                    _journalArticle.setContent(content);
337            }
338    
339            /**
340            * Gets the type of this journal article.
341            *
342            * @return the type of this journal article
343            */
344            public java.lang.String getType() {
345                    return _journalArticle.getType();
346            }
347    
348            /**
349            * Sets the type of this journal article.
350            *
351            * @param type the type of this journal article
352            */
353            public void setType(java.lang.String type) {
354                    _journalArticle.setType(type);
355            }
356    
357            /**
358            * Gets the structure id of this journal article.
359            *
360            * @return the structure id of this journal article
361            */
362            public java.lang.String getStructureId() {
363                    return _journalArticle.getStructureId();
364            }
365    
366            /**
367            * Sets the structure id of this journal article.
368            *
369            * @param structureId the structure id of this journal article
370            */
371            public void setStructureId(java.lang.String structureId) {
372                    _journalArticle.setStructureId(structureId);
373            }
374    
375            /**
376            * Gets the template id of this journal article.
377            *
378            * @return the template id of this journal article
379            */
380            public java.lang.String getTemplateId() {
381                    return _journalArticle.getTemplateId();
382            }
383    
384            /**
385            * Sets the template id of this journal article.
386            *
387            * @param templateId the template id of this journal article
388            */
389            public void setTemplateId(java.lang.String templateId) {
390                    _journalArticle.setTemplateId(templateId);
391            }
392    
393            /**
394            * Gets the display date of this journal article.
395            *
396            * @return the display date of this journal article
397            */
398            public java.util.Date getDisplayDate() {
399                    return _journalArticle.getDisplayDate();
400            }
401    
402            /**
403            * Sets the display date of this journal article.
404            *
405            * @param displayDate the display date of this journal article
406            */
407            public void setDisplayDate(java.util.Date displayDate) {
408                    _journalArticle.setDisplayDate(displayDate);
409            }
410    
411            /**
412            * Gets the expiration date of this journal article.
413            *
414            * @return the expiration date of this journal article
415            */
416            public java.util.Date getExpirationDate() {
417                    return _journalArticle.getExpirationDate();
418            }
419    
420            /**
421            * Sets the expiration date of this journal article.
422            *
423            * @param expirationDate the expiration date of this journal article
424            */
425            public void setExpirationDate(java.util.Date expirationDate) {
426                    _journalArticle.setExpirationDate(expirationDate);
427            }
428    
429            /**
430            * Gets the review date of this journal article.
431            *
432            * @return the review date of this journal article
433            */
434            public java.util.Date getReviewDate() {
435                    return _journalArticle.getReviewDate();
436            }
437    
438            /**
439            * Sets the review date of this journal article.
440            *
441            * @param reviewDate the review date of this journal article
442            */
443            public void setReviewDate(java.util.Date reviewDate) {
444                    _journalArticle.setReviewDate(reviewDate);
445            }
446    
447            /**
448            * Gets the indexable of this journal article.
449            *
450            * @return the indexable of this journal article
451            */
452            public boolean getIndexable() {
453                    return _journalArticle.getIndexable();
454            }
455    
456            /**
457            * Determines whether this journal article is indexable.
458            *
459            * @return whether this journal article is indexable
460            */
461            public boolean isIndexable() {
462                    return _journalArticle.isIndexable();
463            }
464    
465            /**
466            * Sets whether this {$entity.humanName} is indexable.
467            *
468            * @param indexable the indexable of this journal article
469            */
470            public void setIndexable(boolean indexable) {
471                    _journalArticle.setIndexable(indexable);
472            }
473    
474            /**
475            * Gets the small image of this journal article.
476            *
477            * @return the small image of this journal article
478            */
479            public boolean getSmallImage() {
480                    return _journalArticle.getSmallImage();
481            }
482    
483            /**
484            * Determines whether this journal article is small image.
485            *
486            * @return whether this journal article is small image
487            */
488            public boolean isSmallImage() {
489                    return _journalArticle.isSmallImage();
490            }
491    
492            /**
493            * Sets whether this {$entity.humanName} is small image.
494            *
495            * @param smallImage the small image of this journal article
496            */
497            public void setSmallImage(boolean smallImage) {
498                    _journalArticle.setSmallImage(smallImage);
499            }
500    
501            /**
502            * Gets the small image id of this journal article.
503            *
504            * @return the small image id of this journal article
505            */
506            public long getSmallImageId() {
507                    return _journalArticle.getSmallImageId();
508            }
509    
510            /**
511            * Sets the small image id of this journal article.
512            *
513            * @param smallImageId the small image id of this journal article
514            */
515            public void setSmallImageId(long smallImageId) {
516                    _journalArticle.setSmallImageId(smallImageId);
517            }
518    
519            /**
520            * Gets the small image u r l of this journal article.
521            *
522            * @return the small image u r l of this journal article
523            */
524            public java.lang.String getSmallImageURL() {
525                    return _journalArticle.getSmallImageURL();
526            }
527    
528            /**
529            * Sets the small image u r l of this journal article.
530            *
531            * @param smallImageURL the small image u r l of this journal article
532            */
533            public void setSmallImageURL(java.lang.String smallImageURL) {
534                    _journalArticle.setSmallImageURL(smallImageURL);
535            }
536    
537            /**
538            * Gets the status of this journal article.
539            *
540            * @return the status of this journal article
541            */
542            public int getStatus() {
543                    return _journalArticle.getStatus();
544            }
545    
546            /**
547            * Sets the status of this journal article.
548            *
549            * @param status the status of this journal article
550            */
551            public void setStatus(int status) {
552                    _journalArticle.setStatus(status);
553            }
554    
555            /**
556            * Gets the status by user id of this journal article.
557            *
558            * @return the status by user id of this journal article
559            */
560            public long getStatusByUserId() {
561                    return _journalArticle.getStatusByUserId();
562            }
563    
564            /**
565            * Sets the status by user id of this journal article.
566            *
567            * @param statusByUserId the status by user id of this journal article
568            */
569            public void setStatusByUserId(long statusByUserId) {
570                    _journalArticle.setStatusByUserId(statusByUserId);
571            }
572    
573            /**
574            * Gets the status by user uuid of this journal article.
575            *
576            * @return the status by user uuid of this journal article
577            * @throws SystemException if a system exception occurred
578            */
579            public java.lang.String getStatusByUserUuid()
580                    throws com.liferay.portal.kernel.exception.SystemException {
581                    return _journalArticle.getStatusByUserUuid();
582            }
583    
584            /**
585            * Sets the status by user uuid of this journal article.
586            *
587            * @param statusByUserUuid the status by user uuid of this journal article
588            */
589            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
590                    _journalArticle.setStatusByUserUuid(statusByUserUuid);
591            }
592    
593            /**
594            * Gets the status by user name of this journal article.
595            *
596            * @return the status by user name of this journal article
597            */
598            public java.lang.String getStatusByUserName() {
599                    return _journalArticle.getStatusByUserName();
600            }
601    
602            /**
603            * Sets the status by user name of this journal article.
604            *
605            * @param statusByUserName the status by user name of this journal article
606            */
607            public void setStatusByUserName(java.lang.String statusByUserName) {
608                    _journalArticle.setStatusByUserName(statusByUserName);
609            }
610    
611            /**
612            * Gets the status date of this journal article.
613            *
614            * @return the status date of this journal article
615            */
616            public java.util.Date getStatusDate() {
617                    return _journalArticle.getStatusDate();
618            }
619    
620            /**
621            * Sets the status date of this journal article.
622            *
623            * @param statusDate the status date of this journal article
624            */
625            public void setStatusDate(java.util.Date statusDate) {
626                    _journalArticle.setStatusDate(statusDate);
627            }
628    
629            /**
630            * @deprecated {@link #isApproved}
631            */
632            public boolean getApproved() {
633                    return _journalArticle.getApproved();
634            }
635    
636            /**
637            * Determines whether this journal article is approved.
638            *
639            * @return true if this journal article is approved; false otherwise
640            */
641            public boolean isApproved() {
642                    return _journalArticle.isApproved();
643            }
644    
645            /**
646            * Determines whether this journal article is a draft.
647            *
648            * @return true if this journal article is a draft; false otherwise
649            */
650            public boolean isDraft() {
651                    return _journalArticle.isDraft();
652            }
653    
654            /**
655            * Determines whether this journal article is expired.
656            *
657            * @return true if this journal article is expired; false otherwise
658            */
659            public boolean isExpired() {
660                    return _journalArticle.isExpired();
661            }
662    
663            /**
664            * Determines whether this journal article is pending.
665            *
666            * @return true if this journal article is pending; false otherwise
667            */
668            public boolean isPending() {
669                    return _journalArticle.isPending();
670            }
671    
672            public boolean isNew() {
673                    return _journalArticle.isNew();
674            }
675    
676            public void setNew(boolean n) {
677                    _journalArticle.setNew(n);
678            }
679    
680            public boolean isCachedModel() {
681                    return _journalArticle.isCachedModel();
682            }
683    
684            public void setCachedModel(boolean cachedModel) {
685                    _journalArticle.setCachedModel(cachedModel);
686            }
687    
688            public boolean isEscapedModel() {
689                    return _journalArticle.isEscapedModel();
690            }
691    
692            public void setEscapedModel(boolean escapedModel) {
693                    _journalArticle.setEscapedModel(escapedModel);
694            }
695    
696            public java.io.Serializable getPrimaryKeyObj() {
697                    return _journalArticle.getPrimaryKeyObj();
698            }
699    
700            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
701                    return _journalArticle.getExpandoBridge();
702            }
703    
704            public void setExpandoBridgeAttributes(
705                    com.liferay.portal.service.ServiceContext serviceContext) {
706                    _journalArticle.setExpandoBridgeAttributes(serviceContext);
707            }
708    
709            public java.lang.Object clone() {
710                    return _journalArticle.clone();
711            }
712    
713            public int compareTo(
714                    com.liferay.portlet.journal.model.JournalArticle journalArticle) {
715                    return _journalArticle.compareTo(journalArticle);
716            }
717    
718            public int hashCode() {
719                    return _journalArticle.hashCode();
720            }
721    
722            public com.liferay.portlet.journal.model.JournalArticle toEscapedModel() {
723                    return _journalArticle.toEscapedModel();
724            }
725    
726            public java.lang.String toString() {
727                    return _journalArticle.toString();
728            }
729    
730            public java.lang.String toXmlString() {
731                    return _journalArticle.toXmlString();
732            }
733    
734            public com.liferay.portlet.journal.model.JournalArticleResource getArticleResource()
735                    throws com.liferay.portal.kernel.exception.PortalException,
736                            com.liferay.portal.kernel.exception.SystemException {
737                    return _journalArticle.getArticleResource();
738            }
739    
740            public java.lang.String getArticleResourceUuid()
741                    throws com.liferay.portal.kernel.exception.PortalException,
742                            com.liferay.portal.kernel.exception.SystemException {
743                    return _journalArticle.getArticleResourceUuid();
744            }
745    
746            public java.lang.String[] getAvailableLocales() {
747                    return _journalArticle.getAvailableLocales();
748            }
749    
750            public java.lang.String getContentByLocale(java.lang.String languageId) {
751                    return _journalArticle.getContentByLocale(languageId);
752            }
753    
754            public java.lang.String getDefaultLocale() {
755                    return _journalArticle.getDefaultLocale();
756            }
757    
758            public java.lang.String getSmallImageType()
759                    throws com.liferay.portal.kernel.exception.PortalException,
760                            com.liferay.portal.kernel.exception.SystemException {
761                    return _journalArticle.getSmallImageType();
762            }
763    
764            public boolean isTemplateDriven() {
765                    return _journalArticle.isTemplateDriven();
766            }
767    
768            public void setSmallImageType(java.lang.String smallImageType) {
769                    _journalArticle.setSmallImageType(smallImageType);
770            }
771    
772            public JournalArticle getWrappedJournalArticle() {
773                    return _journalArticle;
774            }
775    
776            private JournalArticle _journalArticle;
777    }