001    /**
002     * Copyright (c) 2000-present 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.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link UserNotificationEventLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see UserNotificationEventLocalService
024     * @generated
025     */
026    @ProviderType
027    public class UserNotificationEventLocalServiceWrapper
028            implements UserNotificationEventLocalService,
029                    ServiceWrapper<UserNotificationEventLocalService> {
030            public UserNotificationEventLocalServiceWrapper(
031                    UserNotificationEventLocalService userNotificationEventLocalService) {
032                    _userNotificationEventLocalService = userNotificationEventLocalService;
033            }
034    
035            @Override
036            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
037                    return _userNotificationEventLocalService.getActionableDynamicQuery();
038            }
039    
040            @Override
041            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
042                    return _userNotificationEventLocalService.dynamicQuery();
043            }
044    
045            @Override
046            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
047                    return _userNotificationEventLocalService.getIndexableActionableDynamicQuery();
048            }
049    
050            /**
051            * @throws PortalException
052            */
053            @Override
054            public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(
055                    com.liferay.portal.kernel.model.PersistedModel persistedModel)
056                    throws com.liferay.portal.kernel.exception.PortalException {
057                    return _userNotificationEventLocalService.deletePersistedModel(persistedModel);
058            }
059    
060            @Override
061            public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
062                    java.io.Serializable primaryKeyObj)
063                    throws com.liferay.portal.kernel.exception.PortalException {
064                    return _userNotificationEventLocalService.getPersistedModel(primaryKeyObj);
065            }
066    
067            /**
068            * Adds the user notification event to the database. Also notifies the appropriate model listeners.
069            *
070            * @param userNotificationEvent the user notification event
071            * @return the user notification event that was added
072            */
073            @Override
074            public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(
075                    com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) {
076                    return _userNotificationEventLocalService.addUserNotificationEvent(userNotificationEvent);
077            }
078    
079            @Override
080            public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(
081                    long userId, boolean actionRequired,
082                    com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent)
083                    throws com.liferay.portal.kernel.exception.PortalException {
084                    return _userNotificationEventLocalService.addUserNotificationEvent(userId,
085                            actionRequired, notificationEvent);
086            }
087    
088            @Override
089            public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(
090                    long userId,
091                    com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    return _userNotificationEventLocalService.addUserNotificationEvent(userId,
094                            notificationEvent);
095            }
096    
097            @Override
098            public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(
099                    long userId, java.lang.String type, long timestamp, int deliveryType,
100                    long deliverBy, java.lang.String payload, boolean actionRequired,
101                    boolean archived, ServiceContext serviceContext)
102                    throws com.liferay.portal.kernel.exception.PortalException {
103                    return _userNotificationEventLocalService.addUserNotificationEvent(userId,
104                            type, timestamp, deliveryType, deliverBy, payload, actionRequired,
105                            archived, serviceContext);
106            }
107    
108            @Override
109            public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(
110                    long userId, java.lang.String type, long timestamp, int deliveryType,
111                    long deliverBy, java.lang.String payload, boolean archived,
112                    ServiceContext serviceContext)
113                    throws com.liferay.portal.kernel.exception.PortalException {
114                    return _userNotificationEventLocalService.addUserNotificationEvent(userId,
115                            type, timestamp, deliveryType, deliverBy, payload, archived,
116                            serviceContext);
117            }
118    
119            /**
120            * @deprecated As of 7.0.0 {@link #addUserNotificationEvent(long, String,
121            long, int, long, String, boolean, ServiceContext)}
122            */
123            @Deprecated
124            @Override
125            public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(
126                    long userId, java.lang.String type, long timestamp, long deliverBy,
127                    java.lang.String payload, boolean archived,
128                    ServiceContext serviceContext)
129                    throws com.liferay.portal.kernel.exception.PortalException {
130                    return _userNotificationEventLocalService.addUserNotificationEvent(userId,
131                            type, timestamp, deliverBy, payload, archived, serviceContext);
132            }
133    
134            /**
135            * Creates a new user notification event with the primary key. Does not add the user notification event to the database.
136            *
137            * @param userNotificationEventId the primary key for the new user notification event
138            * @return the new user notification event
139            */
140            @Override
141            public com.liferay.portal.kernel.model.UserNotificationEvent createUserNotificationEvent(
142                    long userNotificationEventId) {
143                    return _userNotificationEventLocalService.createUserNotificationEvent(userNotificationEventId);
144            }
145    
146            /**
147            * Deletes the user notification event from the database. Also notifies the appropriate model listeners.
148            *
149            * @param userNotificationEvent the user notification event
150            * @return the user notification event that was removed
151            */
152            @Override
153            public com.liferay.portal.kernel.model.UserNotificationEvent deleteUserNotificationEvent(
154                    com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) {
155                    return _userNotificationEventLocalService.deleteUserNotificationEvent(userNotificationEvent);
156            }
157    
158            /**
159            * Deletes the user notification event with the primary key from the database. Also notifies the appropriate model listeners.
160            *
161            * @param userNotificationEventId the primary key of the user notification event
162            * @return the user notification event that was removed
163            * @throws PortalException if a user notification event with the primary key could not be found
164            */
165            @Override
166            public com.liferay.portal.kernel.model.UserNotificationEvent deleteUserNotificationEvent(
167                    long userNotificationEventId)
168                    throws com.liferay.portal.kernel.exception.PortalException {
169                    return _userNotificationEventLocalService.deleteUserNotificationEvent(userNotificationEventId);
170            }
171    
172            @Override
173            public com.liferay.portal.kernel.model.UserNotificationEvent fetchUserNotificationEvent(
174                    long userNotificationEventId) {
175                    return _userNotificationEventLocalService.fetchUserNotificationEvent(userNotificationEventId);
176            }
177    
178            /**
179            * Returns the user notification event with the matching UUID and company.
180            *
181            * @param uuid the user notification event's UUID
182            * @param companyId the primary key of the company
183            * @return the matching user notification event, or <code>null</code> if a matching user notification event could not be found
184            */
185            @Override
186            public com.liferay.portal.kernel.model.UserNotificationEvent fetchUserNotificationEventByUuidAndCompanyId(
187                    java.lang.String uuid, long companyId) {
188                    return _userNotificationEventLocalService.fetchUserNotificationEventByUuidAndCompanyId(uuid,
189                            companyId);
190            }
191    
192            /**
193            * Returns the user notification event with the primary key.
194            *
195            * @param userNotificationEventId the primary key of the user notification event
196            * @return the user notification event
197            * @throws PortalException if a user notification event with the primary key could not be found
198            */
199            @Override
200            public com.liferay.portal.kernel.model.UserNotificationEvent getUserNotificationEvent(
201                    long userNotificationEventId)
202                    throws com.liferay.portal.kernel.exception.PortalException {
203                    return _userNotificationEventLocalService.getUserNotificationEvent(userNotificationEventId);
204            }
205    
206            /**
207            * Returns the user notification event with the matching UUID and company.
208            *
209            * @param uuid the user notification event's UUID
210            * @param companyId the primary key of the company
211            * @return the matching user notification event
212            * @throws PortalException if a matching user notification event could not be found
213            */
214            @Override
215            public com.liferay.portal.kernel.model.UserNotificationEvent getUserNotificationEventByUuidAndCompanyId(
216                    java.lang.String uuid, long companyId)
217                    throws com.liferay.portal.kernel.exception.PortalException {
218                    return _userNotificationEventLocalService.getUserNotificationEventByUuidAndCompanyId(uuid,
219                            companyId);
220            }
221    
222            @Override
223            public com.liferay.portal.kernel.model.UserNotificationEvent sendUserNotificationEvents(
224                    long userId, java.lang.String portletId, int deliveryType,
225                    boolean actionRequired,
226                    com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject)
227                    throws com.liferay.portal.kernel.exception.PortalException {
228                    return _userNotificationEventLocalService.sendUserNotificationEvents(userId,
229                            portletId, deliveryType, actionRequired, notificationEventJSONObject);
230            }
231    
232            @Override
233            public com.liferay.portal.kernel.model.UserNotificationEvent sendUserNotificationEvents(
234                    long userId, java.lang.String portletId, int deliveryType,
235                    com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject)
236                    throws com.liferay.portal.kernel.exception.PortalException {
237                    return _userNotificationEventLocalService.sendUserNotificationEvents(userId,
238                            portletId, deliveryType, notificationEventJSONObject);
239            }
240    
241            /**
242            * Updates the user notification event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
243            *
244            * @param userNotificationEvent the user notification event
245            * @return the user notification event that was updated
246            */
247            @Override
248            public com.liferay.portal.kernel.model.UserNotificationEvent updateUserNotificationEvent(
249                    com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) {
250                    return _userNotificationEventLocalService.updateUserNotificationEvent(userNotificationEvent);
251            }
252    
253            @Override
254            public com.liferay.portal.kernel.model.UserNotificationEvent updateUserNotificationEvent(
255                    java.lang.String uuid, long companyId, boolean archive) {
256                    return _userNotificationEventLocalService.updateUserNotificationEvent(uuid,
257                            companyId, archive);
258            }
259    
260            @Override
261            public int getArchivedUserNotificationEventsCount(long userId,
262                    boolean actionRequired, boolean archived) {
263                    return _userNotificationEventLocalService.getArchivedUserNotificationEventsCount(userId,
264                            actionRequired, archived);
265            }
266    
267            @Override
268            public int getArchivedUserNotificationEventsCount(long userId,
269                    boolean archived) {
270                    return _userNotificationEventLocalService.getArchivedUserNotificationEventsCount(userId,
271                            archived);
272            }
273    
274            @Override
275            public int getArchivedUserNotificationEventsCount(long userId,
276                    int deliveryType, boolean actionRequired, boolean archived) {
277                    return _userNotificationEventLocalService.getArchivedUserNotificationEventsCount(userId,
278                            deliveryType, actionRequired, archived);
279            }
280    
281            @Override
282            public int getArchivedUserNotificationEventsCount(long userId,
283                    int deliveryType, boolean archived) {
284                    return _userNotificationEventLocalService.getArchivedUserNotificationEventsCount(userId,
285                            deliveryType, archived);
286            }
287    
288            @Override
289            public int getDeliveredUserNotificationEventsCount(long userId,
290                    boolean delivered) {
291                    return _userNotificationEventLocalService.getDeliveredUserNotificationEventsCount(userId,
292                            delivered);
293            }
294    
295            @Override
296            public int getDeliveredUserNotificationEventsCount(long userId,
297                    boolean delivered, boolean actionRequired) {
298                    return _userNotificationEventLocalService.getDeliveredUserNotificationEventsCount(userId,
299                            delivered, actionRequired);
300            }
301    
302            @Override
303            public int getDeliveredUserNotificationEventsCount(long userId,
304                    int deliveryType, boolean delivered) {
305                    return _userNotificationEventLocalService.getDeliveredUserNotificationEventsCount(userId,
306                            deliveryType, delivered);
307            }
308    
309            @Override
310            public int getDeliveredUserNotificationEventsCount(long userId,
311                    int deliveryType, boolean delivered, boolean actionRequired) {
312                    return _userNotificationEventLocalService.getDeliveredUserNotificationEventsCount(userId,
313                            deliveryType, delivered, actionRequired);
314            }
315    
316            /**
317            * Returns the number of user notification events.
318            *
319            * @return the number of user notification events
320            */
321            @Override
322            public int getUserNotificationEventsCount() {
323                    return _userNotificationEventLocalService.getUserNotificationEventsCount();
324            }
325    
326            @Override
327            public int getUserNotificationEventsCount(long userId) {
328                    return _userNotificationEventLocalService.getUserNotificationEventsCount(userId);
329            }
330    
331            @Override
332            public int getUserNotificationEventsCount(long userId, int deliveryType) {
333                    return _userNotificationEventLocalService.getUserNotificationEventsCount(userId,
334                            deliveryType);
335            }
336    
337            @Override
338            public int getUserNotificationEventsCount(long userId,
339                    java.lang.String type, int deliveryType, boolean archived) {
340                    return _userNotificationEventLocalService.getUserNotificationEventsCount(userId,
341                            type, deliveryType, archived);
342            }
343    
344            /**
345            * Returns the OSGi service identifier.
346            *
347            * @return the OSGi service identifier
348            */
349            @Override
350            public java.lang.String getOSGiServiceIdentifier() {
351                    return _userNotificationEventLocalService.getOSGiServiceIdentifier();
352            }
353    
354            @Override
355            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> addUserNotificationEvents(
356                    long userId,
357                    java.util.Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents)
358                    throws com.liferay.portal.kernel.exception.PortalException {
359                    return _userNotificationEventLocalService.addUserNotificationEvents(userId,
360                            notificationEvents);
361            }
362    
363            /**
364            * Performs a dynamic query on the database and returns the matching rows.
365            *
366            * @param dynamicQuery the dynamic query
367            * @return the matching rows
368            */
369            @Override
370            public <T> java.util.List<T> dynamicQuery(
371                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
372                    return _userNotificationEventLocalService.dynamicQuery(dynamicQuery);
373            }
374    
375            /**
376            * Performs a dynamic query on the database and returns a range of the matching rows.
377            *
378            * <p>
379            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.UserNotificationEventModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
380            * </p>
381            *
382            * @param dynamicQuery the dynamic query
383            * @param start the lower bound of the range of model instances
384            * @param end the upper bound of the range of model instances (not inclusive)
385            * @return the range of matching rows
386            */
387            @Override
388            public <T> java.util.List<T> dynamicQuery(
389                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
390                    int end) {
391                    return _userNotificationEventLocalService.dynamicQuery(dynamicQuery,
392                            start, end);
393            }
394    
395            /**
396            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
397            *
398            * <p>
399            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.UserNotificationEventModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
400            * </p>
401            *
402            * @param dynamicQuery the dynamic query
403            * @param start the lower bound of the range of model instances
404            * @param end the upper bound of the range of model instances (not inclusive)
405            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
406            * @return the ordered range of matching rows
407            */
408            @Override
409            public <T> java.util.List<T> dynamicQuery(
410                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
411                    int end,
412                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
413                    return _userNotificationEventLocalService.dynamicQuery(dynamicQuery,
414                            start, end, orderByComparator);
415            }
416    
417            @Override
418            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(
419                    long userId, boolean actionRequired, boolean archived) {
420                    return _userNotificationEventLocalService.getArchivedUserNotificationEvents(userId,
421                            actionRequired, archived);
422            }
423    
424            @Override
425            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(
426                    long userId, boolean actionRequired, boolean archived, int start,
427                    int end) {
428                    return _userNotificationEventLocalService.getArchivedUserNotificationEvents(userId,
429                            actionRequired, archived, start, end);
430            }
431    
432            @Override
433            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(
434                    long userId, boolean archived) {
435                    return _userNotificationEventLocalService.getArchivedUserNotificationEvents(userId,
436                            archived);
437            }
438    
439            @Override
440            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(
441                    long userId, boolean archived, int start, int end) {
442                    return _userNotificationEventLocalService.getArchivedUserNotificationEvents(userId,
443                            archived, start, end);
444            }
445    
446            @Override
447            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(
448                    long userId, int deliveryType, boolean actionRequired, boolean archived) {
449                    return _userNotificationEventLocalService.getArchivedUserNotificationEvents(userId,
450                            deliveryType, actionRequired, archived);
451            }
452    
453            @Override
454            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(
455                    long userId, int deliveryType, boolean actionRequired,
456                    boolean archived, int start, int end) {
457                    return _userNotificationEventLocalService.getArchivedUserNotificationEvents(userId,
458                            deliveryType, actionRequired, archived, start, end);
459            }
460    
461            @Override
462            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(
463                    long userId, int deliveryType, boolean archived) {
464                    return _userNotificationEventLocalService.getArchivedUserNotificationEvents(userId,
465                            deliveryType, archived);
466            }
467    
468            @Override
469            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(
470                    long userId, int deliveryType, boolean archived, int start, int end) {
471                    return _userNotificationEventLocalService.getArchivedUserNotificationEvents(userId,
472                            deliveryType, archived, start, end);
473            }
474    
475            @Override
476            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
477                    long userId, boolean delivered) {
478                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
479                            delivered);
480            }
481    
482            @Override
483            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
484                    long userId, boolean delivered, boolean actionRequired) {
485                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
486                            delivered, actionRequired);
487            }
488    
489            @Override
490            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
491                    long userId, boolean delivered, boolean actionRequired, int start,
492                    int end) {
493                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
494                            delivered, actionRequired, start, end);
495            }
496    
497            @Override
498            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
499                    long userId, boolean delivered, int start, int end) {
500                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
501                            delivered, start, end);
502            }
503    
504            @Override
505            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
506                    long userId, int deliveryType, boolean delivered) {
507                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
508                            deliveryType, delivered);
509            }
510    
511            @Override
512            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
513                    long userId, int deliveryType, boolean delivered, boolean actionRequired) {
514                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
515                            deliveryType, delivered, actionRequired);
516            }
517    
518            @Override
519            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
520                    long userId, int deliveryType, boolean delivered,
521                    boolean actionRequired, int start, int end) {
522                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
523                            deliveryType, delivered, actionRequired, start, end);
524            }
525    
526            @Override
527            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
528                    long userId, int deliveryType, boolean delivered, int start, int end) {
529                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
530                            deliveryType, delivered, start, end);
531            }
532    
533            @Override
534            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getTypeNotificationEvents(
535                    java.lang.String type) {
536                    return _userNotificationEventLocalService.getTypeNotificationEvents(type);
537            }
538    
539            /**
540            * Returns a range of all the user notification events.
541            *
542            * <p>
543            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.UserNotificationEventModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
544            * </p>
545            *
546            * @param start the lower bound of the range of user notification events
547            * @param end the upper bound of the range of user notification events (not inclusive)
548            * @return the range of user notification events
549            */
550            @Override
551            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(
552                    int start, int end) {
553                    return _userNotificationEventLocalService.getUserNotificationEvents(start,
554                            end);
555            }
556    
557            @Override
558            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(
559                    long userId) {
560                    return _userNotificationEventLocalService.getUserNotificationEvents(userId);
561            }
562    
563            @Override
564            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(
565                    long userId, int deliveryType) {
566                    return _userNotificationEventLocalService.getUserNotificationEvents(userId,
567                            deliveryType);
568            }
569    
570            @Override
571            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(
572                    long userId, int deliveryType, int start, int end) {
573                    return _userNotificationEventLocalService.getUserNotificationEvents(userId,
574                            deliveryType, start, end);
575            }
576    
577            @Override
578            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(
579                    long userId, int start, int end) {
580                    return _userNotificationEventLocalService.getUserNotificationEvents(userId,
581                            start, end);
582            }
583    
584            @Override
585            public java.util.List<com.liferay.portal.kernel.model.UserNotificationEvent> updateUserNotificationEvents(
586                    java.util.Collection<java.lang.String> uuids, long companyId,
587                    boolean archive) {
588                    return _userNotificationEventLocalService.updateUserNotificationEvents(uuids,
589                            companyId, archive);
590            }
591    
592            /**
593            * Returns the number of rows matching the dynamic query.
594            *
595            * @param dynamicQuery the dynamic query
596            * @return the number of rows matching the dynamic query
597            */
598            @Override
599            public long dynamicQueryCount(
600                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
601                    return _userNotificationEventLocalService.dynamicQueryCount(dynamicQuery);
602            }
603    
604            /**
605            * Returns the number of rows matching the dynamic query.
606            *
607            * @param dynamicQuery the dynamic query
608            * @param projection the projection to apply to the query
609            * @return the number of rows matching the dynamic query
610            */
611            @Override
612            public long dynamicQueryCount(
613                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
614                    com.liferay.portal.kernel.dao.orm.Projection projection) {
615                    return _userNotificationEventLocalService.dynamicQueryCount(dynamicQuery,
616                            projection);
617            }
618    
619            @Override
620            public void deleteUserNotificationEvent(java.lang.String uuid,
621                    long companyId) {
622                    _userNotificationEventLocalService.deleteUserNotificationEvent(uuid,
623                            companyId);
624            }
625    
626            @Override
627            public void deleteUserNotificationEvents(
628                    java.util.Collection<java.lang.String> uuids, long companyId) {
629                    _userNotificationEventLocalService.deleteUserNotificationEvents(uuids,
630                            companyId);
631            }
632    
633            @Override
634            public UserNotificationEventLocalService getWrappedService() {
635                    return _userNotificationEventLocalService;
636            }
637    
638            @Override
639            public void setWrappedService(
640                    UserNotificationEventLocalService userNotificationEventLocalService) {
641                    _userNotificationEventLocalService = userNotificationEventLocalService;
642            }
643    
644            private UserNotificationEventLocalService _userNotificationEventLocalService;
645    }