001
014
015 package com.liferay.portlet.flags.service.base;
016
017 import com.liferay.counter.service.CounterLocalService;
018
019 import com.liferay.mail.service.MailService;
020
021 import com.liferay.portal.kernel.bean.BeanReference;
022 import com.liferay.portal.kernel.bean.IdentifiableBean;
023 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025 import com.liferay.portal.kernel.exception.SystemException;
026 import com.liferay.portal.kernel.util.InfrastructureUtil;
027 import com.liferay.portal.service.BaseServiceImpl;
028 import com.liferay.portal.service.CompanyLocalService;
029 import com.liferay.portal.service.CompanyService;
030 import com.liferay.portal.service.GroupLocalService;
031 import com.liferay.portal.service.GroupService;
032 import com.liferay.portal.service.LayoutLocalService;
033 import com.liferay.portal.service.LayoutService;
034 import com.liferay.portal.service.ResourceLocalService;
035 import com.liferay.portal.service.ResourceService;
036 import com.liferay.portal.service.RoleLocalService;
037 import com.liferay.portal.service.RoleService;
038 import com.liferay.portal.service.UserGroupLocalService;
039 import com.liferay.portal.service.UserGroupRoleLocalService;
040 import com.liferay.portal.service.UserGroupRoleService;
041 import com.liferay.portal.service.UserGroupService;
042 import com.liferay.portal.service.UserLocalService;
043 import com.liferay.portal.service.UserService;
044 import com.liferay.portal.service.persistence.CompanyPersistence;
045 import com.liferay.portal.service.persistence.GroupFinder;
046 import com.liferay.portal.service.persistence.GroupPersistence;
047 import com.liferay.portal.service.persistence.LayoutFinder;
048 import com.liferay.portal.service.persistence.LayoutPersistence;
049 import com.liferay.portal.service.persistence.ResourceFinder;
050 import com.liferay.portal.service.persistence.ResourcePersistence;
051 import com.liferay.portal.service.persistence.RoleFinder;
052 import com.liferay.portal.service.persistence.RolePersistence;
053 import com.liferay.portal.service.persistence.UserFinder;
054 import com.liferay.portal.service.persistence.UserGroupFinder;
055 import com.liferay.portal.service.persistence.UserGroupPersistence;
056 import com.liferay.portal.service.persistence.UserGroupRoleFinder;
057 import com.liferay.portal.service.persistence.UserGroupRolePersistence;
058 import com.liferay.portal.service.persistence.UserPersistence;
059
060 import com.liferay.portlet.asset.service.AssetEntryLocalService;
061 import com.liferay.portlet.asset.service.AssetEntryService;
062 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
063 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
064 import com.liferay.portlet.flags.service.FlagsEntryService;
065
066 import javax.sql.DataSource;
067
068
080 public abstract class FlagsEntryServiceBaseImpl extends BaseServiceImpl
081 implements FlagsEntryService, IdentifiableBean {
082
087
088
093 public FlagsEntryService getFlagsEntryService() {
094 return flagsEntryService;
095 }
096
097
102 public void setFlagsEntryService(FlagsEntryService flagsEntryService) {
103 this.flagsEntryService = flagsEntryService;
104 }
105
106
111 public CounterLocalService getCounterLocalService() {
112 return counterLocalService;
113 }
114
115
120 public void setCounterLocalService(CounterLocalService counterLocalService) {
121 this.counterLocalService = counterLocalService;
122 }
123
124
129 public MailService getMailService() {
130 return mailService;
131 }
132
133
138 public void setMailService(MailService mailService) {
139 this.mailService = mailService;
140 }
141
142
147 public CompanyLocalService getCompanyLocalService() {
148 return companyLocalService;
149 }
150
151
156 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
157 this.companyLocalService = companyLocalService;
158 }
159
160
165 public CompanyService getCompanyService() {
166 return companyService;
167 }
168
169
174 public void setCompanyService(CompanyService companyService) {
175 this.companyService = companyService;
176 }
177
178
183 public CompanyPersistence getCompanyPersistence() {
184 return companyPersistence;
185 }
186
187
192 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
193 this.companyPersistence = companyPersistence;
194 }
195
196
201 public GroupLocalService getGroupLocalService() {
202 return groupLocalService;
203 }
204
205
210 public void setGroupLocalService(GroupLocalService groupLocalService) {
211 this.groupLocalService = groupLocalService;
212 }
213
214
219 public GroupService getGroupService() {
220 return groupService;
221 }
222
223
228 public void setGroupService(GroupService groupService) {
229 this.groupService = groupService;
230 }
231
232
237 public GroupPersistence getGroupPersistence() {
238 return groupPersistence;
239 }
240
241
246 public void setGroupPersistence(GroupPersistence groupPersistence) {
247 this.groupPersistence = groupPersistence;
248 }
249
250
255 public GroupFinder getGroupFinder() {
256 return groupFinder;
257 }
258
259
264 public void setGroupFinder(GroupFinder groupFinder) {
265 this.groupFinder = groupFinder;
266 }
267
268
273 public LayoutLocalService getLayoutLocalService() {
274 return layoutLocalService;
275 }
276
277
282 public void setLayoutLocalService(LayoutLocalService layoutLocalService) {
283 this.layoutLocalService = layoutLocalService;
284 }
285
286
291 public LayoutService getLayoutService() {
292 return layoutService;
293 }
294
295
300 public void setLayoutService(LayoutService layoutService) {
301 this.layoutService = layoutService;
302 }
303
304
309 public LayoutPersistence getLayoutPersistence() {
310 return layoutPersistence;
311 }
312
313
318 public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
319 this.layoutPersistence = layoutPersistence;
320 }
321
322
327 public LayoutFinder getLayoutFinder() {
328 return layoutFinder;
329 }
330
331
336 public void setLayoutFinder(LayoutFinder layoutFinder) {
337 this.layoutFinder = layoutFinder;
338 }
339
340
345 public ResourceLocalService getResourceLocalService() {
346 return resourceLocalService;
347 }
348
349
354 public void setResourceLocalService(
355 ResourceLocalService resourceLocalService) {
356 this.resourceLocalService = resourceLocalService;
357 }
358
359
364 public ResourceService getResourceService() {
365 return resourceService;
366 }
367
368
373 public void setResourceService(ResourceService resourceService) {
374 this.resourceService = resourceService;
375 }
376
377
382 public ResourcePersistence getResourcePersistence() {
383 return resourcePersistence;
384 }
385
386
391 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
392 this.resourcePersistence = resourcePersistence;
393 }
394
395
400 public ResourceFinder getResourceFinder() {
401 return resourceFinder;
402 }
403
404
409 public void setResourceFinder(ResourceFinder resourceFinder) {
410 this.resourceFinder = resourceFinder;
411 }
412
413
418 public RoleLocalService getRoleLocalService() {
419 return roleLocalService;
420 }
421
422
427 public void setRoleLocalService(RoleLocalService roleLocalService) {
428 this.roleLocalService = roleLocalService;
429 }
430
431
436 public RoleService getRoleService() {
437 return roleService;
438 }
439
440
445 public void setRoleService(RoleService roleService) {
446 this.roleService = roleService;
447 }
448
449
454 public RolePersistence getRolePersistence() {
455 return rolePersistence;
456 }
457
458
463 public void setRolePersistence(RolePersistence rolePersistence) {
464 this.rolePersistence = rolePersistence;
465 }
466
467
472 public RoleFinder getRoleFinder() {
473 return roleFinder;
474 }
475
476
481 public void setRoleFinder(RoleFinder roleFinder) {
482 this.roleFinder = roleFinder;
483 }
484
485
490 public UserLocalService getUserLocalService() {
491 return userLocalService;
492 }
493
494
499 public void setUserLocalService(UserLocalService userLocalService) {
500 this.userLocalService = userLocalService;
501 }
502
503
508 public UserService getUserService() {
509 return userService;
510 }
511
512
517 public void setUserService(UserService userService) {
518 this.userService = userService;
519 }
520
521
526 public UserPersistence getUserPersistence() {
527 return userPersistence;
528 }
529
530
535 public void setUserPersistence(UserPersistence userPersistence) {
536 this.userPersistence = userPersistence;
537 }
538
539
544 public UserFinder getUserFinder() {
545 return userFinder;
546 }
547
548
553 public void setUserFinder(UserFinder userFinder) {
554 this.userFinder = userFinder;
555 }
556
557
562 public UserGroupLocalService getUserGroupLocalService() {
563 return userGroupLocalService;
564 }
565
566
571 public void setUserGroupLocalService(
572 UserGroupLocalService userGroupLocalService) {
573 this.userGroupLocalService = userGroupLocalService;
574 }
575
576
581 public UserGroupService getUserGroupService() {
582 return userGroupService;
583 }
584
585
590 public void setUserGroupService(UserGroupService userGroupService) {
591 this.userGroupService = userGroupService;
592 }
593
594
599 public UserGroupPersistence getUserGroupPersistence() {
600 return userGroupPersistence;
601 }
602
603
608 public void setUserGroupPersistence(
609 UserGroupPersistence userGroupPersistence) {
610 this.userGroupPersistence = userGroupPersistence;
611 }
612
613
618 public UserGroupFinder getUserGroupFinder() {
619 return userGroupFinder;
620 }
621
622
627 public void setUserGroupFinder(UserGroupFinder userGroupFinder) {
628 this.userGroupFinder = userGroupFinder;
629 }
630
631
636 public UserGroupRoleLocalService getUserGroupRoleLocalService() {
637 return userGroupRoleLocalService;
638 }
639
640
645 public void setUserGroupRoleLocalService(
646 UserGroupRoleLocalService userGroupRoleLocalService) {
647 this.userGroupRoleLocalService = userGroupRoleLocalService;
648 }
649
650
655 public UserGroupRoleService getUserGroupRoleService() {
656 return userGroupRoleService;
657 }
658
659
664 public void setUserGroupRoleService(
665 UserGroupRoleService userGroupRoleService) {
666 this.userGroupRoleService = userGroupRoleService;
667 }
668
669
674 public UserGroupRolePersistence getUserGroupRolePersistence() {
675 return userGroupRolePersistence;
676 }
677
678
683 public void setUserGroupRolePersistence(
684 UserGroupRolePersistence userGroupRolePersistence) {
685 this.userGroupRolePersistence = userGroupRolePersistence;
686 }
687
688
693 public UserGroupRoleFinder getUserGroupRoleFinder() {
694 return userGroupRoleFinder;
695 }
696
697
702 public void setUserGroupRoleFinder(UserGroupRoleFinder userGroupRoleFinder) {
703 this.userGroupRoleFinder = userGroupRoleFinder;
704 }
705
706
711 public AssetEntryLocalService getAssetEntryLocalService() {
712 return assetEntryLocalService;
713 }
714
715
720 public void setAssetEntryLocalService(
721 AssetEntryLocalService assetEntryLocalService) {
722 this.assetEntryLocalService = assetEntryLocalService;
723 }
724
725
730 public AssetEntryService getAssetEntryService() {
731 return assetEntryService;
732 }
733
734
739 public void setAssetEntryService(AssetEntryService assetEntryService) {
740 this.assetEntryService = assetEntryService;
741 }
742
743
748 public AssetEntryPersistence getAssetEntryPersistence() {
749 return assetEntryPersistence;
750 }
751
752
757 public void setAssetEntryPersistence(
758 AssetEntryPersistence assetEntryPersistence) {
759 this.assetEntryPersistence = assetEntryPersistence;
760 }
761
762
767 public AssetEntryFinder getAssetEntryFinder() {
768 return assetEntryFinder;
769 }
770
771
776 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
777 this.assetEntryFinder = assetEntryFinder;
778 }
779
780 public void afterPropertiesSet() {
781 }
782
783 public void destroy() {
784 }
785
786
791 public String getBeanIdentifier() {
792 return _beanIdentifier;
793 }
794
795
800 public void setBeanIdentifier(String beanIdentifier) {
801 _beanIdentifier = beanIdentifier;
802 }
803
804
809 protected void runSQL(String sql) throws SystemException {
810 try {
811 DataSource dataSource = InfrastructureUtil.getDataSource();
812
813 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
814 sql, new int[0]);
815
816 sqlUpdate.update();
817 }
818 catch (Exception e) {
819 throw new SystemException(e);
820 }
821 }
822
823 @BeanReference(type = FlagsEntryService.class)
824 protected FlagsEntryService flagsEntryService;
825 @BeanReference(type = CounterLocalService.class)
826 protected CounterLocalService counterLocalService;
827 @BeanReference(type = MailService.class)
828 protected MailService mailService;
829 @BeanReference(type = CompanyLocalService.class)
830 protected CompanyLocalService companyLocalService;
831 @BeanReference(type = CompanyService.class)
832 protected CompanyService companyService;
833 @BeanReference(type = CompanyPersistence.class)
834 protected CompanyPersistence companyPersistence;
835 @BeanReference(type = GroupLocalService.class)
836 protected GroupLocalService groupLocalService;
837 @BeanReference(type = GroupService.class)
838 protected GroupService groupService;
839 @BeanReference(type = GroupPersistence.class)
840 protected GroupPersistence groupPersistence;
841 @BeanReference(type = GroupFinder.class)
842 protected GroupFinder groupFinder;
843 @BeanReference(type = LayoutLocalService.class)
844 protected LayoutLocalService layoutLocalService;
845 @BeanReference(type = LayoutService.class)
846 protected LayoutService layoutService;
847 @BeanReference(type = LayoutPersistence.class)
848 protected LayoutPersistence layoutPersistence;
849 @BeanReference(type = LayoutFinder.class)
850 protected LayoutFinder layoutFinder;
851 @BeanReference(type = ResourceLocalService.class)
852 protected ResourceLocalService resourceLocalService;
853 @BeanReference(type = ResourceService.class)
854 protected ResourceService resourceService;
855 @BeanReference(type = ResourcePersistence.class)
856 protected ResourcePersistence resourcePersistence;
857 @BeanReference(type = ResourceFinder.class)
858 protected ResourceFinder resourceFinder;
859 @BeanReference(type = RoleLocalService.class)
860 protected RoleLocalService roleLocalService;
861 @BeanReference(type = RoleService.class)
862 protected RoleService roleService;
863 @BeanReference(type = RolePersistence.class)
864 protected RolePersistence rolePersistence;
865 @BeanReference(type = RoleFinder.class)
866 protected RoleFinder roleFinder;
867 @BeanReference(type = UserLocalService.class)
868 protected UserLocalService userLocalService;
869 @BeanReference(type = UserService.class)
870 protected UserService userService;
871 @BeanReference(type = UserPersistence.class)
872 protected UserPersistence userPersistence;
873 @BeanReference(type = UserFinder.class)
874 protected UserFinder userFinder;
875 @BeanReference(type = UserGroupLocalService.class)
876 protected UserGroupLocalService userGroupLocalService;
877 @BeanReference(type = UserGroupService.class)
878 protected UserGroupService userGroupService;
879 @BeanReference(type = UserGroupPersistence.class)
880 protected UserGroupPersistence userGroupPersistence;
881 @BeanReference(type = UserGroupFinder.class)
882 protected UserGroupFinder userGroupFinder;
883 @BeanReference(type = UserGroupRoleLocalService.class)
884 protected UserGroupRoleLocalService userGroupRoleLocalService;
885 @BeanReference(type = UserGroupRoleService.class)
886 protected UserGroupRoleService userGroupRoleService;
887 @BeanReference(type = UserGroupRolePersistence.class)
888 protected UserGroupRolePersistence userGroupRolePersistence;
889 @BeanReference(type = UserGroupRoleFinder.class)
890 protected UserGroupRoleFinder userGroupRoleFinder;
891 @BeanReference(type = AssetEntryLocalService.class)
892 protected AssetEntryLocalService assetEntryLocalService;
893 @BeanReference(type = AssetEntryService.class)
894 protected AssetEntryService assetEntryService;
895 @BeanReference(type = AssetEntryPersistence.class)
896 protected AssetEntryPersistence assetEntryPersistence;
897 @BeanReference(type = AssetEntryFinder.class)
898 protected AssetEntryFinder assetEntryFinder;
899 private String _beanIdentifier;
900 }