001
014
015 package com.liferay.portlet.bookmarks.service.base;
016
017 import com.liferay.counter.service.CounterLocalService;
018
019 import com.liferay.portal.kernel.annotation.BeanReference;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
021 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
022 import com.liferay.portal.kernel.exception.SystemException;
023 import com.liferay.portal.service.ResourceLocalService;
024 import com.liferay.portal.service.ResourceService;
025 import com.liferay.portal.service.UserLocalService;
026 import com.liferay.portal.service.UserService;
027 import com.liferay.portal.service.base.PrincipalBean;
028 import com.liferay.portal.service.persistence.ResourceFinder;
029 import com.liferay.portal.service.persistence.ResourcePersistence;
030 import com.liferay.portal.service.persistence.UserFinder;
031 import com.liferay.portal.service.persistence.UserPersistence;
032
033 import com.liferay.portlet.asset.service.AssetEntryLocalService;
034 import com.liferay.portlet.asset.service.AssetEntryService;
035 import com.liferay.portlet.asset.service.AssetTagLocalService;
036 import com.liferay.portlet.asset.service.AssetTagService;
037 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
038 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
039 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
040 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
041 import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
042 import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
043 import com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService;
044 import com.liferay.portlet.bookmarks.service.BookmarksFolderService;
045 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
046 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
047 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
048 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
049 import com.liferay.portlet.expando.service.ExpandoValueService;
050 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
051
052 import javax.sql.DataSource;
053
054
070 public abstract class BookmarksEntryServiceBaseImpl extends PrincipalBean
071 implements BookmarksEntryService {
072
077 public BookmarksEntryLocalService getBookmarksEntryLocalService() {
078 return bookmarksEntryLocalService;
079 }
080
081
086 public void setBookmarksEntryLocalService(
087 BookmarksEntryLocalService bookmarksEntryLocalService) {
088 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
089 }
090
091
096 public BookmarksEntryService getBookmarksEntryService() {
097 return bookmarksEntryService;
098 }
099
100
105 public void setBookmarksEntryService(
106 BookmarksEntryService bookmarksEntryService) {
107 this.bookmarksEntryService = bookmarksEntryService;
108 }
109
110
115 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
116 return bookmarksEntryPersistence;
117 }
118
119
124 public void setBookmarksEntryPersistence(
125 BookmarksEntryPersistence bookmarksEntryPersistence) {
126 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
127 }
128
129
134 public BookmarksEntryFinder getBookmarksEntryFinder() {
135 return bookmarksEntryFinder;
136 }
137
138
143 public void setBookmarksEntryFinder(
144 BookmarksEntryFinder bookmarksEntryFinder) {
145 this.bookmarksEntryFinder = bookmarksEntryFinder;
146 }
147
148
153 public BookmarksFolderLocalService getBookmarksFolderLocalService() {
154 return bookmarksFolderLocalService;
155 }
156
157
162 public void setBookmarksFolderLocalService(
163 BookmarksFolderLocalService bookmarksFolderLocalService) {
164 this.bookmarksFolderLocalService = bookmarksFolderLocalService;
165 }
166
167
172 public BookmarksFolderService getBookmarksFolderService() {
173 return bookmarksFolderService;
174 }
175
176
181 public void setBookmarksFolderService(
182 BookmarksFolderService bookmarksFolderService) {
183 this.bookmarksFolderService = bookmarksFolderService;
184 }
185
186
191 public BookmarksFolderPersistence getBookmarksFolderPersistence() {
192 return bookmarksFolderPersistence;
193 }
194
195
200 public void setBookmarksFolderPersistence(
201 BookmarksFolderPersistence bookmarksFolderPersistence) {
202 this.bookmarksFolderPersistence = bookmarksFolderPersistence;
203 }
204
205
210 public CounterLocalService getCounterLocalService() {
211 return counterLocalService;
212 }
213
214
219 public void setCounterLocalService(CounterLocalService counterLocalService) {
220 this.counterLocalService = counterLocalService;
221 }
222
223
228 public ResourceLocalService getResourceLocalService() {
229 return resourceLocalService;
230 }
231
232
237 public void setResourceLocalService(
238 ResourceLocalService resourceLocalService) {
239 this.resourceLocalService = resourceLocalService;
240 }
241
242
247 public ResourceService getResourceService() {
248 return resourceService;
249 }
250
251
256 public void setResourceService(ResourceService resourceService) {
257 this.resourceService = resourceService;
258 }
259
260
265 public ResourcePersistence getResourcePersistence() {
266 return resourcePersistence;
267 }
268
269
274 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
275 this.resourcePersistence = resourcePersistence;
276 }
277
278
283 public ResourceFinder getResourceFinder() {
284 return resourceFinder;
285 }
286
287
292 public void setResourceFinder(ResourceFinder resourceFinder) {
293 this.resourceFinder = resourceFinder;
294 }
295
296
301 public UserLocalService getUserLocalService() {
302 return userLocalService;
303 }
304
305
310 public void setUserLocalService(UserLocalService userLocalService) {
311 this.userLocalService = userLocalService;
312 }
313
314
319 public UserService getUserService() {
320 return userService;
321 }
322
323
328 public void setUserService(UserService userService) {
329 this.userService = userService;
330 }
331
332
337 public UserPersistence getUserPersistence() {
338 return userPersistence;
339 }
340
341
346 public void setUserPersistence(UserPersistence userPersistence) {
347 this.userPersistence = userPersistence;
348 }
349
350
355 public UserFinder getUserFinder() {
356 return userFinder;
357 }
358
359
364 public void setUserFinder(UserFinder userFinder) {
365 this.userFinder = userFinder;
366 }
367
368
373 public AssetEntryLocalService getAssetEntryLocalService() {
374 return assetEntryLocalService;
375 }
376
377
382 public void setAssetEntryLocalService(
383 AssetEntryLocalService assetEntryLocalService) {
384 this.assetEntryLocalService = assetEntryLocalService;
385 }
386
387
392 public AssetEntryService getAssetEntryService() {
393 return assetEntryService;
394 }
395
396
401 public void setAssetEntryService(AssetEntryService assetEntryService) {
402 this.assetEntryService = assetEntryService;
403 }
404
405
410 public AssetEntryPersistence getAssetEntryPersistence() {
411 return assetEntryPersistence;
412 }
413
414
419 public void setAssetEntryPersistence(
420 AssetEntryPersistence assetEntryPersistence) {
421 this.assetEntryPersistence = assetEntryPersistence;
422 }
423
424
429 public AssetEntryFinder getAssetEntryFinder() {
430 return assetEntryFinder;
431 }
432
433
438 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
439 this.assetEntryFinder = assetEntryFinder;
440 }
441
442
447 public AssetTagLocalService getAssetTagLocalService() {
448 return assetTagLocalService;
449 }
450
451
456 public void setAssetTagLocalService(
457 AssetTagLocalService assetTagLocalService) {
458 this.assetTagLocalService = assetTagLocalService;
459 }
460
461
466 public AssetTagService getAssetTagService() {
467 return assetTagService;
468 }
469
470
475 public void setAssetTagService(AssetTagService assetTagService) {
476 this.assetTagService = assetTagService;
477 }
478
479
484 public AssetTagPersistence getAssetTagPersistence() {
485 return assetTagPersistence;
486 }
487
488
493 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
494 this.assetTagPersistence = assetTagPersistence;
495 }
496
497
502 public AssetTagFinder getAssetTagFinder() {
503 return assetTagFinder;
504 }
505
506
511 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
512 this.assetTagFinder = assetTagFinder;
513 }
514
515
520 public ExpandoValueLocalService getExpandoValueLocalService() {
521 return expandoValueLocalService;
522 }
523
524
529 public void setExpandoValueLocalService(
530 ExpandoValueLocalService expandoValueLocalService) {
531 this.expandoValueLocalService = expandoValueLocalService;
532 }
533
534
539 public ExpandoValueService getExpandoValueService() {
540 return expandoValueService;
541 }
542
543
548 public void setExpandoValueService(ExpandoValueService expandoValueService) {
549 this.expandoValueService = expandoValueService;
550 }
551
552
557 public ExpandoValuePersistence getExpandoValuePersistence() {
558 return expandoValuePersistence;
559 }
560
561
566 public void setExpandoValuePersistence(
567 ExpandoValuePersistence expandoValuePersistence) {
568 this.expandoValuePersistence = expandoValuePersistence;
569 }
570
571
576 protected void runSQL(String sql) throws SystemException {
577 try {
578 DataSource dataSource = bookmarksEntryPersistence.getDataSource();
579
580 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
581 sql, new int[0]);
582
583 sqlUpdate.update();
584 }
585 catch (Exception e) {
586 throw new SystemException(e);
587 }
588 }
589
590 @BeanReference(type = BookmarksEntryLocalService.class)
591 protected BookmarksEntryLocalService bookmarksEntryLocalService;
592 @BeanReference(type = BookmarksEntryService.class)
593 protected BookmarksEntryService bookmarksEntryService;
594 @BeanReference(type = BookmarksEntryPersistence.class)
595 protected BookmarksEntryPersistence bookmarksEntryPersistence;
596 @BeanReference(type = BookmarksEntryFinder.class)
597 protected BookmarksEntryFinder bookmarksEntryFinder;
598 @BeanReference(type = BookmarksFolderLocalService.class)
599 protected BookmarksFolderLocalService bookmarksFolderLocalService;
600 @BeanReference(type = BookmarksFolderService.class)
601 protected BookmarksFolderService bookmarksFolderService;
602 @BeanReference(type = BookmarksFolderPersistence.class)
603 protected BookmarksFolderPersistence bookmarksFolderPersistence;
604 @BeanReference(type = CounterLocalService.class)
605 protected CounterLocalService counterLocalService;
606 @BeanReference(type = ResourceLocalService.class)
607 protected ResourceLocalService resourceLocalService;
608 @BeanReference(type = ResourceService.class)
609 protected ResourceService resourceService;
610 @BeanReference(type = ResourcePersistence.class)
611 protected ResourcePersistence resourcePersistence;
612 @BeanReference(type = ResourceFinder.class)
613 protected ResourceFinder resourceFinder;
614 @BeanReference(type = UserLocalService.class)
615 protected UserLocalService userLocalService;
616 @BeanReference(type = UserService.class)
617 protected UserService userService;
618 @BeanReference(type = UserPersistence.class)
619 protected UserPersistence userPersistence;
620 @BeanReference(type = UserFinder.class)
621 protected UserFinder userFinder;
622 @BeanReference(type = AssetEntryLocalService.class)
623 protected AssetEntryLocalService assetEntryLocalService;
624 @BeanReference(type = AssetEntryService.class)
625 protected AssetEntryService assetEntryService;
626 @BeanReference(type = AssetEntryPersistence.class)
627 protected AssetEntryPersistence assetEntryPersistence;
628 @BeanReference(type = AssetEntryFinder.class)
629 protected AssetEntryFinder assetEntryFinder;
630 @BeanReference(type = AssetTagLocalService.class)
631 protected AssetTagLocalService assetTagLocalService;
632 @BeanReference(type = AssetTagService.class)
633 protected AssetTagService assetTagService;
634 @BeanReference(type = AssetTagPersistence.class)
635 protected AssetTagPersistence assetTagPersistence;
636 @BeanReference(type = AssetTagFinder.class)
637 protected AssetTagFinder assetTagFinder;
638 @BeanReference(type = ExpandoValueLocalService.class)
639 protected ExpandoValueLocalService expandoValueLocalService;
640 @BeanReference(type = ExpandoValueService.class)
641 protected ExpandoValueService expandoValueService;
642 @BeanReference(type = ExpandoValuePersistence.class)
643 protected ExpandoValuePersistence expandoValuePersistence;
644 }