001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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 void setEscapedModel(boolean escapedModel) {
262                    _mbBan.setEscapedModel(escapedModel);
263            }
264    
265            public java.io.Serializable getPrimaryKeyObj() {
266                    return _mbBan.getPrimaryKeyObj();
267            }
268    
269            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
270                    _mbBan.setPrimaryKeyObj(primaryKeyObj);
271            }
272    
273            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
274                    return _mbBan.getExpandoBridge();
275            }
276    
277            public void setExpandoBridgeAttributes(
278                    com.liferay.portal.service.ServiceContext serviceContext) {
279                    _mbBan.setExpandoBridgeAttributes(serviceContext);
280            }
281    
282            @Override
283            public java.lang.Object clone() {
284                    return new MBBanWrapper((MBBan)_mbBan.clone());
285            }
286    
287            public int compareTo(com.liferay.portlet.messageboards.model.MBBan mbBan) {
288                    return _mbBan.compareTo(mbBan);
289            }
290    
291            @Override
292            public int hashCode() {
293                    return _mbBan.hashCode();
294            }
295    
296            public com.liferay.portal.model.CacheModel<com.liferay.portlet.messageboards.model.MBBan> toCacheModel() {
297                    return _mbBan.toCacheModel();
298            }
299    
300            public com.liferay.portlet.messageboards.model.MBBan toEscapedModel() {
301                    return new MBBanWrapper(_mbBan.toEscapedModel());
302            }
303    
304            @Override
305            public java.lang.String toString() {
306                    return _mbBan.toString();
307            }
308    
309            public java.lang.String toXmlString() {
310                    return _mbBan.toXmlString();
311            }
312    
313            public void persist()
314                    throws com.liferay.portal.kernel.exception.SystemException {
315                    _mbBan.persist();
316            }
317    
318            public MBBan getWrappedMBBan() {
319                    return _mbBan;
320            }
321    
322            public void resetOriginalValues() {
323                    _mbBan.resetOriginalValues();
324            }
325    
326            private MBBan _mbBan;
327    }