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.wiki.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link WikiPage}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       WikiPage
024     * @generated
025     */
026    public class WikiPageWrapper implements WikiPage {
027            public WikiPageWrapper(WikiPage wikiPage) {
028                    _wikiPage = wikiPage;
029            }
030    
031            /**
032            * Gets the primary key of this wiki page.
033            *
034            * @return the primary key of this wiki page
035            */
036            public long getPrimaryKey() {
037                    return _wikiPage.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this wiki page
042            *
043            * @param pk the primary key of this wiki page
044            */
045            public void setPrimaryKey(long pk) {
046                    _wikiPage.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this wiki page.
051            *
052            * @return the uuid of this wiki page
053            */
054            public java.lang.String getUuid() {
055                    return _wikiPage.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this wiki page.
060            *
061            * @param uuid the uuid of this wiki page
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _wikiPage.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the page id of this wiki page.
069            *
070            * @return the page id of this wiki page
071            */
072            public long getPageId() {
073                    return _wikiPage.getPageId();
074            }
075    
076            /**
077            * Sets the page id of this wiki page.
078            *
079            * @param pageId the page id of this wiki page
080            */
081            public void setPageId(long pageId) {
082                    _wikiPage.setPageId(pageId);
083            }
084    
085            /**
086            * Gets the resource prim key of this wiki page.
087            *
088            * @return the resource prim key of this wiki page
089            */
090            public long getResourcePrimKey() {
091                    return _wikiPage.getResourcePrimKey();
092            }
093    
094            /**
095            * Sets the resource prim key of this wiki page.
096            *
097            * @param resourcePrimKey the resource prim key of this wiki page
098            */
099            public void setResourcePrimKey(long resourcePrimKey) {
100                    _wikiPage.setResourcePrimKey(resourcePrimKey);
101            }
102    
103            /**
104            * Gets the group id of this wiki page.
105            *
106            * @return the group id of this wiki page
107            */
108            public long getGroupId() {
109                    return _wikiPage.getGroupId();
110            }
111    
112            /**
113            * Sets the group id of this wiki page.
114            *
115            * @param groupId the group id of this wiki page
116            */
117            public void setGroupId(long groupId) {
118                    _wikiPage.setGroupId(groupId);
119            }
120    
121            /**
122            * Gets the company id of this wiki page.
123            *
124            * @return the company id of this wiki page
125            */
126            public long getCompanyId() {
127                    return _wikiPage.getCompanyId();
128            }
129    
130            /**
131            * Sets the company id of this wiki page.
132            *
133            * @param companyId the company id of this wiki page
134            */
135            public void setCompanyId(long companyId) {
136                    _wikiPage.setCompanyId(companyId);
137            }
138    
139            /**
140            * Gets the user id of this wiki page.
141            *
142            * @return the user id of this wiki page
143            */
144            public long getUserId() {
145                    return _wikiPage.getUserId();
146            }
147    
148            /**
149            * Sets the user id of this wiki page.
150            *
151            * @param userId the user id of this wiki page
152            */
153            public void setUserId(long userId) {
154                    _wikiPage.setUserId(userId);
155            }
156    
157            /**
158            * Gets the user uuid of this wiki page.
159            *
160            * @return the user uuid of this wiki page
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 _wikiPage.getUserUuid();
166            }
167    
168            /**
169            * Sets the user uuid of this wiki page.
170            *
171            * @param userUuid the user uuid of this wiki page
172            */
173            public void setUserUuid(java.lang.String userUuid) {
174                    _wikiPage.setUserUuid(userUuid);
175            }
176    
177            /**
178            * Gets the user name of this wiki page.
179            *
180            * @return the user name of this wiki page
181            */
182            public java.lang.String getUserName() {
183                    return _wikiPage.getUserName();
184            }
185    
186            /**
187            * Sets the user name of this wiki page.
188            *
189            * @param userName the user name of this wiki page
190            */
191            public void setUserName(java.lang.String userName) {
192                    _wikiPage.setUserName(userName);
193            }
194    
195            /**
196            * Gets the create date of this wiki page.
197            *
198            * @return the create date of this wiki page
199            */
200            public java.util.Date getCreateDate() {
201                    return _wikiPage.getCreateDate();
202            }
203    
204            /**
205            * Sets the create date of this wiki page.
206            *
207            * @param createDate the create date of this wiki page
208            */
209            public void setCreateDate(java.util.Date createDate) {
210                    _wikiPage.setCreateDate(createDate);
211            }
212    
213            /**
214            * Gets the modified date of this wiki page.
215            *
216            * @return the modified date of this wiki page
217            */
218            public java.util.Date getModifiedDate() {
219                    return _wikiPage.getModifiedDate();
220            }
221    
222            /**
223            * Sets the modified date of this wiki page.
224            *
225            * @param modifiedDate the modified date of this wiki page
226            */
227            public void setModifiedDate(java.util.Date modifiedDate) {
228                    _wikiPage.setModifiedDate(modifiedDate);
229            }
230    
231            /**
232            * Gets the node id of this wiki page.
233            *
234            * @return the node id of this wiki page
235            */
236            public long getNodeId() {
237                    return _wikiPage.getNodeId();
238            }
239    
240            /**
241            * Sets the node id of this wiki page.
242            *
243            * @param nodeId the node id of this wiki page
244            */
245            public void setNodeId(long nodeId) {
246                    _wikiPage.setNodeId(nodeId);
247            }
248    
249            /**
250            * Gets the title of this wiki page.
251            *
252            * @return the title of this wiki page
253            */
254            public java.lang.String getTitle() {
255                    return _wikiPage.getTitle();
256            }
257    
258            /**
259            * Sets the title of this wiki page.
260            *
261            * @param title the title of this wiki page
262            */
263            public void setTitle(java.lang.String title) {
264                    _wikiPage.setTitle(title);
265            }
266    
267            /**
268            * Gets the version of this wiki page.
269            *
270            * @return the version of this wiki page
271            */
272            public double getVersion() {
273                    return _wikiPage.getVersion();
274            }
275    
276            /**
277            * Sets the version of this wiki page.
278            *
279            * @param version the version of this wiki page
280            */
281            public void setVersion(double version) {
282                    _wikiPage.setVersion(version);
283            }
284    
285            /**
286            * Gets the minor edit of this wiki page.
287            *
288            * @return the minor edit of this wiki page
289            */
290            public boolean getMinorEdit() {
291                    return _wikiPage.getMinorEdit();
292            }
293    
294            /**
295            * Determines whether this wiki page is minor edit.
296            *
297            * @return whether this wiki page is minor edit
298            */
299            public boolean isMinorEdit() {
300                    return _wikiPage.isMinorEdit();
301            }
302    
303            /**
304            * Sets whether this {$entity.humanName} is minor edit.
305            *
306            * @param minorEdit the minor edit of this wiki page
307            */
308            public void setMinorEdit(boolean minorEdit) {
309                    _wikiPage.setMinorEdit(minorEdit);
310            }
311    
312            /**
313            * Gets the content of this wiki page.
314            *
315            * @return the content of this wiki page
316            */
317            public java.lang.String getContent() {
318                    return _wikiPage.getContent();
319            }
320    
321            /**
322            * Sets the content of this wiki page.
323            *
324            * @param content the content of this wiki page
325            */
326            public void setContent(java.lang.String content) {
327                    _wikiPage.setContent(content);
328            }
329    
330            /**
331            * Gets the summary of this wiki page.
332            *
333            * @return the summary of this wiki page
334            */
335            public java.lang.String getSummary() {
336                    return _wikiPage.getSummary();
337            }
338    
339            /**
340            * Sets the summary of this wiki page.
341            *
342            * @param summary the summary of this wiki page
343            */
344            public void setSummary(java.lang.String summary) {
345                    _wikiPage.setSummary(summary);
346            }
347    
348            /**
349            * Gets the format of this wiki page.
350            *
351            * @return the format of this wiki page
352            */
353            public java.lang.String getFormat() {
354                    return _wikiPage.getFormat();
355            }
356    
357            /**
358            * Sets the format of this wiki page.
359            *
360            * @param format the format of this wiki page
361            */
362            public void setFormat(java.lang.String format) {
363                    _wikiPage.setFormat(format);
364            }
365    
366            /**
367            * Gets the head of this wiki page.
368            *
369            * @return the head of this wiki page
370            */
371            public boolean getHead() {
372                    return _wikiPage.getHead();
373            }
374    
375            /**
376            * Determines whether this wiki page is head.
377            *
378            * @return whether this wiki page is head
379            */
380            public boolean isHead() {
381                    return _wikiPage.isHead();
382            }
383    
384            /**
385            * Sets whether this {$entity.humanName} is head.
386            *
387            * @param head the head of this wiki page
388            */
389            public void setHead(boolean head) {
390                    _wikiPage.setHead(head);
391            }
392    
393            /**
394            * Gets the parent title of this wiki page.
395            *
396            * @return the parent title of this wiki page
397            */
398            public java.lang.String getParentTitle() {
399                    return _wikiPage.getParentTitle();
400            }
401    
402            /**
403            * Sets the parent title of this wiki page.
404            *
405            * @param parentTitle the parent title of this wiki page
406            */
407            public void setParentTitle(java.lang.String parentTitle) {
408                    _wikiPage.setParentTitle(parentTitle);
409            }
410    
411            /**
412            * Gets the redirect title of this wiki page.
413            *
414            * @return the redirect title of this wiki page
415            */
416            public java.lang.String getRedirectTitle() {
417                    return _wikiPage.getRedirectTitle();
418            }
419    
420            /**
421            * Sets the redirect title of this wiki page.
422            *
423            * @param redirectTitle the redirect title of this wiki page
424            */
425            public void setRedirectTitle(java.lang.String redirectTitle) {
426                    _wikiPage.setRedirectTitle(redirectTitle);
427            }
428    
429            /**
430            * Gets the status of this wiki page.
431            *
432            * @return the status of this wiki page
433            */
434            public int getStatus() {
435                    return _wikiPage.getStatus();
436            }
437    
438            /**
439            * Sets the status of this wiki page.
440            *
441            * @param status the status of this wiki page
442            */
443            public void setStatus(int status) {
444                    _wikiPage.setStatus(status);
445            }
446    
447            /**
448            * Gets the status by user id of this wiki page.
449            *
450            * @return the status by user id of this wiki page
451            */
452            public long getStatusByUserId() {
453                    return _wikiPage.getStatusByUserId();
454            }
455    
456            /**
457            * Sets the status by user id of this wiki page.
458            *
459            * @param statusByUserId the status by user id of this wiki page
460            */
461            public void setStatusByUserId(long statusByUserId) {
462                    _wikiPage.setStatusByUserId(statusByUserId);
463            }
464    
465            /**
466            * Gets the status by user uuid of this wiki page.
467            *
468            * @return the status by user uuid of this wiki page
469            * @throws SystemException if a system exception occurred
470            */
471            public java.lang.String getStatusByUserUuid()
472                    throws com.liferay.portal.kernel.exception.SystemException {
473                    return _wikiPage.getStatusByUserUuid();
474            }
475    
476            /**
477            * Sets the status by user uuid of this wiki page.
478            *
479            * @param statusByUserUuid the status by user uuid of this wiki page
480            */
481            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
482                    _wikiPage.setStatusByUserUuid(statusByUserUuid);
483            }
484    
485            /**
486            * Gets the status by user name of this wiki page.
487            *
488            * @return the status by user name of this wiki page
489            */
490            public java.lang.String getStatusByUserName() {
491                    return _wikiPage.getStatusByUserName();
492            }
493    
494            /**
495            * Sets the status by user name of this wiki page.
496            *
497            * @param statusByUserName the status by user name of this wiki page
498            */
499            public void setStatusByUserName(java.lang.String statusByUserName) {
500                    _wikiPage.setStatusByUserName(statusByUserName);
501            }
502    
503            /**
504            * Gets the status date of this wiki page.
505            *
506            * @return the status date of this wiki page
507            */
508            public java.util.Date getStatusDate() {
509                    return _wikiPage.getStatusDate();
510            }
511    
512            /**
513            * Sets the status date of this wiki page.
514            *
515            * @param statusDate the status date of this wiki page
516            */
517            public void setStatusDate(java.util.Date statusDate) {
518                    _wikiPage.setStatusDate(statusDate);
519            }
520    
521            /**
522            * @deprecated {@link #isApproved}
523            */
524            public boolean getApproved() {
525                    return _wikiPage.getApproved();
526            }
527    
528            /**
529            * Determines whether this wiki page is approved.
530            *
531            * @return true if this wiki page is approved; false otherwise
532            */
533            public boolean isApproved() {
534                    return _wikiPage.isApproved();
535            }
536    
537            /**
538            * Determines whether this wiki page is a draft.
539            *
540            * @return true if this wiki page is a draft; false otherwise
541            */
542            public boolean isDraft() {
543                    return _wikiPage.isDraft();
544            }
545    
546            /**
547            * Determines whether this wiki page is expired.
548            *
549            * @return true if this wiki page is expired; false otherwise
550            */
551            public boolean isExpired() {
552                    return _wikiPage.isExpired();
553            }
554    
555            /**
556            * Determines whether this wiki page is pending.
557            *
558            * @return true if this wiki page is pending; false otherwise
559            */
560            public boolean isPending() {
561                    return _wikiPage.isPending();
562            }
563    
564            public boolean isNew() {
565                    return _wikiPage.isNew();
566            }
567    
568            public void setNew(boolean n) {
569                    _wikiPage.setNew(n);
570            }
571    
572            public boolean isCachedModel() {
573                    return _wikiPage.isCachedModel();
574            }
575    
576            public void setCachedModel(boolean cachedModel) {
577                    _wikiPage.setCachedModel(cachedModel);
578            }
579    
580            public boolean isEscapedModel() {
581                    return _wikiPage.isEscapedModel();
582            }
583    
584            public void setEscapedModel(boolean escapedModel) {
585                    _wikiPage.setEscapedModel(escapedModel);
586            }
587    
588            public java.io.Serializable getPrimaryKeyObj() {
589                    return _wikiPage.getPrimaryKeyObj();
590            }
591    
592            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
593                    return _wikiPage.getExpandoBridge();
594            }
595    
596            public void setExpandoBridgeAttributes(
597                    com.liferay.portal.service.ServiceContext serviceContext) {
598                    _wikiPage.setExpandoBridgeAttributes(serviceContext);
599            }
600    
601            public java.lang.Object clone() {
602                    return _wikiPage.clone();
603            }
604    
605            public int compareTo(com.liferay.portlet.wiki.model.WikiPage wikiPage) {
606                    return _wikiPage.compareTo(wikiPage);
607            }
608    
609            public int hashCode() {
610                    return _wikiPage.hashCode();
611            }
612    
613            public com.liferay.portlet.wiki.model.WikiPage toEscapedModel() {
614                    return _wikiPage.toEscapedModel();
615            }
616    
617            public java.lang.String toString() {
618                    return _wikiPage.toString();
619            }
620    
621            public java.lang.String toXmlString() {
622                    return _wikiPage.toXmlString();
623            }
624    
625            public java.lang.String getAttachmentsDir() {
626                    return _wikiPage.getAttachmentsDir();
627            }
628    
629            public java.lang.String[] getAttachmentsFiles()
630                    throws com.liferay.portal.kernel.exception.PortalException,
631                            com.liferay.portal.kernel.exception.SystemException {
632                    return _wikiPage.getAttachmentsFiles();
633            }
634    
635            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildPages() {
636                    return _wikiPage.getChildPages();
637            }
638    
639            public com.liferay.portlet.wiki.model.WikiNode getNode() {
640                    return _wikiPage.getNode();
641            }
642    
643            public com.liferay.portlet.wiki.model.WikiPage getParentPage() {
644                    return _wikiPage.getParentPage();
645            }
646    
647            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getParentPages() {
648                    return _wikiPage.getParentPages();
649            }
650    
651            public com.liferay.portlet.wiki.model.WikiPage getRedirectPage() {
652                    return _wikiPage.getRedirectPage();
653            }
654    
655            public void setAttachmentsDir(java.lang.String attachmentsDir) {
656                    _wikiPage.setAttachmentsDir(attachmentsDir);
657            }
658    
659            public WikiPage getWrappedWikiPage() {
660                    return _wikiPage;
661            }
662    
663            private WikiPage _wikiPage;
664    }