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