001
014
015 package com.liferay.portlet.announcements.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class AnnouncementsEntryServiceWrapper
029 implements AnnouncementsEntryService,
030 ServiceWrapper<AnnouncementsEntryService> {
031 public AnnouncementsEntryServiceWrapper(
032 AnnouncementsEntryService announcementsEntryService) {
033 _announcementsEntryService = announcementsEntryService;
034 }
035
036
041 public java.lang.String getBeanIdentifier() {
042 return _announcementsEntryService.getBeanIdentifier();
043 }
044
045
050 public void setBeanIdentifier(java.lang.String beanIdentifier) {
051 _announcementsEntryService.setBeanIdentifier(beanIdentifier);
052 }
053
054 public com.liferay.portlet.announcements.model.AnnouncementsEntry addEntry(
055 long plid, long classNameId, long classPK, java.lang.String title,
056 java.lang.String content, java.lang.String url, java.lang.String type,
057 int displayDateMonth, int displayDateDay, int displayDateYear,
058 int displayDateHour, int displayDateMinute, boolean autoDisplayDate,
059 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
060 int expirationDateHour, int expirationDateMinute, int priority,
061 boolean alert)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 return _announcementsEntryService.addEntry(plid, classNameId, classPK,
065 title, content, url, type, displayDateMonth, displayDateDay,
066 displayDateYear, displayDateHour, displayDateMinute,
067 autoDisplayDate, expirationDateMonth, expirationDateDay,
068 expirationDateYear, expirationDateHour, expirationDateMinute,
069 priority, alert);
070 }
071
072
077 public com.liferay.portlet.announcements.model.AnnouncementsEntry addEntry(
078 long plid, long classNameId, long classPK, java.lang.String title,
079 java.lang.String content, java.lang.String url, java.lang.String type,
080 int displayDateMonth, int displayDateDay, int displayDateYear,
081 int displayDateHour, int displayDateMinute, int expirationDateMonth,
082 int expirationDateDay, int expirationDateYear, int expirationDateHour,
083 int expirationDateMinute, int priority, boolean alert)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException {
086 return _announcementsEntryService.addEntry(plid, classNameId, classPK,
087 title, content, url, type, displayDateMonth, displayDateDay,
088 displayDateYear, displayDateHour, displayDateMinute,
089 expirationDateMonth, expirationDateDay, expirationDateYear,
090 expirationDateHour, expirationDateMinute, priority, alert);
091 }
092
093 public void deleteEntry(long entryId)
094 throws com.liferay.portal.kernel.exception.PortalException,
095 com.liferay.portal.kernel.exception.SystemException {
096 _announcementsEntryService.deleteEntry(entryId);
097 }
098
099 public com.liferay.portlet.announcements.model.AnnouncementsEntry getEntry(
100 long entryId)
101 throws com.liferay.portal.kernel.exception.PortalException,
102 com.liferay.portal.kernel.exception.SystemException {
103 return _announcementsEntryService.getEntry(entryId);
104 }
105
106 public com.liferay.portlet.announcements.model.AnnouncementsEntry updateEntry(
107 long entryId, java.lang.String title, java.lang.String content,
108 java.lang.String url, java.lang.String type, int displayDateMonth,
109 int displayDateDay, int displayDateYear, int displayDateHour,
110 int displayDateMinute, int expirationDateMonth, int expirationDateDay,
111 int expirationDateYear, int expirationDateHour,
112 int expirationDateMinute, int priority)
113 throws com.liferay.portal.kernel.exception.PortalException,
114 com.liferay.portal.kernel.exception.SystemException {
115 return _announcementsEntryService.updateEntry(entryId, title, content,
116 url, type, displayDateMonth, displayDateDay, displayDateYear,
117 displayDateHour, displayDateMinute, expirationDateMonth,
118 expirationDateDay, expirationDateYear, expirationDateHour,
119 expirationDateMinute, priority);
120 }
121
122
125 public AnnouncementsEntryService getWrappedAnnouncementsEntryService() {
126 return _announcementsEntryService;
127 }
128
129
132 public void setWrappedAnnouncementsEntryService(
133 AnnouncementsEntryService announcementsEntryService) {
134 _announcementsEntryService = announcementsEntryService;
135 }
136
137 public AnnouncementsEntryService getWrappedService() {
138 return _announcementsEntryService;
139 }
140
141 public void setWrappedService(
142 AnnouncementsEntryService announcementsEntryService) {
143 _announcementsEntryService = announcementsEntryService;
144 }
145
146 private AnnouncementsEntryService _announcementsEntryService;
147 }