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 WikiNode}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       WikiNode
024     * @generated
025     */
026    public class WikiNodeWrapper implements WikiNode {
027            public WikiNodeWrapper(WikiNode wikiNode) {
028                    _wikiNode = wikiNode;
029            }
030    
031            /**
032            * Gets the primary key of this wiki node.
033            *
034            * @return the primary key of this wiki node
035            */
036            public long getPrimaryKey() {
037                    return _wikiNode.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this wiki node
042            *
043            * @param pk the primary key of this wiki node
044            */
045            public void setPrimaryKey(long pk) {
046                    _wikiNode.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this wiki node.
051            *
052            * @return the uuid of this wiki node
053            */
054            public java.lang.String getUuid() {
055                    return _wikiNode.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this wiki node.
060            *
061            * @param uuid the uuid of this wiki node
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _wikiNode.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the node id of this wiki node.
069            *
070            * @return the node id of this wiki node
071            */
072            public long getNodeId() {
073                    return _wikiNode.getNodeId();
074            }
075    
076            /**
077            * Sets the node id of this wiki node.
078            *
079            * @param nodeId the node id of this wiki node
080            */
081            public void setNodeId(long nodeId) {
082                    _wikiNode.setNodeId(nodeId);
083            }
084    
085            /**
086            * Gets the group id of this wiki node.
087            *
088            * @return the group id of this wiki node
089            */
090            public long getGroupId() {
091                    return _wikiNode.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this wiki node.
096            *
097            * @param groupId the group id of this wiki node
098            */
099            public void setGroupId(long groupId) {
100                    _wikiNode.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this wiki node.
105            *
106            * @return the company id of this wiki node
107            */
108            public long getCompanyId() {
109                    return _wikiNode.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this wiki node.
114            *
115            * @param companyId the company id of this wiki node
116            */
117            public void setCompanyId(long companyId) {
118                    _wikiNode.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the user id of this wiki node.
123            *
124            * @return the user id of this wiki node
125            */
126            public long getUserId() {
127                    return _wikiNode.getUserId();
128            }
129    
130            /**
131            * Sets the user id of this wiki node.
132            *
133            * @param userId the user id of this wiki node
134            */
135            public void setUserId(long userId) {
136                    _wikiNode.setUserId(userId);
137            }
138    
139            /**
140            * Gets the user uuid of this wiki node.
141            *
142            * @return the user uuid of this wiki node
143            * @throws SystemException if a system exception occurred
144            */
145            public java.lang.String getUserUuid()
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _wikiNode.getUserUuid();
148            }
149    
150            /**
151            * Sets the user uuid of this wiki node.
152            *
153            * @param userUuid the user uuid of this wiki node
154            */
155            public void setUserUuid(java.lang.String userUuid) {
156                    _wikiNode.setUserUuid(userUuid);
157            }
158    
159            /**
160            * Gets the user name of this wiki node.
161            *
162            * @return the user name of this wiki node
163            */
164            public java.lang.String getUserName() {
165                    return _wikiNode.getUserName();
166            }
167    
168            /**
169            * Sets the user name of this wiki node.
170            *
171            * @param userName the user name of this wiki node
172            */
173            public void setUserName(java.lang.String userName) {
174                    _wikiNode.setUserName(userName);
175            }
176    
177            /**
178            * Gets the create date of this wiki node.
179            *
180            * @return the create date of this wiki node
181            */
182            public java.util.Date getCreateDate() {
183                    return _wikiNode.getCreateDate();
184            }
185    
186            /**
187            * Sets the create date of this wiki node.
188            *
189            * @param createDate the create date of this wiki node
190            */
191            public void setCreateDate(java.util.Date createDate) {
192                    _wikiNode.setCreateDate(createDate);
193            }
194    
195            /**
196            * Gets the modified date of this wiki node.
197            *
198            * @return the modified date of this wiki node
199            */
200            public java.util.Date getModifiedDate() {
201                    return _wikiNode.getModifiedDate();
202            }
203    
204            /**
205            * Sets the modified date of this wiki node.
206            *
207            * @param modifiedDate the modified date of this wiki node
208            */
209            public void setModifiedDate(java.util.Date modifiedDate) {
210                    _wikiNode.setModifiedDate(modifiedDate);
211            }
212    
213            /**
214            * Gets the name of this wiki node.
215            *
216            * @return the name of this wiki node
217            */
218            public java.lang.String getName() {
219                    return _wikiNode.getName();
220            }
221    
222            /**
223            * Sets the name of this wiki node.
224            *
225            * @param name the name of this wiki node
226            */
227            public void setName(java.lang.String name) {
228                    _wikiNode.setName(name);
229            }
230    
231            /**
232            * Gets the description of this wiki node.
233            *
234            * @return the description of this wiki node
235            */
236            public java.lang.String getDescription() {
237                    return _wikiNode.getDescription();
238            }
239    
240            /**
241            * Sets the description of this wiki node.
242            *
243            * @param description the description of this wiki node
244            */
245            public void setDescription(java.lang.String description) {
246                    _wikiNode.setDescription(description);
247            }
248    
249            /**
250            * Gets the last post date of this wiki node.
251            *
252            * @return the last post date of this wiki node
253            */
254            public java.util.Date getLastPostDate() {
255                    return _wikiNode.getLastPostDate();
256            }
257    
258            /**
259            * Sets the last post date of this wiki node.
260            *
261            * @param lastPostDate the last post date of this wiki node
262            */
263            public void setLastPostDate(java.util.Date lastPostDate) {
264                    _wikiNode.setLastPostDate(lastPostDate);
265            }
266    
267            public boolean isNew() {
268                    return _wikiNode.isNew();
269            }
270    
271            public void setNew(boolean n) {
272                    _wikiNode.setNew(n);
273            }
274    
275            public boolean isCachedModel() {
276                    return _wikiNode.isCachedModel();
277            }
278    
279            public void setCachedModel(boolean cachedModel) {
280                    _wikiNode.setCachedModel(cachedModel);
281            }
282    
283            public boolean isEscapedModel() {
284                    return _wikiNode.isEscapedModel();
285            }
286    
287            public void setEscapedModel(boolean escapedModel) {
288                    _wikiNode.setEscapedModel(escapedModel);
289            }
290    
291            public java.io.Serializable getPrimaryKeyObj() {
292                    return _wikiNode.getPrimaryKeyObj();
293            }
294    
295            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
296                    return _wikiNode.getExpandoBridge();
297            }
298    
299            public void setExpandoBridgeAttributes(
300                    com.liferay.portal.service.ServiceContext serviceContext) {
301                    _wikiNode.setExpandoBridgeAttributes(serviceContext);
302            }
303    
304            public java.lang.Object clone() {
305                    return _wikiNode.clone();
306            }
307    
308            public int compareTo(com.liferay.portlet.wiki.model.WikiNode wikiNode) {
309                    return _wikiNode.compareTo(wikiNode);
310            }
311    
312            public int hashCode() {
313                    return _wikiNode.hashCode();
314            }
315    
316            public com.liferay.portlet.wiki.model.WikiNode toEscapedModel() {
317                    return _wikiNode.toEscapedModel();
318            }
319    
320            public java.lang.String toString() {
321                    return _wikiNode.toString();
322            }
323    
324            public java.lang.String toXmlString() {
325                    return _wikiNode.toXmlString();
326            }
327    
328            public WikiNode getWrappedWikiNode() {
329                    return _wikiNode;
330            }
331    
332            private WikiNode _wikiNode;
333    }