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