001
014
015 package com.liferay.portlet.announcements.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class AnnouncementsFlagLocalServiceWrapper
029 implements AnnouncementsFlagLocalService,
030 ServiceWrapper<AnnouncementsFlagLocalService> {
031 public AnnouncementsFlagLocalServiceWrapper(
032 AnnouncementsFlagLocalService announcementsFlagLocalService) {
033 _announcementsFlagLocalService = announcementsFlagLocalService;
034 }
035
036
043 public com.liferay.portlet.announcements.model.AnnouncementsFlag addAnnouncementsFlag(
044 com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _announcementsFlagLocalService.addAnnouncementsFlag(announcementsFlag);
047 }
048
049
055 public com.liferay.portlet.announcements.model.AnnouncementsFlag createAnnouncementsFlag(
056 long flagId) {
057 return _announcementsFlagLocalService.createAnnouncementsFlag(flagId);
058 }
059
060
068 public com.liferay.portlet.announcements.model.AnnouncementsFlag deleteAnnouncementsFlag(
069 long flagId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _announcementsFlagLocalService.deleteAnnouncementsFlag(flagId);
073 }
074
075
082 public com.liferay.portlet.announcements.model.AnnouncementsFlag deleteAnnouncementsFlag(
083 com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _announcementsFlagLocalService.deleteAnnouncementsFlag(announcementsFlag);
086 }
087
088 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089 return _announcementsFlagLocalService.dynamicQuery();
090 }
091
092
099 @SuppressWarnings("rawtypes")
100 public java.util.List dynamicQuery(
101 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _announcementsFlagLocalService.dynamicQuery(dynamicQuery);
104 }
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException {
123 return _announcementsFlagLocalService.dynamicQuery(dynamicQuery, start,
124 end);
125 }
126
127
141 @SuppressWarnings("rawtypes")
142 public java.util.List dynamicQuery(
143 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
144 int end,
145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146 throws com.liferay.portal.kernel.exception.SystemException {
147 return _announcementsFlagLocalService.dynamicQuery(dynamicQuery, start,
148 end, orderByComparator);
149 }
150
151
158 public long dynamicQueryCount(
159 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
160 throws com.liferay.portal.kernel.exception.SystemException {
161 return _announcementsFlagLocalService.dynamicQueryCount(dynamicQuery);
162 }
163
164 public com.liferay.portlet.announcements.model.AnnouncementsFlag fetchAnnouncementsFlag(
165 long flagId) throws com.liferay.portal.kernel.exception.SystemException {
166 return _announcementsFlagLocalService.fetchAnnouncementsFlag(flagId);
167 }
168
169
177 public com.liferay.portlet.announcements.model.AnnouncementsFlag getAnnouncementsFlag(
178 long flagId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _announcementsFlagLocalService.getAnnouncementsFlag(flagId);
182 }
183
184 public com.liferay.portal.model.PersistedModel getPersistedModel(
185 java.io.Serializable primaryKeyObj)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _announcementsFlagLocalService.getPersistedModel(primaryKeyObj);
189 }
190
191
203 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsFlag> getAnnouncementsFlags(
204 int start, int end)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _announcementsFlagLocalService.getAnnouncementsFlags(start, end);
207 }
208
209
215 public int getAnnouncementsFlagsCount()
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _announcementsFlagLocalService.getAnnouncementsFlagsCount();
218 }
219
220
227 public com.liferay.portlet.announcements.model.AnnouncementsFlag updateAnnouncementsFlag(
228 com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _announcementsFlagLocalService.updateAnnouncementsFlag(announcementsFlag);
231 }
232
233
241 public com.liferay.portlet.announcements.model.AnnouncementsFlag updateAnnouncementsFlag(
242 com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag,
243 boolean merge)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return _announcementsFlagLocalService.updateAnnouncementsFlag(announcementsFlag,
246 merge);
247 }
248
249
254 public java.lang.String getBeanIdentifier() {
255 return _announcementsFlagLocalService.getBeanIdentifier();
256 }
257
258
263 public void setBeanIdentifier(java.lang.String beanIdentifier) {
264 _announcementsFlagLocalService.setBeanIdentifier(beanIdentifier);
265 }
266
267 public com.liferay.portlet.announcements.model.AnnouncementsFlag addFlag(
268 long userId, long entryId, int value)
269 throws com.liferay.portal.kernel.exception.SystemException {
270 return _announcementsFlagLocalService.addFlag(userId, entryId, value);
271 }
272
273 public void deleteFlag(
274 com.liferay.portlet.announcements.model.AnnouncementsFlag flag)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 _announcementsFlagLocalService.deleteFlag(flag);
277 }
278
279 public void deleteFlag(long flagId)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException {
282 _announcementsFlagLocalService.deleteFlag(flagId);
283 }
284
285 public void deleteFlags(long entryId)
286 throws com.liferay.portal.kernel.exception.SystemException {
287 _announcementsFlagLocalService.deleteFlags(entryId);
288 }
289
290 public com.liferay.portlet.announcements.model.AnnouncementsFlag getFlag(
291 long userId, long entryId, int value)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 return _announcementsFlagLocalService.getFlag(userId, entryId, value);
295 }
296
297
300 public AnnouncementsFlagLocalService getWrappedAnnouncementsFlagLocalService() {
301 return _announcementsFlagLocalService;
302 }
303
304
307 public void setWrappedAnnouncementsFlagLocalService(
308 AnnouncementsFlagLocalService announcementsFlagLocalService) {
309 _announcementsFlagLocalService = announcementsFlagLocalService;
310 }
311
312 public AnnouncementsFlagLocalService getWrappedService() {
313 return _announcementsFlagLocalService;
314 }
315
316 public void setWrappedService(
317 AnnouncementsFlagLocalService announcementsFlagLocalService) {
318 _announcementsFlagLocalService = announcementsFlagLocalService;
319 }
320
321 private AnnouncementsFlagLocalService _announcementsFlagLocalService;
322 }