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