001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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 void deleteEntries(long classNameId, long classPK)
388                    throws com.liferay.portal.kernel.exception.PortalException,
389                            com.liferay.portal.kernel.exception.SystemException {
390                    _announcementsEntryLocalService.deleteEntries(classNameId, classPK);
391            }
392    
393            @Override
394            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getEntries(
395                    long userId, java.util.LinkedHashMap<java.lang.Long, long[]> scopes,
396                    boolean alert, int flagValue, int start, int end)
397                    throws com.liferay.portal.kernel.exception.SystemException {
398                    return _announcementsEntryLocalService.getEntries(userId, scopes,
399                            alert, flagValue, start, end);
400            }
401    
402            @Override
403            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getEntries(
404                    long userId, java.util.LinkedHashMap<java.lang.Long, long[]> scopes,
405                    int displayDateMonth, int displayDateDay, int displayDateYear,
406                    int displayDateHour, int displayDateMinute, int expirationDateMonth,
407                    int expirationDateDay, int expirationDateYear, int expirationDateHour,
408                    int expirationDateMinute, boolean alert, int flagValue, int start,
409                    int end) throws com.liferay.portal.kernel.exception.SystemException {
410                    return _announcementsEntryLocalService.getEntries(userId, scopes,
411                            displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
412                            displayDateMinute, expirationDateMonth, expirationDateDay,
413                            expirationDateYear, expirationDateHour, expirationDateMinute,
414                            alert, flagValue, start, end);
415            }
416    
417            @Override
418            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getEntries(
419                    long classNameId, long classPK, boolean alert, int start, int end)
420                    throws com.liferay.portal.kernel.exception.SystemException {
421                    return _announcementsEntryLocalService.getEntries(classNameId, classPK,
422                            alert, start, end);
423            }
424    
425            @Override
426            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getEntries(
427                    long userId, long classNameId, long[] classPKs, int displayDateMonth,
428                    int displayDateDay, int displayDateYear, int displayDateHour,
429                    int displayDateMinute, int expirationDateMonth, int expirationDateDay,
430                    int expirationDateYear, int expirationDateHour,
431                    int expirationDateMinute, boolean alert, int flagValue, int start,
432                    int end) throws com.liferay.portal.kernel.exception.SystemException {
433                    return _announcementsEntryLocalService.getEntries(userId, classNameId,
434                            classPKs, displayDateMonth, displayDateDay, displayDateYear,
435                            displayDateHour, displayDateMinute, expirationDateMonth,
436                            expirationDateDay, expirationDateYear, expirationDateHour,
437                            expirationDateMinute, alert, flagValue, start, end);
438            }
439    
440            @Override
441            public int getEntriesCount(long userId,
442                    java.util.LinkedHashMap<java.lang.Long, long[]> scopes, boolean alert,
443                    int flagValue)
444                    throws com.liferay.portal.kernel.exception.SystemException {
445                    return _announcementsEntryLocalService.getEntriesCount(userId, scopes,
446                            alert, flagValue);
447            }
448    
449            @Override
450            public int getEntriesCount(long userId,
451                    java.util.LinkedHashMap<java.lang.Long, long[]> scopes,
452                    int displayDateMonth, int displayDateDay, int displayDateYear,
453                    int displayDateHour, int displayDateMinute, int expirationDateMonth,
454                    int expirationDateDay, int expirationDateYear, int expirationDateHour,
455                    int expirationDateMinute, boolean alert, int flagValue)
456                    throws com.liferay.portal.kernel.exception.SystemException {
457                    return _announcementsEntryLocalService.getEntriesCount(userId, scopes,
458                            displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
459                            displayDateMinute, expirationDateMonth, expirationDateDay,
460                            expirationDateYear, expirationDateHour, expirationDateMinute,
461                            alert, flagValue);
462            }
463    
464            @Override
465            public int getEntriesCount(long classNameId, long classPK, boolean alert)
466                    throws com.liferay.portal.kernel.exception.SystemException {
467                    return _announcementsEntryLocalService.getEntriesCount(classNameId,
468                            classPK, alert);
469            }
470    
471            @Override
472            public int getEntriesCount(long userId, long classNameId, long[] classPKs,
473                    boolean alert, int flagValue)
474                    throws com.liferay.portal.kernel.exception.SystemException {
475                    return _announcementsEntryLocalService.getEntriesCount(userId,
476                            classNameId, classPKs, alert, flagValue);
477            }
478    
479            @Override
480            public int getEntriesCount(long userId, long classNameId, long[] classPKs,
481                    int displayDateMonth, int displayDateDay, int displayDateYear,
482                    int displayDateHour, int displayDateMinute, int expirationDateMonth,
483                    int expirationDateDay, int expirationDateYear, int expirationDateHour,
484                    int expirationDateMinute, boolean alert, int flagValue)
485                    throws com.liferay.portal.kernel.exception.SystemException {
486                    return _announcementsEntryLocalService.getEntriesCount(userId,
487                            classNameId, classPKs, displayDateMonth, displayDateDay,
488                            displayDateYear, displayDateHour, displayDateMinute,
489                            expirationDateMonth, expirationDateDay, expirationDateYear,
490                            expirationDateHour, expirationDateMinute, alert, flagValue);
491            }
492    
493            @Override
494            public com.liferay.portlet.announcements.model.AnnouncementsEntry getEntry(
495                    long entryId)
496                    throws com.liferay.portal.kernel.exception.PortalException,
497                            com.liferay.portal.kernel.exception.SystemException {
498                    return _announcementsEntryLocalService.getEntry(entryId);
499            }
500    
501            @Override
502            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> getUserEntries(
503                    long userId, int start, int end)
504                    throws com.liferay.portal.kernel.exception.SystemException {
505                    return _announcementsEntryLocalService.getUserEntries(userId, start, end);
506            }
507    
508            @Override
509            public int getUserEntriesCount(long userId)
510                    throws com.liferay.portal.kernel.exception.SystemException {
511                    return _announcementsEntryLocalService.getUserEntriesCount(userId);
512            }
513    
514            @Override
515            public com.liferay.portlet.announcements.model.AnnouncementsEntry updateEntry(
516                    long userId, long entryId, java.lang.String title,
517                    java.lang.String content, java.lang.String url, java.lang.String type,
518                    int displayDateMonth, int displayDateDay, int displayDateYear,
519                    int displayDateHour, int displayDateMinute, boolean displayImmediately,
520                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
521                    int expirationDateHour, int expirationDateMinute, int priority)
522                    throws com.liferay.portal.kernel.exception.PortalException,
523                            com.liferay.portal.kernel.exception.SystemException {
524                    return _announcementsEntryLocalService.updateEntry(userId, entryId,
525                            title, content, url, type, displayDateMonth, displayDateDay,
526                            displayDateYear, displayDateHour, displayDateMinute,
527                            displayImmediately, expirationDateMonth, expirationDateDay,
528                            expirationDateYear, expirationDateHour, expirationDateMinute,
529                            priority);
530            }
531    
532            /**
533             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
534             */
535            public AnnouncementsEntryLocalService getWrappedAnnouncementsEntryLocalService() {
536                    return _announcementsEntryLocalService;
537            }
538    
539            /**
540             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
541             */
542            public void setWrappedAnnouncementsEntryLocalService(
543                    AnnouncementsEntryLocalService announcementsEntryLocalService) {
544                    _announcementsEntryLocalService = announcementsEntryLocalService;
545            }
546    
547            @Override
548            public AnnouncementsEntryLocalService getWrappedService() {
549                    return _announcementsEntryLocalService;
550            }
551    
552            @Override
553            public void setWrappedService(
554                    AnnouncementsEntryLocalService announcementsEntryLocalService) {
555                    _announcementsEntryLocalService = announcementsEntryLocalService;
556            }
557    
558            private AnnouncementsEntryLocalService _announcementsEntryLocalService;
559    }