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