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.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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            public boolean isNew() {
223                    return _userNotificationEvent.isNew();
224            }
225    
226            public void setNew(boolean n) {
227                    _userNotificationEvent.setNew(n);
228            }
229    
230            public boolean isCachedModel() {
231                    return _userNotificationEvent.isCachedModel();
232            }
233    
234            public void setCachedModel(boolean cachedModel) {
235                    _userNotificationEvent.setCachedModel(cachedModel);
236            }
237    
238            public boolean isEscapedModel() {
239                    return _userNotificationEvent.isEscapedModel();
240            }
241    
242            public void setEscapedModel(boolean escapedModel) {
243                    _userNotificationEvent.setEscapedModel(escapedModel);
244            }
245    
246            public java.io.Serializable getPrimaryKeyObj() {
247                    return _userNotificationEvent.getPrimaryKeyObj();
248            }
249    
250            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
251                    _userNotificationEvent.setPrimaryKeyObj(primaryKeyObj);
252            }
253    
254            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
255                    return _userNotificationEvent.getExpandoBridge();
256            }
257    
258            public void setExpandoBridgeAttributes(
259                    com.liferay.portal.service.ServiceContext serviceContext) {
260                    _userNotificationEvent.setExpandoBridgeAttributes(serviceContext);
261            }
262    
263            @Override
264            public java.lang.Object clone() {
265                    return new UserNotificationEventWrapper((UserNotificationEvent)_userNotificationEvent.clone());
266            }
267    
268            public int compareTo(
269                    com.liferay.portal.model.UserNotificationEvent userNotificationEvent) {
270                    return _userNotificationEvent.compareTo(userNotificationEvent);
271            }
272    
273            @Override
274            public int hashCode() {
275                    return _userNotificationEvent.hashCode();
276            }
277    
278            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.UserNotificationEvent> toCacheModel() {
279                    return _userNotificationEvent.toCacheModel();
280            }
281    
282            public com.liferay.portal.model.UserNotificationEvent toEscapedModel() {
283                    return new UserNotificationEventWrapper(_userNotificationEvent.toEscapedModel());
284            }
285    
286            @Override
287            public java.lang.String toString() {
288                    return _userNotificationEvent.toString();
289            }
290    
291            public java.lang.String toXmlString() {
292                    return _userNotificationEvent.toXmlString();
293            }
294    
295            public void persist()
296                    throws com.liferay.portal.kernel.exception.SystemException {
297                    _userNotificationEvent.persist();
298            }
299    
300            public UserNotificationEvent getWrappedUserNotificationEvent() {
301                    return _userNotificationEvent;
302            }
303    
304            public void resetOriginalValues() {
305                    _userNotificationEvent.resetOriginalValues();
306            }
307    
308            private UserNotificationEvent _userNotificationEvent;
309    }