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