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.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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets the class name of the model instance this social request is polymorphically associated with.
205            *
206            * @return the class name of the model instance this social request is polymorphically associated with
207            */
208            public java.lang.String getClassName() {
209                    return _socialRequest.getClassName();
210            }
211    
212            /**
213            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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 void setEscapedModel(boolean escapedModel) {
361                    _socialRequest.setEscapedModel(escapedModel);
362            }
363    
364            public java.io.Serializable getPrimaryKeyObj() {
365                    return _socialRequest.getPrimaryKeyObj();
366            }
367    
368            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
369                    _socialRequest.setPrimaryKeyObj(primaryKeyObj);
370            }
371    
372            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
373                    return _socialRequest.getExpandoBridge();
374            }
375    
376            public void setExpandoBridgeAttributes(
377                    com.liferay.portal.service.ServiceContext serviceContext) {
378                    _socialRequest.setExpandoBridgeAttributes(serviceContext);
379            }
380    
381            @Override
382            public java.lang.Object clone() {
383                    return new SocialRequestWrapper((SocialRequest)_socialRequest.clone());
384            }
385    
386            public int compareTo(
387                    com.liferay.portlet.social.model.SocialRequest socialRequest) {
388                    return _socialRequest.compareTo(socialRequest);
389            }
390    
391            @Override
392            public int hashCode() {
393                    return _socialRequest.hashCode();
394            }
395    
396            public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialRequest> toCacheModel() {
397                    return _socialRequest.toCacheModel();
398            }
399    
400            public com.liferay.portlet.social.model.SocialRequest toEscapedModel() {
401                    return new SocialRequestWrapper(_socialRequest.toEscapedModel());
402            }
403    
404            @Override
405            public java.lang.String toString() {
406                    return _socialRequest.toString();
407            }
408    
409            public java.lang.String toXmlString() {
410                    return _socialRequest.toXmlString();
411            }
412    
413            public void persist()
414                    throws com.liferay.portal.kernel.exception.SystemException {
415                    _socialRequest.persist();
416            }
417    
418            public SocialRequest getWrappedSocialRequest() {
419                    return _socialRequest;
420            }
421    
422            public void resetOriginalValues() {
423                    _socialRequest.resetOriginalValues();
424            }
425    
426            private SocialRequest _socialRequest;
427    }