001
014
015 package com.liferay.portlet.social.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.kernel.util.InfrastructureUtil;
024 import com.liferay.portal.service.ResourceLocalService;
025 import com.liferay.portal.service.ResourceService;
026 import com.liferay.portal.service.UserLocalService;
027 import com.liferay.portal.service.UserService;
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.social.service.SocialActivityInterpreterLocalService;
034 import com.liferay.portlet.social.service.SocialActivityLocalService;
035 import com.liferay.portlet.social.service.SocialEquityHistoryLocalService;
036 import com.liferay.portlet.social.service.SocialEquityLogLocalService;
037 import com.liferay.portlet.social.service.SocialEquitySettingLocalService;
038 import com.liferay.portlet.social.service.SocialEquityUserLocalService;
039 import com.liferay.portlet.social.service.SocialRelationLocalService;
040 import com.liferay.portlet.social.service.SocialRequestInterpreterLocalService;
041 import com.liferay.portlet.social.service.SocialRequestLocalService;
042 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
043 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
044 import com.liferay.portlet.social.service.persistence.SocialEquityAssetEntryPersistence;
045 import com.liferay.portlet.social.service.persistence.SocialEquityHistoryPersistence;
046 import com.liferay.portlet.social.service.persistence.SocialEquityLogPersistence;
047 import com.liferay.portlet.social.service.persistence.SocialEquitySettingPersistence;
048 import com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence;
049 import com.liferay.portlet.social.service.persistence.SocialRelationPersistence;
050 import com.liferay.portlet.social.service.persistence.SocialRequestPersistence;
051
052 import javax.sql.DataSource;
053
054
070 public abstract class SocialRequestInterpreterLocalServiceBaseImpl
071 implements SocialRequestInterpreterLocalService {
072
077 public SocialActivityLocalService getSocialActivityLocalService() {
078 return socialActivityLocalService;
079 }
080
081
086 public void setSocialActivityLocalService(
087 SocialActivityLocalService socialActivityLocalService) {
088 this.socialActivityLocalService = socialActivityLocalService;
089 }
090
091
096 public SocialActivityPersistence getSocialActivityPersistence() {
097 return socialActivityPersistence;
098 }
099
100
105 public void setSocialActivityPersistence(
106 SocialActivityPersistence socialActivityPersistence) {
107 this.socialActivityPersistence = socialActivityPersistence;
108 }
109
110
115 public SocialActivityFinder getSocialActivityFinder() {
116 return socialActivityFinder;
117 }
118
119
124 public void setSocialActivityFinder(
125 SocialActivityFinder socialActivityFinder) {
126 this.socialActivityFinder = socialActivityFinder;
127 }
128
129
134 public SocialActivityInterpreterLocalService getSocialActivityInterpreterLocalService() {
135 return socialActivityInterpreterLocalService;
136 }
137
138
143 public void setSocialActivityInterpreterLocalService(
144 SocialActivityInterpreterLocalService socialActivityInterpreterLocalService) {
145 this.socialActivityInterpreterLocalService = socialActivityInterpreterLocalService;
146 }
147
148
153 public SocialEquityAssetEntryPersistence getSocialEquityAssetEntryPersistence() {
154 return socialEquityAssetEntryPersistence;
155 }
156
157
162 public void setSocialEquityAssetEntryPersistence(
163 SocialEquityAssetEntryPersistence socialEquityAssetEntryPersistence) {
164 this.socialEquityAssetEntryPersistence = socialEquityAssetEntryPersistence;
165 }
166
167
172 public SocialEquityHistoryLocalService getSocialEquityHistoryLocalService() {
173 return socialEquityHistoryLocalService;
174 }
175
176
181 public void setSocialEquityHistoryLocalService(
182 SocialEquityHistoryLocalService socialEquityHistoryLocalService) {
183 this.socialEquityHistoryLocalService = socialEquityHistoryLocalService;
184 }
185
186
191 public SocialEquityHistoryPersistence getSocialEquityHistoryPersistence() {
192 return socialEquityHistoryPersistence;
193 }
194
195
200 public void setSocialEquityHistoryPersistence(
201 SocialEquityHistoryPersistence socialEquityHistoryPersistence) {
202 this.socialEquityHistoryPersistence = socialEquityHistoryPersistence;
203 }
204
205
210 public SocialEquityLogLocalService getSocialEquityLogLocalService() {
211 return socialEquityLogLocalService;
212 }
213
214
219 public void setSocialEquityLogLocalService(
220 SocialEquityLogLocalService socialEquityLogLocalService) {
221 this.socialEquityLogLocalService = socialEquityLogLocalService;
222 }
223
224
229 public SocialEquityLogPersistence getSocialEquityLogPersistence() {
230 return socialEquityLogPersistence;
231 }
232
233
238 public void setSocialEquityLogPersistence(
239 SocialEquityLogPersistence socialEquityLogPersistence) {
240 this.socialEquityLogPersistence = socialEquityLogPersistence;
241 }
242
243
248 public SocialEquitySettingLocalService getSocialEquitySettingLocalService() {
249 return socialEquitySettingLocalService;
250 }
251
252
257 public void setSocialEquitySettingLocalService(
258 SocialEquitySettingLocalService socialEquitySettingLocalService) {
259 this.socialEquitySettingLocalService = socialEquitySettingLocalService;
260 }
261
262
267 public SocialEquitySettingPersistence getSocialEquitySettingPersistence() {
268 return socialEquitySettingPersistence;
269 }
270
271
276 public void setSocialEquitySettingPersistence(
277 SocialEquitySettingPersistence socialEquitySettingPersistence) {
278 this.socialEquitySettingPersistence = socialEquitySettingPersistence;
279 }
280
281
286 public SocialEquityUserLocalService getSocialEquityUserLocalService() {
287 return socialEquityUserLocalService;
288 }
289
290
295 public void setSocialEquityUserLocalService(
296 SocialEquityUserLocalService socialEquityUserLocalService) {
297 this.socialEquityUserLocalService = socialEquityUserLocalService;
298 }
299
300
305 public SocialEquityUserPersistence getSocialEquityUserPersistence() {
306 return socialEquityUserPersistence;
307 }
308
309
314 public void setSocialEquityUserPersistence(
315 SocialEquityUserPersistence socialEquityUserPersistence) {
316 this.socialEquityUserPersistence = socialEquityUserPersistence;
317 }
318
319
324 public SocialRelationLocalService getSocialRelationLocalService() {
325 return socialRelationLocalService;
326 }
327
328
333 public void setSocialRelationLocalService(
334 SocialRelationLocalService socialRelationLocalService) {
335 this.socialRelationLocalService = socialRelationLocalService;
336 }
337
338
343 public SocialRelationPersistence getSocialRelationPersistence() {
344 return socialRelationPersistence;
345 }
346
347
352 public void setSocialRelationPersistence(
353 SocialRelationPersistence socialRelationPersistence) {
354 this.socialRelationPersistence = socialRelationPersistence;
355 }
356
357
362 public SocialRequestLocalService getSocialRequestLocalService() {
363 return socialRequestLocalService;
364 }
365
366
371 public void setSocialRequestLocalService(
372 SocialRequestLocalService socialRequestLocalService) {
373 this.socialRequestLocalService = socialRequestLocalService;
374 }
375
376
381 public SocialRequestPersistence getSocialRequestPersistence() {
382 return socialRequestPersistence;
383 }
384
385
390 public void setSocialRequestPersistence(
391 SocialRequestPersistence socialRequestPersistence) {
392 this.socialRequestPersistence = socialRequestPersistence;
393 }
394
395
400 public SocialRequestInterpreterLocalService getSocialRequestInterpreterLocalService() {
401 return socialRequestInterpreterLocalService;
402 }
403
404
409 public void setSocialRequestInterpreterLocalService(
410 SocialRequestInterpreterLocalService socialRequestInterpreterLocalService) {
411 this.socialRequestInterpreterLocalService = socialRequestInterpreterLocalService;
412 }
413
414
419 public CounterLocalService getCounterLocalService() {
420 return counterLocalService;
421 }
422
423
428 public void setCounterLocalService(CounterLocalService counterLocalService) {
429 this.counterLocalService = counterLocalService;
430 }
431
432
437 public ResourceLocalService getResourceLocalService() {
438 return resourceLocalService;
439 }
440
441
446 public void setResourceLocalService(
447 ResourceLocalService resourceLocalService) {
448 this.resourceLocalService = resourceLocalService;
449 }
450
451
456 public ResourceService getResourceService() {
457 return resourceService;
458 }
459
460
465 public void setResourceService(ResourceService resourceService) {
466 this.resourceService = resourceService;
467 }
468
469
474 public ResourcePersistence getResourcePersistence() {
475 return resourcePersistence;
476 }
477
478
483 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
484 this.resourcePersistence = resourcePersistence;
485 }
486
487
492 public ResourceFinder getResourceFinder() {
493 return resourceFinder;
494 }
495
496
501 public void setResourceFinder(ResourceFinder resourceFinder) {
502 this.resourceFinder = resourceFinder;
503 }
504
505
510 public UserLocalService getUserLocalService() {
511 return userLocalService;
512 }
513
514
519 public void setUserLocalService(UserLocalService userLocalService) {
520 this.userLocalService = userLocalService;
521 }
522
523
528 public UserService getUserService() {
529 return userService;
530 }
531
532
537 public void setUserService(UserService userService) {
538 this.userService = userService;
539 }
540
541
546 public UserPersistence getUserPersistence() {
547 return userPersistence;
548 }
549
550
555 public void setUserPersistence(UserPersistence userPersistence) {
556 this.userPersistence = userPersistence;
557 }
558
559
564 public UserFinder getUserFinder() {
565 return userFinder;
566 }
567
568
573 public void setUserFinder(UserFinder userFinder) {
574 this.userFinder = userFinder;
575 }
576
577
582 protected void runSQL(String sql) throws SystemException {
583 try {
584 DataSource dataSource = InfrastructureUtil.getDataSource();
585
586 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
587 sql, new int[0]);
588
589 sqlUpdate.update();
590 }
591 catch (Exception e) {
592 throw new SystemException(e);
593 }
594 }
595
596 @BeanReference(type = SocialActivityLocalService.class)
597 protected SocialActivityLocalService socialActivityLocalService;
598 @BeanReference(type = SocialActivityPersistence.class)
599 protected SocialActivityPersistence socialActivityPersistence;
600 @BeanReference(type = SocialActivityFinder.class)
601 protected SocialActivityFinder socialActivityFinder;
602 @BeanReference(type = SocialActivityInterpreterLocalService.class)
603 protected SocialActivityInterpreterLocalService socialActivityInterpreterLocalService;
604 @BeanReference(type = SocialEquityAssetEntryPersistence.class)
605 protected SocialEquityAssetEntryPersistence socialEquityAssetEntryPersistence;
606 @BeanReference(type = SocialEquityHistoryLocalService.class)
607 protected SocialEquityHistoryLocalService socialEquityHistoryLocalService;
608 @BeanReference(type = SocialEquityHistoryPersistence.class)
609 protected SocialEquityHistoryPersistence socialEquityHistoryPersistence;
610 @BeanReference(type = SocialEquityLogLocalService.class)
611 protected SocialEquityLogLocalService socialEquityLogLocalService;
612 @BeanReference(type = SocialEquityLogPersistence.class)
613 protected SocialEquityLogPersistence socialEquityLogPersistence;
614 @BeanReference(type = SocialEquitySettingLocalService.class)
615 protected SocialEquitySettingLocalService socialEquitySettingLocalService;
616 @BeanReference(type = SocialEquitySettingPersistence.class)
617 protected SocialEquitySettingPersistence socialEquitySettingPersistence;
618 @BeanReference(type = SocialEquityUserLocalService.class)
619 protected SocialEquityUserLocalService socialEquityUserLocalService;
620 @BeanReference(type = SocialEquityUserPersistence.class)
621 protected SocialEquityUserPersistence socialEquityUserPersistence;
622 @BeanReference(type = SocialRelationLocalService.class)
623 protected SocialRelationLocalService socialRelationLocalService;
624 @BeanReference(type = SocialRelationPersistence.class)
625 protected SocialRelationPersistence socialRelationPersistence;
626 @BeanReference(type = SocialRequestLocalService.class)
627 protected SocialRequestLocalService socialRequestLocalService;
628 @BeanReference(type = SocialRequestPersistence.class)
629 protected SocialRequestPersistence socialRequestPersistence;
630 @BeanReference(type = SocialRequestInterpreterLocalService.class)
631 protected SocialRequestInterpreterLocalService socialRequestInterpreterLocalService;
632 @BeanReference(type = CounterLocalService.class)
633 protected CounterLocalService counterLocalService;
634 @BeanReference(type = ResourceLocalService.class)
635 protected ResourceLocalService resourceLocalService;
636 @BeanReference(type = ResourceService.class)
637 protected ResourceService resourceService;
638 @BeanReference(type = ResourcePersistence.class)
639 protected ResourcePersistence resourcePersistence;
640 @BeanReference(type = ResourceFinder.class)
641 protected ResourceFinder resourceFinder;
642 @BeanReference(type = UserLocalService.class)
643 protected UserLocalService userLocalService;
644 @BeanReference(type = UserService.class)
645 protected UserService userService;
646 @BeanReference(type = UserPersistence.class)
647 protected UserPersistence userPersistence;
648 @BeanReference(type = UserFinder.class)
649 protected UserFinder userFinder;
650 }