001
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
028 @ProviderType
029 public class AnnouncementsEntryLocalServiceWrapper
030 implements AnnouncementsEntryLocalService,
031 ServiceWrapper<AnnouncementsEntryLocalService> {
032 public AnnouncementsEntryLocalServiceWrapper(
033 AnnouncementsEntryLocalService announcementsEntryLocalService) {
034 _announcementsEntryLocalService = announcementsEntryLocalService;
035 }
036
037
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
057 @Override
058 public com.liferay.portlet.announcements.model.AnnouncementsEntry createAnnouncementsEntry(
059 long entryId) {
060 return _announcementsEntryLocalService.createAnnouncementsEntry(entryId);
061 }
062
063
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
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
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
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
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
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
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
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
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
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
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
282 @Override
283 public int getAnnouncementsEntriesCount()
284 throws com.liferay.portal.kernel.exception.SystemException {
285 return _announcementsEntryLocalService.getAnnouncementsEntriesCount();
286 }
287
288
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
307 @Override
308 public java.lang.String getBeanIdentifier() {
309 return _announcementsEntryLocalService.getBeanIdentifier();
310 }
311
312
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
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
528 public AnnouncementsEntryLocalService getWrappedAnnouncementsEntryLocalService() {
529 return _announcementsEntryLocalService;
530 }
531
532
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 }