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