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