001    /**
002     * Copyright (c) 2000-2013 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.portlet.announcements.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link AnnouncementsEntryLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see AnnouncementsEntryLocalService
026     * @generated
027     */
028    @ProviderType
029    public class AnnouncementsEntryLocalServiceWrapper
030            implements AnnouncementsEntryLocalService,
031                    ServiceWrapper<AnnouncementsEntryLocalService> {
032            public AnnouncementsEntryLocalServiceWrapper(
033                    AnnouncementsEntryLocalService announcementsEntryLocalService) {
034                    _announcementsEntryLocalService = announcementsEntryLocalService;
035            }
036    
037            /**
038            * Adds the announcements entry to the database. Also notifies the appropriate model listeners.
039            *
040            * @param announcementsEntry the announcements entry
041            * @return the announcements entry that was added
042            * @throws SystemException if a system exception occurred
043            */
044            @Override
045            public com.liferay.portlet.announcements.model.AnnouncementsEntry addAnnouncementsEntry(
046                    com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry)
047                    throws com.liferay.portal.kernel.exception.SystemException {
048                    return _announcementsEntryLocalService.addAnnouncementsEntry(announcementsEntry);
049            }
050    
051            /**
052            * Creates a new announcements entry with the primary key. Does not add the announcements entry to the database.
053            *
054            * @param entryId the primary key for the new announcements entry
055            * @return the new announcements entry
056            */
057            @Override
058            public com.liferay.portlet.announcements.model.AnnouncementsEntry createAnnouncementsEntry(
059                    long entryId) {
060                    return _announcementsEntryLocalService.createAnnouncementsEntry(entryId);
061            }
062    
063            /**
064            * Deletes the announcements entry with the primary key from the database. Also notifies the appropriate model listeners.
065            *
066            * @param entryId the primary key of the announcements entry
067            * @return the announcements entry that was removed
068            * @throws PortalException if a announcements entry with the primary key could not be found
069            * @throws SystemException if a system exception occurred
070            */
071            @Override
072            public com.liferay.portlet.announcements.model.AnnouncementsEntry deleteAnnouncementsEntry(
073                    long entryId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _announcementsEntryLocalService.deleteAnnouncementsEntry(entryId);
077            }
078    
079            /**
080            * Deletes the announcements entry from the database. Also notifies the appropriate model listeners.
081            *
082            * @param announcementsEntry the announcements entry
083            * @return the announcements entry that was removed
084            * @throws SystemException if a system exception occurred
085            */
086            @Override
087            public com.liferay.portlet.announcements.model.AnnouncementsEntry deleteAnnouncementsEntry(
088                    com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry)
089                    throws com.liferay.portal.kernel.exception.SystemException {
090                    return _announcementsEntryLocalService.deleteAnnouncementsEntry(announcementsEntry);
091            }
092    
093            @Override
094            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
095                    return _announcementsEntryLocalService.dynamicQuery();
096            }
097    
098            /**
099            * Performs a dynamic query on the database and returns the matching rows.
100            *
101            * @param dynamicQuery the dynamic query
102            * @return the matching rows
103            * @throws SystemException if a system exception occurred
104            */
105            @Override
106            @SuppressWarnings("rawtypes")
107            public java.util.List dynamicQuery(
108                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _announcementsEntryLocalService.dynamicQuery(dynamicQuery);
111            }
112    
113            /**
114            * Performs a dynamic query on the database and returns a range of the matching rows.
115            *
116            * <p>
117            * 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.portlet.announcements.model.impl.AnnouncementsEntryModelImpl}. 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.
118            * </p>
119            *
120            * @param dynamicQuery the dynamic query
121            * @param start the lower bound of the range of model instances
122            * @param end the upper bound of the range of model instances (not inclusive)
123            * @return the range of matching rows
124            * @throws SystemException if a system exception occurred
125            */
126            @Override
127            @SuppressWarnings("rawtypes")
128            public java.util.List dynamicQuery(
129                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130                    int end) throws com.liferay.portal.kernel.exception.SystemException {
131                    return _announcementsEntryLocalService.dynamicQuery(dynamicQuery,
132                            start, end);
133            }
134    
135            /**
136            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
137            *
138            * <p>
139            * 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.portlet.announcements.model.impl.AnnouncementsEntryModelImpl}. 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.
140            * </p>
141            *
142            * @param dynamicQuery the dynamic query
143            * @param start the lower bound of the range of model instances
144            * @param end the upper bound of the range of model instances (not inclusive)
145            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
146            * @return the ordered range of matching rows
147            * @throws SystemException if a system exception occurred
148            */
149            @Override
150            @SuppressWarnings("rawtypes")
151            public java.util.List dynamicQuery(
152                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
153                    int end,
154                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155                    throws com.liferay.portal.kernel.exception.SystemException {
156                    return _announcementsEntryLocalService.dynamicQuery(dynamicQuery,
157                            start, end, orderByComparator);
158            }
159    
160            /**
161            * Returns the number of rows that match the dynamic query.
162            *
163            * @param dynamicQuery the dynamic query
164            * @return the number of rows that match the dynamic query
165            * @throws SystemException if a system exception occurred
166            */
167            @Override
168            public long dynamicQueryCount(
169                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
170                    throws com.liferay.portal.kernel.exception.SystemException {
171                    return _announcementsEntryLocalService.dynamicQueryCount(dynamicQuery);
172            }
173    
174            /**
175            * Returns the number of rows that match the dynamic query.
176            *
177            * @param dynamicQuery the dynamic query
178            * @param projection the projection to apply to the query
179            * @return the number of rows that match the dynamic query
180            * @throws SystemException if a system exception occurred
181            */
182            @Override
183            public long dynamicQueryCount(
184                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
185                    com.liferay.portal.kernel.dao.orm.Projection projection)
186                    throws com.liferay.portal.kernel.exception.SystemException {
187                    return _announcementsEntryLocalService.dynamicQueryCount(dynamicQuery,
188                            projection);
189            }
190    
191            @Override
192            public com.liferay.portlet.announcements.model.AnnouncementsEntry fetchAnnouncementsEntry(
193                    long entryId)
194                    throws com.liferay.portal.kernel.exception.SystemException {
195                    return _announcementsEntryLocalService.fetchAnnouncementsEntry(entryId);
196            }
197    
198            /**
199            * Returns the announcements entry with the matching UUID and company.
200            *
201            * @param uuid the announcements entry's UUID
202            * @param companyId the primary key of the company
203            * @return the matching announcements entry, or <code>null</code> if a matching announcements entry could not be found
204            * @throws SystemException if a system exception occurred
205            */
206            @Override
207            public com.liferay.portlet.announcements.model.AnnouncementsEntry fetchAnnouncementsEntryByUuidAndCompanyId(
208                    java.lang.String uuid, long companyId)
209                    throws com.liferay.portal.kernel.exception.SystemException {
210                    return _announcementsEntryLocalService.fetchAnnouncementsEntryByUuidAndCompanyId(uuid,
211                            companyId);
212            }
213    
214            /**
215            * Returns the announcements entry with the primary key.
216            *
217            * @param entryId the primary key of the announcements entry
218            * @return the announcements entry
219            * @throws PortalException if a announcements entry with the primary key could not be found
220            * @throws SystemException if a system exception occurred
221            */
222            @Override
223            public com.liferay.portlet.announcements.model.AnnouncementsEntry getAnnouncementsEntry(
224                    long entryId)
225                    throws com.liferay.portal.kernel.exception.PortalException,
226                            com.liferay.portal.kernel.exception.SystemException {
227                    return _announcementsEntryLocalService.getAnnouncementsEntry(entryId);
228            }
229    
230            @Override
231            public com.liferay.portal.model.PersistedModel getPersistedModel(
232                    java.io.Serializable primaryKeyObj)
233                    throws com.liferay.portal.kernel.exception.PortalException,
234                            com.liferay.portal.kernel.exception.SystemException {
235                    return _announcementsEntryLocalService.getPersistedModel(primaryKeyObj);
236            }
237    
238            /**
239            * Returns the announcements entry with the matching UUID and company.
240            *
241            * @param uuid the announcements entry's UUID
242            * @param companyId the primary key of the company
243            * @return the matching announcements entry
244            * @throws PortalException if a matching announcements entry could not be found
245            * @throws SystemException if a system exception occurred
246            */
247            @Override
248            public com.liferay.portlet.announcements.model.AnnouncementsEntry getAnnouncementsEntryByUuidAndCompanyId(
249                    java.lang.String uuid, long companyId)
250                    throws com.liferay.portal.kernel.exception.PortalException,
251                            com.liferay.portal.kernel.exception.SystemException {
252                    return _announcementsEntryLocalService.getAnnouncementsEntryByUuidAndCompanyId(uuid,
253                            companyId);
254            }
255    
256            /**
257            * Returns a range of all the announcements entries.
258            *
259            * <p>
260            * 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.portlet.announcements.model.impl.AnnouncementsEntryModelImpl}. 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.
261            * </p>
262            *
263            * @param start the lower bound of the range of announcements entries
264            * @param end the upper bound of the range of announcements entries (not inclusive)
265            * @return the range of announcements entries
266            * @throws SystemException if a system exception occurred
267            */
268            @Override
269            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getAnnouncementsEntries(
270                    int start, int end)
271                    throws com.liferay.portal.kernel.exception.SystemException {
272                    return _announcementsEntryLocalService.getAnnouncementsEntries(start,
273                            end);
274            }
275    
276            /**
277            * Returns the number of announcements entries.
278            *
279            * @return the number of announcements entries
280            * @throws SystemException if a system exception occurred
281            */
282            @Override
283            public int getAnnouncementsEntriesCount()
284                    throws com.liferay.portal.kernel.exception.SystemException {
285                    return _announcementsEntryLocalService.getAnnouncementsEntriesCount();
286            }
287    
288            /**
289            * Updates the announcements entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
290            *
291            * @param announcementsEntry the announcements entry
292            * @return the announcements entry that was updated
293            * @throws SystemException if a system exception occurred
294            */
295            @Override
296            public com.liferay.portlet.announcements.model.AnnouncementsEntry updateAnnouncementsEntry(
297                    com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry)
298                    throws com.liferay.portal.kernel.exception.SystemException {
299                    return _announcementsEntryLocalService.updateAnnouncementsEntry(announcementsEntry);
300            }
301    
302            /**
303            * Returns the Spring bean ID for this bean.
304            *
305            * @return the Spring bean ID for this bean
306            */
307            @Override
308            public java.lang.String getBeanIdentifier() {
309                    return _announcementsEntryLocalService.getBeanIdentifier();
310            }
311    
312            /**
313            * Sets the Spring bean ID for this bean.
314            *
315            * @param beanIdentifier the Spring bean ID for this bean
316            */
317            @Override
318            public void setBeanIdentifier(java.lang.String beanIdentifier) {
319                    _announcementsEntryLocalService.setBeanIdentifier(beanIdentifier);
320            }
321    
322            @Override
323            public com.liferay.portlet.announcements.model.AnnouncementsEntry addEntry(
324                    long userId, long classNameId, long classPK, java.lang.String title,
325                    java.lang.String content, java.lang.String url, java.lang.String type,
326                    int displayDateMonth, int displayDateDay, int displayDateYear,
327                    int displayDateHour, int displayDateMinute, boolean displayImmediately,
328                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
329                    int expirationDateHour, int expirationDateMinute, int priority,
330                    boolean alert)
331                    throws com.liferay.portal.kernel.exception.PortalException,
332                            com.liferay.portal.kernel.exception.SystemException {
333                    return _announcementsEntryLocalService.addEntry(userId, classNameId,
334                            classPK, title, content, url, type, displayDateMonth,
335                            displayDateDay, displayDateYear, displayDateHour,
336                            displayDateMinute, displayImmediately, expirationDateMonth,
337                            expirationDateDay, expirationDateYear, expirationDateHour,
338                            expirationDateMinute, priority, alert);
339            }
340    
341            /**
342            * @deprecated As of 6.2.0, replaced by {@link #addEntry(long, long, long,
343            String, String, String, String, int, int, int, int, int,
344            boolean, int, int, int, int, int, int, boolean)}
345            */
346            @Override
347            public com.liferay.portlet.announcements.model.AnnouncementsEntry addEntry(
348                    long userId, long classNameId, long classPK, java.lang.String title,
349                    java.lang.String content, java.lang.String url, java.lang.String type,
350                    int displayDateMonth, int displayDateDay, int displayDateYear,
351                    int displayDateHour, int displayDateMinute, int expirationDateMonth,
352                    int expirationDateDay, int expirationDateYear, int expirationDateHour,
353                    int expirationDateMinute, int priority, boolean alert)
354                    throws com.liferay.portal.kernel.exception.PortalException,
355                            com.liferay.portal.kernel.exception.SystemException {
356                    return _announcementsEntryLocalService.addEntry(userId, classNameId,
357                            classPK, title, content, url, type, displayDateMonth,
358                            displayDateDay, displayDateYear, displayDateHour,
359                            displayDateMinute, expirationDateMonth, expirationDateDay,
360                            expirationDateYear, expirationDateHour, expirationDateMinute,
361                            priority, alert);
362            }
363    
364            @Override
365            public void checkEntries()
366                    throws com.liferay.portal.kernel.exception.PortalException,
367                            com.liferay.portal.kernel.exception.SystemException {
368                    _announcementsEntryLocalService.checkEntries();
369            }
370    
371            @Override
372            public void deleteEntry(
373                    com.liferay.portlet.announcements.model.AnnouncementsEntry entry)
374                    throws com.liferay.portal.kernel.exception.PortalException,
375                            com.liferay.portal.kernel.exception.SystemException {
376                    _announcementsEntryLocalService.deleteEntry(entry);
377            }
378    
379            @Override
380            public void deleteEntry(long entryId)
381                    throws com.liferay.portal.kernel.exception.PortalException,
382                            com.liferay.portal.kernel.exception.SystemException {
383                    _announcementsEntryLocalService.deleteEntry(entryId);
384            }
385    
386            @Override
387            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getEntries(
388                    long userId, java.util.LinkedHashMap<java.lang.Long, long[]> scopes,
389                    boolean alert, int flagValue, int start, int end)
390                    throws com.liferay.portal.kernel.exception.SystemException {
391                    return _announcementsEntryLocalService.getEntries(userId, scopes,
392                            alert, flagValue, start, end);
393            }
394    
395            @Override
396            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getEntries(
397                    long userId, java.util.LinkedHashMap<java.lang.Long, long[]> scopes,
398                    int displayDateMonth, int displayDateDay, int displayDateYear,
399                    int displayDateHour, int displayDateMinute, int expirationDateMonth,
400                    int expirationDateDay, int expirationDateYear, int expirationDateHour,
401                    int expirationDateMinute, boolean alert, int flagValue, int start,
402                    int end) throws com.liferay.portal.kernel.exception.SystemException {
403                    return _announcementsEntryLocalService.getEntries(userId, scopes,
404                            displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
405                            displayDateMinute, expirationDateMonth, expirationDateDay,
406                            expirationDateYear, expirationDateHour, expirationDateMinute,
407                            alert, flagValue, start, end);
408            }
409    
410            @Override
411            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getEntries(
412                    long classNameId, long classPK, boolean alert, int start, int end)
413                    throws com.liferay.portal.kernel.exception.SystemException {
414                    return _announcementsEntryLocalService.getEntries(classNameId, classPK,
415                            alert, start, end);
416            }
417    
418            @Override
419            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getEntries(
420                    long userId, long classNameId, long[] classPKs, int displayDateMonth,
421                    int displayDateDay, int displayDateYear, int displayDateHour,
422                    int displayDateMinute, int expirationDateMonth, int expirationDateDay,
423                    int expirationDateYear, int expirationDateHour,
424                    int expirationDateMinute, boolean alert, int flagValue, int start,
425                    int end) throws com.liferay.portal.kernel.exception.SystemException {
426                    return _announcementsEntryLocalService.getEntries(userId, classNameId,
427                            classPKs, displayDateMonth, displayDateDay, displayDateYear,
428                            displayDateHour, displayDateMinute, expirationDateMonth,
429                            expirationDateDay, expirationDateYear, expirationDateHour,
430                            expirationDateMinute, alert, flagValue, start, end);
431            }
432    
433            @Override
434            public int getEntriesCount(long userId,
435                    java.util.LinkedHashMap<java.lang.Long, long[]> scopes, boolean alert,
436                    int flagValue)
437                    throws com.liferay.portal.kernel.exception.SystemException {
438                    return _announcementsEntryLocalService.getEntriesCount(userId, scopes,
439                            alert, flagValue);
440            }
441    
442            @Override
443            public int getEntriesCount(long userId,
444                    java.util.LinkedHashMap<java.lang.Long, long[]> scopes,
445                    int displayDateMonth, int displayDateDay, int displayDateYear,
446                    int displayDateHour, int displayDateMinute, int expirationDateMonth,
447                    int expirationDateDay, int expirationDateYear, int expirationDateHour,
448                    int expirationDateMinute, boolean alert, int flagValue)
449                    throws com.liferay.portal.kernel.exception.SystemException {
450                    return _announcementsEntryLocalService.getEntriesCount(userId, scopes,
451                            displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
452                            displayDateMinute, expirationDateMonth, expirationDateDay,
453                            expirationDateYear, expirationDateHour, expirationDateMinute,
454                            alert, flagValue);
455            }
456    
457            @Override
458            public int getEntriesCount(long classNameId, long classPK, boolean alert)
459                    throws com.liferay.portal.kernel.exception.SystemException {
460                    return _announcementsEntryLocalService.getEntriesCount(classNameId,
461                            classPK, alert);
462            }
463    
464            @Override
465            public int getEntriesCount(long userId, long classNameId, long[] classPKs,
466                    boolean alert, int flagValue)
467                    throws com.liferay.portal.kernel.exception.SystemException {
468                    return _announcementsEntryLocalService.getEntriesCount(userId,
469                            classNameId, classPKs, alert, flagValue);
470            }
471    
472            @Override
473            public int getEntriesCount(long userId, long classNameId, long[] classPKs,
474                    int displayDateMonth, int displayDateDay, int displayDateYear,
475                    int displayDateHour, int displayDateMinute, int expirationDateMonth,
476                    int expirationDateDay, int expirationDateYear, int expirationDateHour,
477                    int expirationDateMinute, boolean alert, int flagValue)
478                    throws com.liferay.portal.kernel.exception.SystemException {
479                    return _announcementsEntryLocalService.getEntriesCount(userId,
480                            classNameId, classPKs, displayDateMonth, displayDateDay,
481                            displayDateYear, displayDateHour, displayDateMinute,
482                            expirationDateMonth, expirationDateDay, expirationDateYear,
483                            expirationDateHour, expirationDateMinute, alert, flagValue);
484            }
485    
486            @Override
487            public com.liferay.portlet.announcements.model.AnnouncementsEntry getEntry(
488                    long entryId)
489                    throws com.liferay.portal.kernel.exception.PortalException,
490                            com.liferay.portal.kernel.exception.SystemException {
491                    return _announcementsEntryLocalService.getEntry(entryId);
492            }
493    
494            @Override
495            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getUserEntries(
496                    long userId, int start, int end)
497                    throws com.liferay.portal.kernel.exception.SystemException {
498                    return _announcementsEntryLocalService.getUserEntries(userId, start, end);
499            }
500    
501            @Override
502            public int getUserEntriesCount(long userId)
503                    throws com.liferay.portal.kernel.exception.SystemException {
504                    return _announcementsEntryLocalService.getUserEntriesCount(userId);
505            }
506    
507            @Override
508            public com.liferay.portlet.announcements.model.AnnouncementsEntry updateEntry(
509                    long userId, long entryId, java.lang.String title,
510                    java.lang.String content, java.lang.String url, java.lang.String type,
511                    int displayDateMonth, int displayDateDay, int displayDateYear,
512                    int displayDateHour, int displayDateMinute, boolean displayImmediately,
513                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
514                    int expirationDateHour, int expirationDateMinute, int priority)
515                    throws com.liferay.portal.kernel.exception.PortalException,
516                            com.liferay.portal.kernel.exception.SystemException {
517                    return _announcementsEntryLocalService.updateEntry(userId, entryId,
518                            title, content, url, type, displayDateMonth, displayDateDay,
519                            displayDateYear, displayDateHour, displayDateMinute,
520                            displayImmediately, expirationDateMonth, expirationDateDay,
521                            expirationDateYear, expirationDateHour, expirationDateMinute,
522                            priority);
523            }
524    
525            /**
526             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
527             */
528            public AnnouncementsEntryLocalService getWrappedAnnouncementsEntryLocalService() {
529                    return _announcementsEntryLocalService;
530            }
531    
532            /**
533             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
534             */
535            public void setWrappedAnnouncementsEntryLocalService(
536                    AnnouncementsEntryLocalService announcementsEntryLocalService) {
537                    _announcementsEntryLocalService = announcementsEntryLocalService;
538            }
539    
540            @Override
541            public AnnouncementsEntryLocalService getWrappedService() {
542                    return _announcementsEntryLocalService;
543            }
544    
545            @Override
546            public void setWrappedService(
547                    AnnouncementsEntryLocalService announcementsEntryLocalService) {
548                    _announcementsEntryLocalService = announcementsEntryLocalService;
549            }
550    
551            private AnnouncementsEntryLocalService _announcementsEntryLocalService;
552    }