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