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.messageboards.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link MBStatsUser}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       MBStatsUser
024     * @generated
025     */
026    public class MBStatsUserWrapper implements MBStatsUser {
027            public MBStatsUserWrapper(MBStatsUser mbStatsUser) {
028                    _mbStatsUser = mbStatsUser;
029            }
030    
031            public Class<?> getModelClass() {
032                    return MBStatsUser.class;
033            }
034    
035            public String getModelClassName() {
036                    return MBStatsUser.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this message boards stats user.
041            *
042            * @return the primary key of this message boards stats user
043            */
044            public long getPrimaryKey() {
045                    return _mbStatsUser.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this message boards stats user.
050            *
051            * @param primaryKey the primary key of this message boards stats user
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _mbStatsUser.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the stats user ID of this message boards stats user.
059            *
060            * @return the stats user ID of this message boards stats user
061            */
062            public long getStatsUserId() {
063                    return _mbStatsUser.getStatsUserId();
064            }
065    
066            /**
067            * Sets the stats user ID of this message boards stats user.
068            *
069            * @param statsUserId the stats user ID of this message boards stats user
070            */
071            public void setStatsUserId(long statsUserId) {
072                    _mbStatsUser.setStatsUserId(statsUserId);
073            }
074    
075            /**
076            * Returns the stats user uuid of this message boards stats user.
077            *
078            * @return the stats user uuid of this message boards 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 _mbStatsUser.getStatsUserUuid();
084            }
085    
086            /**
087            * Sets the stats user uuid of this message boards stats user.
088            *
089            * @param statsUserUuid the stats user uuid of this message boards stats user
090            */
091            public void setStatsUserUuid(java.lang.String statsUserUuid) {
092                    _mbStatsUser.setStatsUserUuid(statsUserUuid);
093            }
094    
095            /**
096            * Returns the group ID of this message boards stats user.
097            *
098            * @return the group ID of this message boards stats user
099            */
100            public long getGroupId() {
101                    return _mbStatsUser.getGroupId();
102            }
103    
104            /**
105            * Sets the group ID of this message boards stats user.
106            *
107            * @param groupId the group ID of this message boards stats user
108            */
109            public void setGroupId(long groupId) {
110                    _mbStatsUser.setGroupId(groupId);
111            }
112    
113            /**
114            * Returns the user ID of this message boards stats user.
115            *
116            * @return the user ID of this message boards stats user
117            */
118            public long getUserId() {
119                    return _mbStatsUser.getUserId();
120            }
121    
122            /**
123            * Sets the user ID of this message boards stats user.
124            *
125            * @param userId the user ID of this message boards stats user
126            */
127            public void setUserId(long userId) {
128                    _mbStatsUser.setUserId(userId);
129            }
130    
131            /**
132            * Returns the user uuid of this message boards stats user.
133            *
134            * @return the user uuid of this message boards stats user
135            * @throws SystemException if a system exception occurred
136            */
137            public java.lang.String getUserUuid()
138                    throws com.liferay.portal.kernel.exception.SystemException {
139                    return _mbStatsUser.getUserUuid();
140            }
141    
142            /**
143            * Sets the user uuid of this message boards stats user.
144            *
145            * @param userUuid the user uuid of this message boards stats user
146            */
147            public void setUserUuid(java.lang.String userUuid) {
148                    _mbStatsUser.setUserUuid(userUuid);
149            }
150    
151            /**
152            * Returns the message count of this message boards stats user.
153            *
154            * @return the message count of this message boards stats user
155            */
156            public int getMessageCount() {
157                    return _mbStatsUser.getMessageCount();
158            }
159    
160            /**
161            * Sets the message count of this message boards stats user.
162            *
163            * @param messageCount the message count of this message boards stats user
164            */
165            public void setMessageCount(int messageCount) {
166                    _mbStatsUser.setMessageCount(messageCount);
167            }
168    
169            /**
170            * Returns the last post date of this message boards stats user.
171            *
172            * @return the last post date of this message boards stats user
173            */
174            public java.util.Date getLastPostDate() {
175                    return _mbStatsUser.getLastPostDate();
176            }
177    
178            /**
179            * Sets the last post date of this message boards stats user.
180            *
181            * @param lastPostDate the last post date of this message boards stats user
182            */
183            public void setLastPostDate(java.util.Date lastPostDate) {
184                    _mbStatsUser.setLastPostDate(lastPostDate);
185            }
186    
187            public boolean isNew() {
188                    return _mbStatsUser.isNew();
189            }
190    
191            public void setNew(boolean n) {
192                    _mbStatsUser.setNew(n);
193            }
194    
195            public boolean isCachedModel() {
196                    return _mbStatsUser.isCachedModel();
197            }
198    
199            public void setCachedModel(boolean cachedModel) {
200                    _mbStatsUser.setCachedModel(cachedModel);
201            }
202    
203            public boolean isEscapedModel() {
204                    return _mbStatsUser.isEscapedModel();
205            }
206    
207            public java.io.Serializable getPrimaryKeyObj() {
208                    return _mbStatsUser.getPrimaryKeyObj();
209            }
210    
211            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
212                    _mbStatsUser.setPrimaryKeyObj(primaryKeyObj);
213            }
214    
215            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
216                    return _mbStatsUser.getExpandoBridge();
217            }
218    
219            public void setExpandoBridgeAttributes(
220                    com.liferay.portal.service.ServiceContext serviceContext) {
221                    _mbStatsUser.setExpandoBridgeAttributes(serviceContext);
222            }
223    
224            @Override
225            public java.lang.Object clone() {
226                    return new MBStatsUserWrapper((MBStatsUser)_mbStatsUser.clone());
227            }
228    
229            public int compareTo(
230                    com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser) {
231                    return _mbStatsUser.compareTo(mbStatsUser);
232            }
233    
234            @Override
235            public int hashCode() {
236                    return _mbStatsUser.hashCode();
237            }
238    
239            public com.liferay.portal.model.CacheModel<com.liferay.portlet.messageboards.model.MBStatsUser> toCacheModel() {
240                    return _mbStatsUser.toCacheModel();
241            }
242    
243            public com.liferay.portlet.messageboards.model.MBStatsUser toEscapedModel() {
244                    return new MBStatsUserWrapper(_mbStatsUser.toEscapedModel());
245            }
246    
247            @Override
248            public java.lang.String toString() {
249                    return _mbStatsUser.toString();
250            }
251    
252            public java.lang.String toXmlString() {
253                    return _mbStatsUser.toXmlString();
254            }
255    
256            public void persist()
257                    throws com.liferay.portal.kernel.exception.SystemException {
258                    _mbStatsUser.persist();
259            }
260    
261            public MBStatsUser getWrappedMBStatsUser() {
262                    return _mbStatsUser;
263            }
264    
265            public void resetOriginalValues() {
266                    _mbStatsUser.resetOriginalValues();
267            }
268    
269            private MBStatsUser _mbStatsUser;
270    }