001
014
015 package com.liferay.portlet.announcements.service;
016
017
026 public class AnnouncementsEntryServiceWrapper
027 implements AnnouncementsEntryService {
028 public AnnouncementsEntryServiceWrapper(
029 AnnouncementsEntryService announcementsEntryService) {
030 _announcementsEntryService = announcementsEntryService;
031 }
032
033 public com.liferay.portlet.announcements.model.AnnouncementsEntry addEntry(
034 long plid, long classNameId, long classPK, java.lang.String title,
035 java.lang.String content, java.lang.String url, java.lang.String type,
036 int displayDateMonth, int displayDateDay, int displayDateYear,
037 int displayDateHour, int displayDateMinute, int expirationDateMonth,
038 int expirationDateDay, int expirationDateYear, int expirationDateHour,
039 int expirationDateMinute, int priority, boolean alert)
040 throws com.liferay.portal.kernel.exception.PortalException,
041 com.liferay.portal.kernel.exception.SystemException {
042 return _announcementsEntryService.addEntry(plid, classNameId, classPK,
043 title, content, url, type, displayDateMonth, displayDateDay,
044 displayDateYear, displayDateHour, displayDateMinute,
045 expirationDateMonth, expirationDateDay, expirationDateYear,
046 expirationDateHour, expirationDateMinute, priority, alert);
047 }
048
049 public void deleteEntry(long entryId)
050 throws com.liferay.portal.kernel.exception.PortalException,
051 com.liferay.portal.kernel.exception.SystemException {
052 _announcementsEntryService.deleteEntry(entryId);
053 }
054
055 public com.liferay.portlet.announcements.model.AnnouncementsEntry updateEntry(
056 long entryId, java.lang.String title, java.lang.String content,
057 java.lang.String url, java.lang.String type, int displayDateMonth,
058 int displayDateDay, int displayDateYear, int displayDateHour,
059 int displayDateMinute, int expirationDateMonth, int expirationDateDay,
060 int expirationDateYear, int expirationDateHour,
061 int expirationDateMinute, int priority)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 return _announcementsEntryService.updateEntry(entryId, title, content,
065 url, type, displayDateMonth, displayDateDay, displayDateYear,
066 displayDateHour, displayDateMinute, expirationDateMonth,
067 expirationDateDay, expirationDateYear, expirationDateHour,
068 expirationDateMinute, priority);
069 }
070
071 public AnnouncementsEntryService getWrappedAnnouncementsEntryService() {
072 return _announcementsEntryService;
073 }
074
075 private AnnouncementsEntryService _announcementsEntryService;
076 }