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            /**
372            * Returns the Spring bean ID for this bean.
373            *
374            * @return the Spring bean ID for this bean
375            */
376            @Override
377            public java.lang.String getBeanIdentifier() {
378                    return _userNotificationEventLocalService.getBeanIdentifier();
379            }
380    
381            @Override
382            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
383                    long userId, boolean delivered) {
384                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
385                            delivered);
386            }
387    
388            @Override
389            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
390                    long userId, boolean delivered, boolean actionRequired) {
391                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
392                            delivered, actionRequired);
393            }
394    
395            @Override
396            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
397                    long userId, boolean delivered, boolean actionRequired, int start,
398                    int end) {
399                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
400                            delivered, actionRequired, start, end);
401            }
402    
403            @Override
404            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
405                    long userId, boolean delivered, int start, int end) {
406                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
407                            delivered, start, end);
408            }
409    
410            @Override
411            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
412                    long userId, int deliveryType, boolean delivered) {
413                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
414                            deliveryType, delivered);
415            }
416    
417            @Override
418            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
419                    long userId, int deliveryType, boolean delivered, boolean actionRequired) {
420                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
421                            deliveryType, delivered, actionRequired);
422            }
423    
424            @Override
425            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
426                    long userId, int deliveryType, boolean delivered,
427                    boolean actionRequired, int start, int end) {
428                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
429                            deliveryType, delivered, actionRequired, start, end);
430            }
431    
432            @Override
433            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getDeliveredUserNotificationEvents(
434                    long userId, int deliveryType, boolean delivered, int start, int end) {
435                    return _userNotificationEventLocalService.getDeliveredUserNotificationEvents(userId,
436                            deliveryType, delivered, start, end);
437            }
438    
439            @Override
440            public int getDeliveredUserNotificationEventsCount(long userId,
441                    boolean delivered) {
442                    return _userNotificationEventLocalService.getDeliveredUserNotificationEventsCount(userId,
443                            delivered);
444            }
445    
446            @Override
447            public int getDeliveredUserNotificationEventsCount(long userId,
448                    boolean delivered, boolean actionRequired) {
449                    return _userNotificationEventLocalService.getDeliveredUserNotificationEventsCount(userId,
450                            delivered, actionRequired);
451            }
452    
453            @Override
454            public int getDeliveredUserNotificationEventsCount(long userId,
455                    int deliveryType, boolean delivered) {
456                    return _userNotificationEventLocalService.getDeliveredUserNotificationEventsCount(userId,
457                            deliveryType, delivered);
458            }
459    
460            @Override
461            public int getDeliveredUserNotificationEventsCount(long userId,
462                    int deliveryType, boolean delivered, boolean actionRequired) {
463                    return _userNotificationEventLocalService.getDeliveredUserNotificationEventsCount(userId,
464                            deliveryType, delivered, actionRequired);
465            }
466    
467            @Override
468            public com.liferay.portal.model.PersistedModel getPersistedModel(
469                    java.io.Serializable primaryKeyObj)
470                    throws com.liferay.portal.kernel.exception.PortalException {
471                    return _userNotificationEventLocalService.getPersistedModel(primaryKeyObj);
472            }
473    
474            /**
475            * Returns the user notification event with the primary key.
476            *
477            * @param userNotificationEventId the primary key of the user notification event
478            * @return the user notification event
479            * @throws PortalException if a user notification event with the primary key could not be found
480            */
481            @Override
482            public com.liferay.portal.model.UserNotificationEvent getUserNotificationEvent(
483                    long userNotificationEventId)
484                    throws com.liferay.portal.kernel.exception.PortalException {
485                    return _userNotificationEventLocalService.getUserNotificationEvent(userNotificationEventId);
486            }
487    
488            /**
489            * Returns the user notification event with the matching UUID and company.
490            *
491            * @param uuid the user notification event's UUID
492            * @param companyId the primary key of the company
493            * @return the matching user notification event
494            * @throws PortalException if a matching user notification event could not be found
495            */
496            @Override
497            public com.liferay.portal.model.UserNotificationEvent getUserNotificationEventByUuidAndCompanyId(
498                    java.lang.String uuid, long companyId)
499                    throws com.liferay.portal.kernel.exception.PortalException {
500                    return _userNotificationEventLocalService.getUserNotificationEventByUuidAndCompanyId(uuid,
501                            companyId);
502            }
503    
504            /**
505            * Returns a range of all the user notification events.
506            *
507            * <p>
508            * 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.
509            * </p>
510            *
511            * @param start the lower bound of the range of user notification events
512            * @param end the upper bound of the range of user notification events (not inclusive)
513            * @return the range of user notification events
514            */
515            @Override
516            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getUserNotificationEvents(
517                    int start, int end) {
518                    return _userNotificationEventLocalService.getUserNotificationEvents(start,
519                            end);
520            }
521    
522            @Override
523            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getUserNotificationEvents(
524                    long userId) {
525                    return _userNotificationEventLocalService.getUserNotificationEvents(userId);
526            }
527    
528            /**
529            * @deprecated As of 6.2.0 {@link #getArchivedUserNotificationEvents(long,
530            boolean)}
531            */
532            @Deprecated
533            @Override
534            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getUserNotificationEvents(
535                    long userId, boolean archived) {
536                    return _userNotificationEventLocalService.getUserNotificationEvents(userId,
537                            archived);
538            }
539    
540            /**
541            * @deprecated As of 6.2.0 {@link #getArchivedUserNotificationEvents(long,
542            boolean, int, int)}
543            */
544            @Deprecated
545            @Override
546            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getUserNotificationEvents(
547                    long userId, boolean archived, int start, int end) {
548                    return _userNotificationEventLocalService.getUserNotificationEvents(userId,
549                            archived, start, end);
550            }
551    
552            @Override
553            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getUserNotificationEvents(
554                    long userId, int deliveryType) {
555                    return _userNotificationEventLocalService.getUserNotificationEvents(userId,
556                            deliveryType);
557            }
558    
559            @Override
560            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getUserNotificationEvents(
561                    long userId, int deliveryType, int start, int end) {
562                    return _userNotificationEventLocalService.getUserNotificationEvents(userId,
563                            deliveryType, start, end);
564            }
565    
566            @Override
567            public java.util.List<com.liferay.portal.model.UserNotificationEvent> getUserNotificationEvents(
568                    long userId, int start, int end) {
569                    return _userNotificationEventLocalService.getUserNotificationEvents(userId,
570                            start, end);
571            }
572    
573            /**
574            * Returns the number of user notification events.
575            *
576            * @return the number of user notification events
577            */
578            @Override
579            public int getUserNotificationEventsCount() {
580                    return _userNotificationEventLocalService.getUserNotificationEventsCount();
581            }
582    
583            @Override
584            public int getUserNotificationEventsCount(long userId) {
585                    return _userNotificationEventLocalService.getUserNotificationEventsCount(userId);
586            }
587    
588            /**
589            * @deprecated As of 6.2.0 {@link
590            #getArchivedUserNotificationEventsCount(long, boolean)}
591            */
592            @Deprecated
593            @Override
594            public int getUserNotificationEventsCount(long userId, boolean archived) {
595                    return _userNotificationEventLocalService.getUserNotificationEventsCount(userId,
596                            archived);
597            }
598    
599            @Override
600            public int getUserNotificationEventsCount(long userId, int deliveryType) {
601                    return _userNotificationEventLocalService.getUserNotificationEventsCount(userId,
602                            deliveryType);
603            }
604    
605            @Override
606            public com.liferay.portal.model.UserNotificationEvent sendUserNotificationEvents(
607                    long userId, java.lang.String portletId, int deliveryType,
608                    boolean actionRequired,
609                    com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject)
610                    throws com.liferay.portal.kernel.exception.PortalException {
611                    return _userNotificationEventLocalService.sendUserNotificationEvents(userId,
612                            portletId, deliveryType, actionRequired, notificationEventJSONObject);
613            }
614    
615            @Override
616            public com.liferay.portal.model.UserNotificationEvent sendUserNotificationEvents(
617                    long userId, java.lang.String portletId, int deliveryType,
618                    com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject)
619                    throws com.liferay.portal.kernel.exception.PortalException {
620                    return _userNotificationEventLocalService.sendUserNotificationEvents(userId,
621                            portletId, deliveryType, notificationEventJSONObject);
622            }
623    
624            /**
625            * Sets the Spring bean ID for this bean.
626            *
627            * @param beanIdentifier the Spring bean ID for this bean
628            */
629            @Override
630            public void setBeanIdentifier(java.lang.String beanIdentifier) {
631                    _userNotificationEventLocalService.setBeanIdentifier(beanIdentifier);
632            }
633    
634            /**
635            * Updates the user notification event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
636            *
637            * @param userNotificationEvent the user notification event
638            * @return the user notification event that was updated
639            */
640            @Override
641            public com.liferay.portal.model.UserNotificationEvent updateUserNotificationEvent(
642                    com.liferay.portal.model.UserNotificationEvent userNotificationEvent) {
643                    return _userNotificationEventLocalService.updateUserNotificationEvent(userNotificationEvent);
644            }
645    
646            @Override
647            public com.liferay.portal.model.UserNotificationEvent updateUserNotificationEvent(
648                    java.lang.String uuid, long companyId, boolean archive) {
649                    return _userNotificationEventLocalService.updateUserNotificationEvent(uuid,
650                            companyId, archive);
651            }
652    
653            @Override
654            public java.util.List<com.liferay.portal.model.UserNotificationEvent> updateUserNotificationEvents(
655                    java.util.Collection<java.lang.String> uuids, long companyId,
656                    boolean archive) {
657                    return _userNotificationEventLocalService.updateUserNotificationEvents(uuids,
658                            companyId, archive);
659            }
660    
661            /**
662             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
663             */
664            @Deprecated
665            public UserNotificationEventLocalService getWrappedUserNotificationEventLocalService() {
666                    return _userNotificationEventLocalService;
667            }
668    
669            /**
670             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
671             */
672            @Deprecated
673            public void setWrappedUserNotificationEventLocalService(
674                    UserNotificationEventLocalService userNotificationEventLocalService) {
675                    _userNotificationEventLocalService = userNotificationEventLocalService;
676            }
677    
678            @Override
679            public UserNotificationEventLocalService getWrappedService() {
680                    return _userNotificationEventLocalService;
681            }
682    
683            @Override
684            public void setWrappedService(
685                    UserNotificationEventLocalService userNotificationEventLocalService) {
686                    _userNotificationEventLocalService = userNotificationEventLocalService;
687            }
688    
689            private UserNotificationEventLocalService _userNotificationEventLocalService;
690    }