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