1
19
20 package com.liferay.portlet.ratings.service.base;
21
22 import com.liferay.counter.service.CounterLocalService;
23 import com.liferay.counter.service.CounterService;
24
25 import com.liferay.portal.SystemException;
26 import com.liferay.portal.kernel.annotation.BeanReference;
27 import com.liferay.portal.service.UserLocalService;
28 import com.liferay.portal.service.UserService;
29 import com.liferay.portal.service.base.PrincipalBean;
30 import com.liferay.portal.service.persistence.UserFinder;
31 import com.liferay.portal.service.persistence.UserPersistence;
32 import com.liferay.portal.util.PortalUtil;
33
34 import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
35 import com.liferay.portlet.blogs.service.BlogsEntryService;
36 import com.liferay.portlet.blogs.service.BlogsStatsUserLocalService;
37 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
38 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
39 import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
40 import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
41 import com.liferay.portlet.ratings.service.RatingsEntryLocalService;
42 import com.liferay.portlet.ratings.service.RatingsEntryService;
43 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
44 import com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence;
45 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
46
47
53 public abstract class RatingsEntryServiceBaseImpl extends PrincipalBean
54 implements RatingsEntryService {
55 public RatingsEntryLocalService getRatingsEntryLocalService() {
56 return ratingsEntryLocalService;
57 }
58
59 public void setRatingsEntryLocalService(
60 RatingsEntryLocalService ratingsEntryLocalService) {
61 this.ratingsEntryLocalService = ratingsEntryLocalService;
62 }
63
64 public RatingsEntryService getRatingsEntryService() {
65 return ratingsEntryService;
66 }
67
68 public void setRatingsEntryService(RatingsEntryService ratingsEntryService) {
69 this.ratingsEntryService = ratingsEntryService;
70 }
71
72 public RatingsEntryPersistence getRatingsEntryPersistence() {
73 return ratingsEntryPersistence;
74 }
75
76 public void setRatingsEntryPersistence(
77 RatingsEntryPersistence ratingsEntryPersistence) {
78 this.ratingsEntryPersistence = ratingsEntryPersistence;
79 }
80
81 public RatingsStatsLocalService getRatingsStatsLocalService() {
82 return ratingsStatsLocalService;
83 }
84
85 public void setRatingsStatsLocalService(
86 RatingsStatsLocalService ratingsStatsLocalService) {
87 this.ratingsStatsLocalService = ratingsStatsLocalService;
88 }
89
90 public RatingsStatsPersistence getRatingsStatsPersistence() {
91 return ratingsStatsPersistence;
92 }
93
94 public void setRatingsStatsPersistence(
95 RatingsStatsPersistence ratingsStatsPersistence) {
96 this.ratingsStatsPersistence = ratingsStatsPersistence;
97 }
98
99 public CounterLocalService getCounterLocalService() {
100 return counterLocalService;
101 }
102
103 public void setCounterLocalService(CounterLocalService counterLocalService) {
104 this.counterLocalService = counterLocalService;
105 }
106
107 public CounterService getCounterService() {
108 return counterService;
109 }
110
111 public void setCounterService(CounterService counterService) {
112 this.counterService = counterService;
113 }
114
115 public UserLocalService getUserLocalService() {
116 return userLocalService;
117 }
118
119 public void setUserLocalService(UserLocalService userLocalService) {
120 this.userLocalService = userLocalService;
121 }
122
123 public UserService getUserService() {
124 return userService;
125 }
126
127 public void setUserService(UserService userService) {
128 this.userService = userService;
129 }
130
131 public UserPersistence getUserPersistence() {
132 return userPersistence;
133 }
134
135 public void setUserPersistence(UserPersistence userPersistence) {
136 this.userPersistence = userPersistence;
137 }
138
139 public UserFinder getUserFinder() {
140 return userFinder;
141 }
142
143 public void setUserFinder(UserFinder userFinder) {
144 this.userFinder = userFinder;
145 }
146
147 public BlogsEntryLocalService getBlogsEntryLocalService() {
148 return blogsEntryLocalService;
149 }
150
151 public void setBlogsEntryLocalService(
152 BlogsEntryLocalService blogsEntryLocalService) {
153 this.blogsEntryLocalService = blogsEntryLocalService;
154 }
155
156 public BlogsEntryService getBlogsEntryService() {
157 return blogsEntryService;
158 }
159
160 public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
161 this.blogsEntryService = blogsEntryService;
162 }
163
164 public BlogsEntryPersistence getBlogsEntryPersistence() {
165 return blogsEntryPersistence;
166 }
167
168 public void setBlogsEntryPersistence(
169 BlogsEntryPersistence blogsEntryPersistence) {
170 this.blogsEntryPersistence = blogsEntryPersistence;
171 }
172
173 public BlogsEntryFinder getBlogsEntryFinder() {
174 return blogsEntryFinder;
175 }
176
177 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
178 this.blogsEntryFinder = blogsEntryFinder;
179 }
180
181 public BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
182 return blogsStatsUserLocalService;
183 }
184
185 public void setBlogsStatsUserLocalService(
186 BlogsStatsUserLocalService blogsStatsUserLocalService) {
187 this.blogsStatsUserLocalService = blogsStatsUserLocalService;
188 }
189
190 public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
191 return blogsStatsUserPersistence;
192 }
193
194 public void setBlogsStatsUserPersistence(
195 BlogsStatsUserPersistence blogsStatsUserPersistence) {
196 this.blogsStatsUserPersistence = blogsStatsUserPersistence;
197 }
198
199 public BlogsStatsUserFinder getBlogsStatsUserFinder() {
200 return blogsStatsUserFinder;
201 }
202
203 public void setBlogsStatsUserFinder(
204 BlogsStatsUserFinder blogsStatsUserFinder) {
205 this.blogsStatsUserFinder = blogsStatsUserFinder;
206 }
207
208 protected void runSQL(String sql) throws SystemException {
209 try {
210 PortalUtil.runSQL(sql);
211 }
212 catch (Exception e) {
213 throw new SystemException(e);
214 }
215 }
216
217 @BeanReference(name = "com.liferay.portlet.ratings.service.RatingsEntryLocalService.impl")
218 protected RatingsEntryLocalService ratingsEntryLocalService;
219 @BeanReference(name = "com.liferay.portlet.ratings.service.RatingsEntryService.impl")
220 protected RatingsEntryService ratingsEntryService;
221 @BeanReference(name = "com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence.impl")
222 protected RatingsEntryPersistence ratingsEntryPersistence;
223 @BeanReference(name = "com.liferay.portlet.ratings.service.RatingsStatsLocalService.impl")
224 protected RatingsStatsLocalService ratingsStatsLocalService;
225 @BeanReference(name = "com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence.impl")
226 protected RatingsStatsPersistence ratingsStatsPersistence;
227 @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
228 protected CounterLocalService counterLocalService;
229 @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
230 protected CounterService counterService;
231 @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
232 protected UserLocalService userLocalService;
233 @BeanReference(name = "com.liferay.portal.service.UserService.impl")
234 protected UserService userService;
235 @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
236 protected UserPersistence userPersistence;
237 @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
238 protected UserFinder userFinder;
239 @BeanReference(name = "com.liferay.portlet.blogs.service.BlogsEntryLocalService.impl")
240 protected BlogsEntryLocalService blogsEntryLocalService;
241 @BeanReference(name = "com.liferay.portlet.blogs.service.BlogsEntryService.impl")
242 protected BlogsEntryService blogsEntryService;
243 @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence.impl")
244 protected BlogsEntryPersistence blogsEntryPersistence;
245 @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder.impl")
246 protected BlogsEntryFinder blogsEntryFinder;
247 @BeanReference(name = "com.liferay.portlet.blogs.service.BlogsStatsUserLocalService.impl")
248 protected BlogsStatsUserLocalService blogsStatsUserLocalService;
249 @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence.impl")
250 protected BlogsStatsUserPersistence blogsStatsUserPersistence;
251 @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder.impl")
252 protected BlogsStatsUserFinder blogsStatsUserFinder;
253 }