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