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 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets the class name of the model instance this social activity is polymorphically associated with.
187            *
188            * @return the class name of the model instance this social activity is polymorphically associated with
189            */
190            public java.lang.String getClassName() {
191                    return _socialActivity.getClassName();
192            }
193    
194            /**
195            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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 void setEscapedModel(boolean escapedModel) {
325                    _socialActivity.setEscapedModel(escapedModel);
326            }
327    
328            public java.io.Serializable getPrimaryKeyObj() {
329                    return _socialActivity.getPrimaryKeyObj();
330            }
331    
332            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
333                    _socialActivity.setPrimaryKeyObj(primaryKeyObj);
334            }
335    
336            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
337                    return _socialActivity.getExpandoBridge();
338            }
339    
340            public void setExpandoBridgeAttributes(
341                    com.liferay.portal.service.ServiceContext serviceContext) {
342                    _socialActivity.setExpandoBridgeAttributes(serviceContext);
343            }
344    
345            @Override
346            public java.lang.Object clone() {
347                    return new SocialActivityWrapper((SocialActivity)_socialActivity.clone());
348            }
349    
350            public int compareTo(
351                    com.liferay.portlet.social.model.SocialActivity socialActivity) {
352                    return _socialActivity.compareTo(socialActivity);
353            }
354    
355            @Override
356            public int hashCode() {
357                    return _socialActivity.hashCode();
358            }
359    
360            public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialActivity> toCacheModel() {
361                    return _socialActivity.toCacheModel();
362            }
363    
364            public com.liferay.portlet.social.model.SocialActivity toEscapedModel() {
365                    return new SocialActivityWrapper(_socialActivity.toEscapedModel());
366            }
367    
368            @Override
369            public java.lang.String toString() {
370                    return _socialActivity.toString();
371            }
372    
373            public java.lang.String toXmlString() {
374                    return _socialActivity.toXmlString();
375            }
376    
377            public void persist()
378                    throws com.liferay.portal.kernel.exception.SystemException {
379                    _socialActivity.persist();
380            }
381    
382            public SocialActivity getWrappedSocialActivity() {
383                    return _socialActivity;
384            }
385    
386            public void resetOriginalValues() {
387                    _socialActivity.resetOriginalValues();
388            }
389    
390            private SocialActivity _socialActivity;
391    }