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