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