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