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.annotation.BeanReference;
022 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
023 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
024 import com.liferay.portal.kernel.exception.SystemException;
025 import com.liferay.portal.kernel.util.InfrastructureUtil;
026 import com.liferay.portal.service.CompanyLocalService;
027 import com.liferay.portal.service.CompanyService;
028 import com.liferay.portal.service.GroupLocalService;
029 import com.liferay.portal.service.GroupService;
030 import com.liferay.portal.service.LayoutLocalService;
031 import com.liferay.portal.service.LayoutService;
032 import com.liferay.portal.service.ResourceLocalService;
033 import com.liferay.portal.service.ResourceService;
034 import com.liferay.portal.service.RoleLocalService;
035 import com.liferay.portal.service.RoleService;
036 import com.liferay.portal.service.UserGroupLocalService;
037 import com.liferay.portal.service.UserGroupRoleLocalService;
038 import com.liferay.portal.service.UserGroupRoleService;
039 import com.liferay.portal.service.UserGroupService;
040 import com.liferay.portal.service.UserLocalService;
041 import com.liferay.portal.service.UserService;
042 import com.liferay.portal.service.base.PrincipalBean;
043 import com.liferay.portal.service.persistence.CompanyPersistence;
044 import com.liferay.portal.service.persistence.GroupFinder;
045 import com.liferay.portal.service.persistence.GroupPersistence;
046 import com.liferay.portal.service.persistence.LayoutFinder;
047 import com.liferay.portal.service.persistence.LayoutPersistence;
048 import com.liferay.portal.service.persistence.ResourceFinder;
049 import com.liferay.portal.service.persistence.ResourcePersistence;
050 import com.liferay.portal.service.persistence.RoleFinder;
051 import com.liferay.portal.service.persistence.RolePersistence;
052 import com.liferay.portal.service.persistence.UserFinder;
053 import com.liferay.portal.service.persistence.UserGroupFinder;
054 import com.liferay.portal.service.persistence.UserGroupPersistence;
055 import com.liferay.portal.service.persistence.UserGroupRoleFinder;
056 import com.liferay.portal.service.persistence.UserGroupRolePersistence;
057 import com.liferay.portal.service.persistence.UserPersistence;
058
059 import com.liferay.portlet.asset.service.AssetEntryLocalService;
060 import com.liferay.portlet.asset.service.AssetEntryService;
061 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
062 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
063 import com.liferay.portlet.flags.service.FlagsEntryService;
064
065 import javax.sql.DataSource;
066
067
083 public abstract class FlagsEntryServiceBaseImpl extends PrincipalBean
084 implements FlagsEntryService {
085
090 public FlagsEntryService getFlagsEntryService() {
091 return flagsEntryService;
092 }
093
094
099 public void setFlagsEntryService(FlagsEntryService flagsEntryService) {
100 this.flagsEntryService = flagsEntryService;
101 }
102
103
108 public CounterLocalService getCounterLocalService() {
109 return counterLocalService;
110 }
111
112
117 public void setCounterLocalService(CounterLocalService counterLocalService) {
118 this.counterLocalService = counterLocalService;
119 }
120
121
126 public MailService getMailService() {
127 return mailService;
128 }
129
130
135 public void setMailService(MailService mailService) {
136 this.mailService = mailService;
137 }
138
139
144 public CompanyLocalService getCompanyLocalService() {
145 return companyLocalService;
146 }
147
148
153 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
154 this.companyLocalService = companyLocalService;
155 }
156
157
162 public CompanyService getCompanyService() {
163 return companyService;
164 }
165
166
171 public void setCompanyService(CompanyService companyService) {
172 this.companyService = companyService;
173 }
174
175
180 public CompanyPersistence getCompanyPersistence() {
181 return companyPersistence;
182 }
183
184
189 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
190 this.companyPersistence = companyPersistence;
191 }
192
193
198 public GroupLocalService getGroupLocalService() {
199 return groupLocalService;
200 }
201
202
207 public void setGroupLocalService(GroupLocalService groupLocalService) {
208 this.groupLocalService = groupLocalService;
209 }
210
211
216 public GroupService getGroupService() {
217 return groupService;
218 }
219
220
225 public void setGroupService(GroupService groupService) {
226 this.groupService = groupService;
227 }
228
229
234 public GroupPersistence getGroupPersistence() {
235 return groupPersistence;
236 }
237
238
243 public void setGroupPersistence(GroupPersistence groupPersistence) {
244 this.groupPersistence = groupPersistence;
245 }
246
247
252 public GroupFinder getGroupFinder() {
253 return groupFinder;
254 }
255
256
261 public void setGroupFinder(GroupFinder groupFinder) {
262 this.groupFinder = groupFinder;
263 }
264
265
270 public LayoutLocalService getLayoutLocalService() {
271 return layoutLocalService;
272 }
273
274
279 public void setLayoutLocalService(LayoutLocalService layoutLocalService) {
280 this.layoutLocalService = layoutLocalService;
281 }
282
283
288 public LayoutService getLayoutService() {
289 return layoutService;
290 }
291
292
297 public void setLayoutService(LayoutService layoutService) {
298 this.layoutService = layoutService;
299 }
300
301
306 public LayoutPersistence getLayoutPersistence() {
307 return layoutPersistence;
308 }
309
310
315 public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
316 this.layoutPersistence = layoutPersistence;
317 }
318
319
324 public LayoutFinder getLayoutFinder() {
325 return layoutFinder;
326 }
327
328
333 public void setLayoutFinder(LayoutFinder layoutFinder) {
334 this.layoutFinder = layoutFinder;
335 }
336
337
342 public ResourceLocalService getResourceLocalService() {
343 return resourceLocalService;
344 }
345
346
351 public void setResourceLocalService(
352 ResourceLocalService resourceLocalService) {
353 this.resourceLocalService = resourceLocalService;
354 }
355
356
361 public ResourceService getResourceService() {
362 return resourceService;
363 }
364
365
370 public void setResourceService(ResourceService resourceService) {
371 this.resourceService = resourceService;
372 }
373
374
379 public ResourcePersistence getResourcePersistence() {
380 return resourcePersistence;
381 }
382
383
388 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
389 this.resourcePersistence = resourcePersistence;
390 }
391
392
397 public ResourceFinder getResourceFinder() {
398 return resourceFinder;
399 }
400
401
406 public void setResourceFinder(ResourceFinder resourceFinder) {
407 this.resourceFinder = resourceFinder;
408 }
409
410
415 public RoleLocalService getRoleLocalService() {
416 return roleLocalService;
417 }
418
419
424 public void setRoleLocalService(RoleLocalService roleLocalService) {
425 this.roleLocalService = roleLocalService;
426 }
427
428
433 public RoleService getRoleService() {
434 return roleService;
435 }
436
437
442 public void setRoleService(RoleService roleService) {
443 this.roleService = roleService;
444 }
445
446
451 public RolePersistence getRolePersistence() {
452 return rolePersistence;
453 }
454
455
460 public void setRolePersistence(RolePersistence rolePersistence) {
461 this.rolePersistence = rolePersistence;
462 }
463
464
469 public RoleFinder getRoleFinder() {
470 return roleFinder;
471 }
472
473
478 public void setRoleFinder(RoleFinder roleFinder) {
479 this.roleFinder = roleFinder;
480 }
481
482
487 public UserLocalService getUserLocalService() {
488 return userLocalService;
489 }
490
491
496 public void setUserLocalService(UserLocalService userLocalService) {
497 this.userLocalService = userLocalService;
498 }
499
500
505 public UserService getUserService() {
506 return userService;
507 }
508
509
514 public void setUserService(UserService userService) {
515 this.userService = userService;
516 }
517
518
523 public UserPersistence getUserPersistence() {
524 return userPersistence;
525 }
526
527
532 public void setUserPersistence(UserPersistence userPersistence) {
533 this.userPersistence = userPersistence;
534 }
535
536
541 public UserFinder getUserFinder() {
542 return userFinder;
543 }
544
545
550 public void setUserFinder(UserFinder userFinder) {
551 this.userFinder = userFinder;
552 }
553
554
559 public UserGroupLocalService getUserGroupLocalService() {
560 return userGroupLocalService;
561 }
562
563
568 public void setUserGroupLocalService(
569 UserGroupLocalService userGroupLocalService) {
570 this.userGroupLocalService = userGroupLocalService;
571 }
572
573
578 public UserGroupService getUserGroupService() {
579 return userGroupService;
580 }
581
582
587 public void setUserGroupService(UserGroupService userGroupService) {
588 this.userGroupService = userGroupService;
589 }
590
591
596 public UserGroupPersistence getUserGroupPersistence() {
597 return userGroupPersistence;
598 }
599
600
605 public void setUserGroupPersistence(
606 UserGroupPersistence userGroupPersistence) {
607 this.userGroupPersistence = userGroupPersistence;
608 }
609
610
615 public UserGroupFinder getUserGroupFinder() {
616 return userGroupFinder;
617 }
618
619
624 public void setUserGroupFinder(UserGroupFinder userGroupFinder) {
625 this.userGroupFinder = userGroupFinder;
626 }
627
628
633 public UserGroupRoleLocalService getUserGroupRoleLocalService() {
634 return userGroupRoleLocalService;
635 }
636
637
642 public void setUserGroupRoleLocalService(
643 UserGroupRoleLocalService userGroupRoleLocalService) {
644 this.userGroupRoleLocalService = userGroupRoleLocalService;
645 }
646
647
652 public UserGroupRoleService getUserGroupRoleService() {
653 return userGroupRoleService;
654 }
655
656
661 public void setUserGroupRoleService(
662 UserGroupRoleService userGroupRoleService) {
663 this.userGroupRoleService = userGroupRoleService;
664 }
665
666
671 public UserGroupRolePersistence getUserGroupRolePersistence() {
672 return userGroupRolePersistence;
673 }
674
675
680 public void setUserGroupRolePersistence(
681 UserGroupRolePersistence userGroupRolePersistence) {
682 this.userGroupRolePersistence = userGroupRolePersistence;
683 }
684
685
690 public UserGroupRoleFinder getUserGroupRoleFinder() {
691 return userGroupRoleFinder;
692 }
693
694
699 public void setUserGroupRoleFinder(UserGroupRoleFinder userGroupRoleFinder) {
700 this.userGroupRoleFinder = userGroupRoleFinder;
701 }
702
703
708 public AssetEntryLocalService getAssetEntryLocalService() {
709 return assetEntryLocalService;
710 }
711
712
717 public void setAssetEntryLocalService(
718 AssetEntryLocalService assetEntryLocalService) {
719 this.assetEntryLocalService = assetEntryLocalService;
720 }
721
722
727 public AssetEntryService getAssetEntryService() {
728 return assetEntryService;
729 }
730
731
736 public void setAssetEntryService(AssetEntryService assetEntryService) {
737 this.assetEntryService = assetEntryService;
738 }
739
740
745 public AssetEntryPersistence getAssetEntryPersistence() {
746 return assetEntryPersistence;
747 }
748
749
754 public void setAssetEntryPersistence(
755 AssetEntryPersistence assetEntryPersistence) {
756 this.assetEntryPersistence = assetEntryPersistence;
757 }
758
759
764 public AssetEntryFinder getAssetEntryFinder() {
765 return assetEntryFinder;
766 }
767
768
773 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
774 this.assetEntryFinder = assetEntryFinder;
775 }
776
777
782 protected void runSQL(String sql) throws SystemException {
783 try {
784 DataSource dataSource = InfrastructureUtil.getDataSource();
785
786 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
787 sql, new int[0]);
788
789 sqlUpdate.update();
790 }
791 catch (Exception e) {
792 throw new SystemException(e);
793 }
794 }
795
796 @BeanReference(type = FlagsEntryService.class)
797 protected FlagsEntryService flagsEntryService;
798 @BeanReference(type = CounterLocalService.class)
799 protected CounterLocalService counterLocalService;
800 @BeanReference(type = MailService.class)
801 protected MailService mailService;
802 @BeanReference(type = CompanyLocalService.class)
803 protected CompanyLocalService companyLocalService;
804 @BeanReference(type = CompanyService.class)
805 protected CompanyService companyService;
806 @BeanReference(type = CompanyPersistence.class)
807 protected CompanyPersistence companyPersistence;
808 @BeanReference(type = GroupLocalService.class)
809 protected GroupLocalService groupLocalService;
810 @BeanReference(type = GroupService.class)
811 protected GroupService groupService;
812 @BeanReference(type = GroupPersistence.class)
813 protected GroupPersistence groupPersistence;
814 @BeanReference(type = GroupFinder.class)
815 protected GroupFinder groupFinder;
816 @BeanReference(type = LayoutLocalService.class)
817 protected LayoutLocalService layoutLocalService;
818 @BeanReference(type = LayoutService.class)
819 protected LayoutService layoutService;
820 @BeanReference(type = LayoutPersistence.class)
821 protected LayoutPersistence layoutPersistence;
822 @BeanReference(type = LayoutFinder.class)
823 protected LayoutFinder layoutFinder;
824 @BeanReference(type = ResourceLocalService.class)
825 protected ResourceLocalService resourceLocalService;
826 @BeanReference(type = ResourceService.class)
827 protected ResourceService resourceService;
828 @BeanReference(type = ResourcePersistence.class)
829 protected ResourcePersistence resourcePersistence;
830 @BeanReference(type = ResourceFinder.class)
831 protected ResourceFinder resourceFinder;
832 @BeanReference(type = RoleLocalService.class)
833 protected RoleLocalService roleLocalService;
834 @BeanReference(type = RoleService.class)
835 protected RoleService roleService;
836 @BeanReference(type = RolePersistence.class)
837 protected RolePersistence rolePersistence;
838 @BeanReference(type = RoleFinder.class)
839 protected RoleFinder roleFinder;
840 @BeanReference(type = UserLocalService.class)
841 protected UserLocalService userLocalService;
842 @BeanReference(type = UserService.class)
843 protected UserService userService;
844 @BeanReference(type = UserPersistence.class)
845 protected UserPersistence userPersistence;
846 @BeanReference(type = UserFinder.class)
847 protected UserFinder userFinder;
848 @BeanReference(type = UserGroupLocalService.class)
849 protected UserGroupLocalService userGroupLocalService;
850 @BeanReference(type = UserGroupService.class)
851 protected UserGroupService userGroupService;
852 @BeanReference(type = UserGroupPersistence.class)
853 protected UserGroupPersistence userGroupPersistence;
854 @BeanReference(type = UserGroupFinder.class)
855 protected UserGroupFinder userGroupFinder;
856 @BeanReference(type = UserGroupRoleLocalService.class)
857 protected UserGroupRoleLocalService userGroupRoleLocalService;
858 @BeanReference(type = UserGroupRoleService.class)
859 protected UserGroupRoleService userGroupRoleService;
860 @BeanReference(type = UserGroupRolePersistence.class)
861 protected UserGroupRolePersistence userGroupRolePersistence;
862 @BeanReference(type = UserGroupRoleFinder.class)
863 protected UserGroupRoleFinder userGroupRoleFinder;
864 @BeanReference(type = AssetEntryLocalService.class)
865 protected AssetEntryLocalService assetEntryLocalService;
866 @BeanReference(type = AssetEntryService.class)
867 protected AssetEntryService assetEntryService;
868 @BeanReference(type = AssetEntryPersistence.class)
869 protected AssetEntryPersistence assetEntryPersistence;
870 @BeanReference(type = AssetEntryFinder.class)
871 protected AssetEntryFinder assetEntryFinder;
872 }