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