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