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 SocialActivityLimit}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SocialActivityLimit
024     * @generated
025     */
026    public class SocialActivityLimitWrapper implements SocialActivityLimit {
027            public SocialActivityLimitWrapper(SocialActivityLimit socialActivityLimit) {
028                    _socialActivityLimit = socialActivityLimit;
029            }
030    
031            public Class<?> getModelClass() {
032                    return SocialActivityLimit.class;
033            }
034    
035            public String getModelClassName() {
036                    return SocialActivityLimit.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this social activity limit.
041            *
042            * @return the primary key of this social activity limit
043            */
044            public long getPrimaryKey() {
045                    return _socialActivityLimit.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this social activity limit.
050            *
051            * @param primaryKey the primary key of this social activity limit
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _socialActivityLimit.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the activity limit ID of this social activity limit.
059            *
060            * @return the activity limit ID of this social activity limit
061            */
062            public long getActivityLimitId() {
063                    return _socialActivityLimit.getActivityLimitId();
064            }
065    
066            /**
067            * Sets the activity limit ID of this social activity limit.
068            *
069            * @param activityLimitId the activity limit ID of this social activity limit
070            */
071            public void setActivityLimitId(long activityLimitId) {
072                    _socialActivityLimit.setActivityLimitId(activityLimitId);
073            }
074    
075            /**
076            * Returns the group ID of this social activity limit.
077            *
078            * @return the group ID of this social activity limit
079            */
080            public long getGroupId() {
081                    return _socialActivityLimit.getGroupId();
082            }
083    
084            /**
085            * Sets the group ID of this social activity limit.
086            *
087            * @param groupId the group ID of this social activity limit
088            */
089            public void setGroupId(long groupId) {
090                    _socialActivityLimit.setGroupId(groupId);
091            }
092    
093            /**
094            * Returns the company ID of this social activity limit.
095            *
096            * @return the company ID of this social activity limit
097            */
098            public long getCompanyId() {
099                    return _socialActivityLimit.getCompanyId();
100            }
101    
102            /**
103            * Sets the company ID of this social activity limit.
104            *
105            * @param companyId the company ID of this social activity limit
106            */
107            public void setCompanyId(long companyId) {
108                    _socialActivityLimit.setCompanyId(companyId);
109            }
110    
111            /**
112            * Returns the user ID of this social activity limit.
113            *
114            * @return the user ID of this social activity limit
115            */
116            public long getUserId() {
117                    return _socialActivityLimit.getUserId();
118            }
119    
120            /**
121            * Sets the user ID of this social activity limit.
122            *
123            * @param userId the user ID of this social activity limit
124            */
125            public void setUserId(long userId) {
126                    _socialActivityLimit.setUserId(userId);
127            }
128    
129            /**
130            * Returns the user uuid of this social activity limit.
131            *
132            * @return the user uuid of this social activity limit
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 _socialActivityLimit.getUserUuid();
138            }
139    
140            /**
141            * Sets the user uuid of this social activity limit.
142            *
143            * @param userUuid the user uuid of this social activity limit
144            */
145            public void setUserUuid(java.lang.String userUuid) {
146                    _socialActivityLimit.setUserUuid(userUuid);
147            }
148    
149            /**
150            * Returns the fully qualified class name of this social activity limit.
151            *
152            * @return the fully qualified class name of this social activity limit
153            */
154            public java.lang.String getClassName() {
155                    return _socialActivityLimit.getClassName();
156            }
157    
158            /**
159            * Returns the class name ID of this social activity limit.
160            *
161            * @return the class name ID of this social activity limit
162            */
163            public long getClassNameId() {
164                    return _socialActivityLimit.getClassNameId();
165            }
166    
167            /**
168            * Sets the class name ID of this social activity limit.
169            *
170            * @param classNameId the class name ID of this social activity limit
171            */
172            public void setClassNameId(long classNameId) {
173                    _socialActivityLimit.setClassNameId(classNameId);
174            }
175    
176            /**
177            * Returns the class p k of this social activity limit.
178            *
179            * @return the class p k of this social activity limit
180            */
181            public long getClassPK() {
182                    return _socialActivityLimit.getClassPK();
183            }
184    
185            /**
186            * Sets the class p k of this social activity limit.
187            *
188            * @param classPK the class p k of this social activity limit
189            */
190            public void setClassPK(long classPK) {
191                    _socialActivityLimit.setClassPK(classPK);
192            }
193    
194            /**
195            * Returns the activity type of this social activity limit.
196            *
197            * @return the activity type of this social activity limit
198            */
199            public int getActivityType() {
200                    return _socialActivityLimit.getActivityType();
201            }
202    
203            /**
204            * Sets the activity type of this social activity limit.
205            *
206            * @param activityType the activity type of this social activity limit
207            */
208            public void setActivityType(int activityType) {
209                    _socialActivityLimit.setActivityType(activityType);
210            }
211    
212            /**
213            * Returns the activity counter name of this social activity limit.
214            *
215            * @return the activity counter name of this social activity limit
216            */
217            public java.lang.String getActivityCounterName() {
218                    return _socialActivityLimit.getActivityCounterName();
219            }
220    
221            /**
222            * Sets the activity counter name of this social activity limit.
223            *
224            * @param activityCounterName the activity counter name of this social activity limit
225            */
226            public void setActivityCounterName(java.lang.String activityCounterName) {
227                    _socialActivityLimit.setActivityCounterName(activityCounterName);
228            }
229    
230            /**
231            * Returns the value of this social activity limit.
232            *
233            * @return the value of this social activity limit
234            */
235            public java.lang.String getValue() {
236                    return _socialActivityLimit.getValue();
237            }
238    
239            /**
240            * Sets the value of this social activity limit.
241            *
242            * @param value the value of this social activity limit
243            */
244            public void setValue(java.lang.String value) {
245                    _socialActivityLimit.setValue(value);
246            }
247    
248            public boolean isNew() {
249                    return _socialActivityLimit.isNew();
250            }
251    
252            public void setNew(boolean n) {
253                    _socialActivityLimit.setNew(n);
254            }
255    
256            public boolean isCachedModel() {
257                    return _socialActivityLimit.isCachedModel();
258            }
259    
260            public void setCachedModel(boolean cachedModel) {
261                    _socialActivityLimit.setCachedModel(cachedModel);
262            }
263    
264            public boolean isEscapedModel() {
265                    return _socialActivityLimit.isEscapedModel();
266            }
267    
268            public java.io.Serializable getPrimaryKeyObj() {
269                    return _socialActivityLimit.getPrimaryKeyObj();
270            }
271    
272            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
273                    _socialActivityLimit.setPrimaryKeyObj(primaryKeyObj);
274            }
275    
276            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
277                    return _socialActivityLimit.getExpandoBridge();
278            }
279    
280            public void setExpandoBridgeAttributes(
281                    com.liferay.portal.service.ServiceContext serviceContext) {
282                    _socialActivityLimit.setExpandoBridgeAttributes(serviceContext);
283            }
284    
285            @Override
286            public java.lang.Object clone() {
287                    return new SocialActivityLimitWrapper((SocialActivityLimit)_socialActivityLimit.clone());
288            }
289    
290            public int compareTo(
291                    com.liferay.portlet.social.model.SocialActivityLimit socialActivityLimit) {
292                    return _socialActivityLimit.compareTo(socialActivityLimit);
293            }
294    
295            @Override
296            public int hashCode() {
297                    return _socialActivityLimit.hashCode();
298            }
299    
300            public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialActivityLimit> toCacheModel() {
301                    return _socialActivityLimit.toCacheModel();
302            }
303    
304            public com.liferay.portlet.social.model.SocialActivityLimit toEscapedModel() {
305                    return new SocialActivityLimitWrapper(_socialActivityLimit.toEscapedModel());
306            }
307    
308            @Override
309            public java.lang.String toString() {
310                    return _socialActivityLimit.toString();
311            }
312    
313            public java.lang.String toXmlString() {
314                    return _socialActivityLimit.toXmlString();
315            }
316    
317            public void persist()
318                    throws com.liferay.portal.kernel.exception.SystemException {
319                    _socialActivityLimit.persist();
320            }
321    
322            public SocialActivityLimit getWrappedSocialActivityLimit() {
323                    return _socialActivityLimit;
324            }
325    
326            public void resetOriginalValues() {
327                    _socialActivityLimit.resetOriginalValues();
328            }
329    
330            private SocialActivityLimit _socialActivityLimit;
331    }