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 WikiPageResource}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       WikiPageResource
024     * @generated
025     */
026    public class WikiPageResourceWrapper implements WikiPageResource {
027            public WikiPageResourceWrapper(WikiPageResource wikiPageResource) {
028                    _wikiPageResource = wikiPageResource;
029            }
030    
031            /**
032            * Gets the primary key of this wiki page resource.
033            *
034            * @return the primary key of this wiki page resource
035            */
036            public long getPrimaryKey() {
037                    return _wikiPageResource.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this wiki page resource
042            *
043            * @param pk the primary key of this wiki page resource
044            */
045            public void setPrimaryKey(long pk) {
046                    _wikiPageResource.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this wiki page resource.
051            *
052            * @return the uuid of this wiki page resource
053            */
054            public java.lang.String getUuid() {
055                    return _wikiPageResource.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this wiki page resource.
060            *
061            * @param uuid the uuid of this wiki page resource
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _wikiPageResource.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the resource prim key of this wiki page resource.
069            *
070            * @return the resource prim key of this wiki page resource
071            */
072            public long getResourcePrimKey() {
073                    return _wikiPageResource.getResourcePrimKey();
074            }
075    
076            /**
077            * Sets the resource prim key of this wiki page resource.
078            *
079            * @param resourcePrimKey the resource prim key of this wiki page resource
080            */
081            public void setResourcePrimKey(long resourcePrimKey) {
082                    _wikiPageResource.setResourcePrimKey(resourcePrimKey);
083            }
084    
085            /**
086            * Gets the node id of this wiki page resource.
087            *
088            * @return the node id of this wiki page resource
089            */
090            public long getNodeId() {
091                    return _wikiPageResource.getNodeId();
092            }
093    
094            /**
095            * Sets the node id of this wiki page resource.
096            *
097            * @param nodeId the node id of this wiki page resource
098            */
099            public void setNodeId(long nodeId) {
100                    _wikiPageResource.setNodeId(nodeId);
101            }
102    
103            /**
104            * Gets the title of this wiki page resource.
105            *
106            * @return the title of this wiki page resource
107            */
108            public java.lang.String getTitle() {
109                    return _wikiPageResource.getTitle();
110            }
111    
112            /**
113            * Sets the title of this wiki page resource.
114            *
115            * @param title the title of this wiki page resource
116            */
117            public void setTitle(java.lang.String title) {
118                    _wikiPageResource.setTitle(title);
119            }
120    
121            public boolean isNew() {
122                    return _wikiPageResource.isNew();
123            }
124    
125            public void setNew(boolean n) {
126                    _wikiPageResource.setNew(n);
127            }
128    
129            public boolean isCachedModel() {
130                    return _wikiPageResource.isCachedModel();
131            }
132    
133            public void setCachedModel(boolean cachedModel) {
134                    _wikiPageResource.setCachedModel(cachedModel);
135            }
136    
137            public boolean isEscapedModel() {
138                    return _wikiPageResource.isEscapedModel();
139            }
140    
141            public void setEscapedModel(boolean escapedModel) {
142                    _wikiPageResource.setEscapedModel(escapedModel);
143            }
144    
145            public java.io.Serializable getPrimaryKeyObj() {
146                    return _wikiPageResource.getPrimaryKeyObj();
147            }
148    
149            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
150                    return _wikiPageResource.getExpandoBridge();
151            }
152    
153            public void setExpandoBridgeAttributes(
154                    com.liferay.portal.service.ServiceContext serviceContext) {
155                    _wikiPageResource.setExpandoBridgeAttributes(serviceContext);
156            }
157    
158            public java.lang.Object clone() {
159                    return _wikiPageResource.clone();
160            }
161    
162            public int compareTo(
163                    com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource) {
164                    return _wikiPageResource.compareTo(wikiPageResource);
165            }
166    
167            public int hashCode() {
168                    return _wikiPageResource.hashCode();
169            }
170    
171            public com.liferay.portlet.wiki.model.WikiPageResource toEscapedModel() {
172                    return _wikiPageResource.toEscapedModel();
173            }
174    
175            public java.lang.String toString() {
176                    return _wikiPageResource.toString();
177            }
178    
179            public java.lang.String toXmlString() {
180                    return _wikiPageResource.toXmlString();
181            }
182    
183            public WikiPageResource getWrappedWikiPageResource() {
184                    return _wikiPageResource;
185            }
186    
187            private WikiPageResource _wikiPageResource;
188    }