001    /**
002     * Copyright (c) 2000-2011 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.social.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link SocialRequest}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SocialRequest
024     * @generated
025     */
026    public class SocialRequestWrapper implements SocialRequest {
027            public SocialRequestWrapper(SocialRequest socialRequest) {
028                    _socialRequest = socialRequest;
029            }
030    
031            public Class<?> getModelClass() {
032                    return SocialRequest.class;
033            }
034    
035            public String getModelClassName() {
036                    return SocialRequest.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this social request.
041            *
042            * @return the primary key of this social request
043            */
044            public long getPrimaryKey() {
045                    return _socialRequest.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this social request.
050            *
051            * @param primaryKey the primary key of this social request
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _socialRequest.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the uuid of this social request.
059            *
060            * @return the uuid of this social request
061            */
062            public java.lang.String getUuid() {
063                    return _socialRequest.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this social request.
068            *
069            * @param uuid the uuid of this social request
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _socialRequest.setUuid(uuid);
073            }
074    
075            /**
076            * Returns the request ID of this social request.
077            *
078            * @return the request ID of this social request
079            */
080            public long getRequestId() {
081                    return _socialRequest.getRequestId();
082            }
083    
084            /**
085            * Sets the request ID of this social request.
086            *
087            * @param requestId the request ID of this social request
088            */
089            public void setRequestId(long requestId) {
090                    _socialRequest.setRequestId(requestId);
091            }
092    
093            /**
094            * Returns the group ID of this social request.
095            *
096            * @return the group ID of this social request
097            */
098            public long getGroupId() {
099                    return _socialRequest.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this social request.
104            *
105            * @param groupId the group ID of this social request
106            */
107            public void setGroupId(long groupId) {
108                    _socialRequest.setGroupId(groupId);
109            }
110    
111            /**
112            * Returns the company ID of this social request.
113            *
114            * @return the company ID of this social request
115            */
116            public long getCompanyId() {
117                    return _socialRequest.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this social request.
122            *
123            * @param companyId the company ID of this social request
124            */
125            public void setCompanyId(long companyId) {
126                    _socialRequest.setCompanyId(companyId);
127            }
128    
129            /**
130            * Returns the user ID of this social request.
131            *
132            * @return the user ID of this social request
133            */
134            public long getUserId() {
135                    return _socialRequest.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this social request.
140            *
141            * @param userId the user ID of this social request
142            */
143            public void setUserId(long userId) {
144                    _socialRequest.setUserId(userId);
145            }
146    
147            /**
148            * Returns the user uuid of this social request.
149            *
150            * @return the user uuid of this social request
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 _socialRequest.getUserUuid();
156            }
157    
158            /**
159            * Sets the user uuid of this social request.
160            *
161            * @param userUuid the user uuid of this social request
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _socialRequest.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Returns the create date of this social request.
169            *
170            * @return the create date of this social request
171            */
172            public long getCreateDate() {
173                    return _socialRequest.getCreateDate();
174            }
175    
176            /**
177            * Sets the create date of this social request.
178            *
179            * @param createDate the create date of this social request
180            */
181            public void setCreateDate(long createDate) {
182                    _socialRequest.setCreateDate(createDate);
183            }
184    
185            /**
186            * Returns the modified date of this social request.
187            *
188            * @return the modified date of this social request
189            */
190            public long getModifiedDate() {
191                    return _socialRequest.getModifiedDate();
192            }
193    
194            /**
195            * Sets the modified date of this social request.
196            *
197            * @param modifiedDate the modified date of this social request
198            */
199            public void setModifiedDate(long modifiedDate) {
200                    _socialRequest.setModifiedDate(modifiedDate);
201            }
202    
203            /**
204            * Returns the fully qualified class name of this social request.
205            *
206            * @return the fully qualified class name of this social request
207            */
208            public java.lang.String getClassName() {
209                    return _socialRequest.getClassName();
210            }
211    
212            /**
213            * Returns the class name ID of this social request.
214            *
215            * @return the class name ID of this social request
216            */
217            public long getClassNameId() {
218                    return _socialRequest.getClassNameId();
219            }
220    
221            /**
222            * Sets the class name ID of this social request.
223            *
224            * @param classNameId the class name ID of this social request
225            */
226            public void setClassNameId(long classNameId) {
227                    _socialRequest.setClassNameId(classNameId);
228            }
229    
230            /**
231            * Returns the class p k of this social request.
232            *
233            * @return the class p k of this social request
234            */
235            public long getClassPK() {
236                    return _socialRequest.getClassPK();
237            }
238    
239            /**
240            * Sets the class p k of this social request.
241            *
242            * @param classPK the class p k of this social request
243            */
244            public void setClassPK(long classPK) {
245                    _socialRequest.setClassPK(classPK);
246            }
247    
248            /**
249            * Returns the type of this social request.
250            *
251            * @return the type of this social request
252            */
253            public int getType() {
254                    return _socialRequest.getType();
255            }
256    
257            /**
258            * Sets the type of this social request.
259            *
260            * @param type the type of this social request
261            */
262            public void setType(int type) {
263                    _socialRequest.setType(type);
264            }
265    
266            /**
267            * Returns the extra data of this social request.
268            *
269            * @return the extra data of this social request
270            */
271            public java.lang.String getExtraData() {
272                    return _socialRequest.getExtraData();
273            }
274    
275            /**
276            * Sets the extra data of this social request.
277            *
278            * @param extraData the extra data of this social request
279            */
280            public void setExtraData(java.lang.String extraData) {
281                    _socialRequest.setExtraData(extraData);
282            }
283    
284            /**
285            * Returns the receiver user ID of this social request.
286            *
287            * @return the receiver user ID of this social request
288            */
289            public long getReceiverUserId() {
290                    return _socialRequest.getReceiverUserId();
291            }
292    
293            /**
294            * Sets the receiver user ID of this social request.
295            *
296            * @param receiverUserId the receiver user ID of this social request
297            */
298            public void setReceiverUserId(long receiverUserId) {
299                    _socialRequest.setReceiverUserId(receiverUserId);
300            }
301    
302            /**
303            * Returns the receiver user uuid of this social request.
304            *
305            * @return the receiver user uuid of this social request
306            * @throws SystemException if a system exception occurred
307            */
308            public java.lang.String getReceiverUserUuid()
309                    throws com.liferay.portal.kernel.exception.SystemException {
310                    return _socialRequest.getReceiverUserUuid();
311            }
312    
313            /**
314            * Sets the receiver user uuid of this social request.
315            *
316            * @param receiverUserUuid the receiver user uuid of this social request
317            */
318            public void setReceiverUserUuid(java.lang.String receiverUserUuid) {
319                    _socialRequest.setReceiverUserUuid(receiverUserUuid);
320            }
321    
322            /**
323            * Returns the status of this social request.
324            *
325            * @return the status of this social request
326            */
327            public int getStatus() {
328                    return _socialRequest.getStatus();
329            }
330    
331            /**
332            * Sets the status of this social request.
333            *
334            * @param status the status of this social request
335            */
336            public void setStatus(int status) {
337                    _socialRequest.setStatus(status);
338            }
339    
340            public boolean isNew() {
341                    return _socialRequest.isNew();
342            }
343    
344            public void setNew(boolean n) {
345                    _socialRequest.setNew(n);
346            }
347    
348            public boolean isCachedModel() {
349                    return _socialRequest.isCachedModel();
350            }
351    
352            public void setCachedModel(boolean cachedModel) {
353                    _socialRequest.setCachedModel(cachedModel);
354            }
355    
356            public boolean isEscapedModel() {
357                    return _socialRequest.isEscapedModel();
358            }
359    
360            public java.io.Serializable getPrimaryKeyObj() {
361                    return _socialRequest.getPrimaryKeyObj();
362            }
363    
364            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
365                    _socialRequest.setPrimaryKeyObj(primaryKeyObj);
366            }
367    
368            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
369                    return _socialRequest.getExpandoBridge();
370            }
371    
372            public void setExpandoBridgeAttributes(
373                    com.liferay.portal.service.ServiceContext serviceContext) {
374                    _socialRequest.setExpandoBridgeAttributes(serviceContext);
375            }
376    
377            @Override
378            public java.lang.Object clone() {
379                    return new SocialRequestWrapper((SocialRequest)_socialRequest.clone());
380            }
381    
382            public int compareTo(
383                    com.liferay.portlet.social.model.SocialRequest socialRequest) {
384                    return _socialRequest.compareTo(socialRequest);
385            }
386    
387            @Override
388            public int hashCode() {
389                    return _socialRequest.hashCode();
390            }
391    
392            public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialRequest> toCacheModel() {
393                    return _socialRequest.toCacheModel();
394            }
395    
396            public com.liferay.portlet.social.model.SocialRequest toEscapedModel() {
397                    return new SocialRequestWrapper(_socialRequest.toEscapedModel());
398            }
399    
400            @Override
401            public java.lang.String toString() {
402                    return _socialRequest.toString();
403            }
404    
405            public java.lang.String toXmlString() {
406                    return _socialRequest.toXmlString();
407            }
408    
409            public void persist()
410                    throws com.liferay.portal.kernel.exception.SystemException {
411                    _socialRequest.persist();
412            }
413    
414            public SocialRequest getWrappedSocialRequest() {
415                    return _socialRequest;
416            }
417    
418            public void resetOriginalValues() {
419                    _socialRequest.resetOriginalValues();
420            }
421    
422            private SocialRequest _socialRequest;
423    }