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