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