1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.ratings.service.base;
24  
25  import com.liferay.counter.service.CounterLocalService;
26  import com.liferay.counter.service.CounterService;
27  
28  import com.liferay.portal.SystemException;
29  import com.liferay.portal.kernel.annotation.BeanReference;
30  import com.liferay.portal.service.ResourceLocalService;
31  import com.liferay.portal.service.ResourceService;
32  import com.liferay.portal.service.UserLocalService;
33  import com.liferay.portal.service.UserService;
34  import com.liferay.portal.service.base.PrincipalBean;
35  import com.liferay.portal.service.persistence.ResourceFinder;
36  import com.liferay.portal.service.persistence.ResourcePersistence;
37  import com.liferay.portal.service.persistence.UserFinder;
38  import com.liferay.portal.service.persistence.UserPersistence;
39  import com.liferay.portal.util.PortalUtil;
40  
41  import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
42  import com.liferay.portlet.blogs.service.BlogsEntryService;
43  import com.liferay.portlet.blogs.service.BlogsStatsUserLocalService;
44  import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
45  import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
46  import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
47  import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
48  import com.liferay.portlet.ratings.service.RatingsEntryLocalService;
49  import com.liferay.portlet.ratings.service.RatingsEntryService;
50  import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
51  import com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence;
52  import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
53  
54  /**
55   * <a href="RatingsEntryServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
56   *
57   * @author Brian Wing Shun Chan
58   */
59  public abstract class RatingsEntryServiceBaseImpl extends PrincipalBean
60      implements RatingsEntryService {
61      public RatingsEntryLocalService getRatingsEntryLocalService() {
62          return ratingsEntryLocalService;
63      }
64  
65      public void setRatingsEntryLocalService(
66          RatingsEntryLocalService ratingsEntryLocalService) {
67          this.ratingsEntryLocalService = ratingsEntryLocalService;
68      }
69  
70      public RatingsEntryService getRatingsEntryService() {
71          return ratingsEntryService;
72      }
73  
74      public void setRatingsEntryService(RatingsEntryService ratingsEntryService) {
75          this.ratingsEntryService = ratingsEntryService;
76      }
77  
78      public RatingsEntryPersistence getRatingsEntryPersistence() {
79          return ratingsEntryPersistence;
80      }
81  
82      public void setRatingsEntryPersistence(
83          RatingsEntryPersistence ratingsEntryPersistence) {
84          this.ratingsEntryPersistence = ratingsEntryPersistence;
85      }
86  
87      public RatingsStatsLocalService getRatingsStatsLocalService() {
88          return ratingsStatsLocalService;
89      }
90  
91      public void setRatingsStatsLocalService(
92          RatingsStatsLocalService ratingsStatsLocalService) {
93          this.ratingsStatsLocalService = ratingsStatsLocalService;
94      }
95  
96      public RatingsStatsPersistence getRatingsStatsPersistence() {
97          return ratingsStatsPersistence;
98      }
99  
100     public void setRatingsStatsPersistence(
101         RatingsStatsPersistence ratingsStatsPersistence) {
102         this.ratingsStatsPersistence = ratingsStatsPersistence;
103     }
104 
105     public CounterLocalService getCounterLocalService() {
106         return counterLocalService;
107     }
108 
109     public void setCounterLocalService(CounterLocalService counterLocalService) {
110         this.counterLocalService = counterLocalService;
111     }
112 
113     public CounterService getCounterService() {
114         return counterService;
115     }
116 
117     public void setCounterService(CounterService counterService) {
118         this.counterService = counterService;
119     }
120 
121     public ResourceLocalService getResourceLocalService() {
122         return resourceLocalService;
123     }
124 
125     public void setResourceLocalService(
126         ResourceLocalService resourceLocalService) {
127         this.resourceLocalService = resourceLocalService;
128     }
129 
130     public ResourceService getResourceService() {
131         return resourceService;
132     }
133 
134     public void setResourceService(ResourceService resourceService) {
135         this.resourceService = resourceService;
136     }
137 
138     public ResourcePersistence getResourcePersistence() {
139         return resourcePersistence;
140     }
141 
142     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
143         this.resourcePersistence = resourcePersistence;
144     }
145 
146     public ResourceFinder getResourceFinder() {
147         return resourceFinder;
148     }
149 
150     public void setResourceFinder(ResourceFinder resourceFinder) {
151         this.resourceFinder = resourceFinder;
152     }
153 
154     public UserLocalService getUserLocalService() {
155         return userLocalService;
156     }
157 
158     public void setUserLocalService(UserLocalService userLocalService) {
159         this.userLocalService = userLocalService;
160     }
161 
162     public UserService getUserService() {
163         return userService;
164     }
165 
166     public void setUserService(UserService userService) {
167         this.userService = userService;
168     }
169 
170     public UserPersistence getUserPersistence() {
171         return userPersistence;
172     }
173 
174     public void setUserPersistence(UserPersistence userPersistence) {
175         this.userPersistence = userPersistence;
176     }
177 
178     public UserFinder getUserFinder() {
179         return userFinder;
180     }
181 
182     public void setUserFinder(UserFinder userFinder) {
183         this.userFinder = userFinder;
184     }
185 
186     public BlogsEntryLocalService getBlogsEntryLocalService() {
187         return blogsEntryLocalService;
188     }
189 
190     public void setBlogsEntryLocalService(
191         BlogsEntryLocalService blogsEntryLocalService) {
192         this.blogsEntryLocalService = blogsEntryLocalService;
193     }
194 
195     public BlogsEntryService getBlogsEntryService() {
196         return blogsEntryService;
197     }
198 
199     public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
200         this.blogsEntryService = blogsEntryService;
201     }
202 
203     public BlogsEntryPersistence getBlogsEntryPersistence() {
204         return blogsEntryPersistence;
205     }
206 
207     public void setBlogsEntryPersistence(
208         BlogsEntryPersistence blogsEntryPersistence) {
209         this.blogsEntryPersistence = blogsEntryPersistence;
210     }
211 
212     public BlogsEntryFinder getBlogsEntryFinder() {
213         return blogsEntryFinder;
214     }
215 
216     public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
217         this.blogsEntryFinder = blogsEntryFinder;
218     }
219 
220     public BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
221         return blogsStatsUserLocalService;
222     }
223 
224     public void setBlogsStatsUserLocalService(
225         BlogsStatsUserLocalService blogsStatsUserLocalService) {
226         this.blogsStatsUserLocalService = blogsStatsUserLocalService;
227     }
228 
229     public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
230         return blogsStatsUserPersistence;
231     }
232 
233     public void setBlogsStatsUserPersistence(
234         BlogsStatsUserPersistence blogsStatsUserPersistence) {
235         this.blogsStatsUserPersistence = blogsStatsUserPersistence;
236     }
237 
238     public BlogsStatsUserFinder getBlogsStatsUserFinder() {
239         return blogsStatsUserFinder;
240     }
241 
242     public void setBlogsStatsUserFinder(
243         BlogsStatsUserFinder blogsStatsUserFinder) {
244         this.blogsStatsUserFinder = blogsStatsUserFinder;
245     }
246 
247     protected void runSQL(String sql) throws SystemException {
248         try {
249             PortalUtil.runSQL(sql);
250         }
251         catch (Exception e) {
252             throw new SystemException(e);
253         }
254     }
255 
256     @BeanReference(name = "com.liferay.portlet.ratings.service.RatingsEntryLocalService.impl")
257     protected RatingsEntryLocalService ratingsEntryLocalService;
258     @BeanReference(name = "com.liferay.portlet.ratings.service.RatingsEntryService.impl")
259     protected RatingsEntryService ratingsEntryService;
260     @BeanReference(name = "com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence.impl")
261     protected RatingsEntryPersistence ratingsEntryPersistence;
262     @BeanReference(name = "com.liferay.portlet.ratings.service.RatingsStatsLocalService.impl")
263     protected RatingsStatsLocalService ratingsStatsLocalService;
264     @BeanReference(name = "com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence.impl")
265     protected RatingsStatsPersistence ratingsStatsPersistence;
266     @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
267     protected CounterLocalService counterLocalService;
268     @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
269     protected CounterService counterService;
270     @BeanReference(name = "com.liferay.portal.service.ResourceLocalService.impl")
271     protected ResourceLocalService resourceLocalService;
272     @BeanReference(name = "com.liferay.portal.service.ResourceService.impl")
273     protected ResourceService resourceService;
274     @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence.impl")
275     protected ResourcePersistence resourcePersistence;
276     @BeanReference(name = "com.liferay.portal.service.persistence.ResourceFinder.impl")
277     protected ResourceFinder resourceFinder;
278     @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
279     protected UserLocalService userLocalService;
280     @BeanReference(name = "com.liferay.portal.service.UserService.impl")
281     protected UserService userService;
282     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
283     protected UserPersistence userPersistence;
284     @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
285     protected UserFinder userFinder;
286     @BeanReference(name = "com.liferay.portlet.blogs.service.BlogsEntryLocalService.impl")
287     protected BlogsEntryLocalService blogsEntryLocalService;
288     @BeanReference(name = "com.liferay.portlet.blogs.service.BlogsEntryService.impl")
289     protected BlogsEntryService blogsEntryService;
290     @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence.impl")
291     protected BlogsEntryPersistence blogsEntryPersistence;
292     @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder.impl")
293     protected BlogsEntryFinder blogsEntryFinder;
294     @BeanReference(name = "com.liferay.portlet.blogs.service.BlogsStatsUserLocalService.impl")
295     protected BlogsStatsUserLocalService blogsStatsUserLocalService;
296     @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence.impl")
297     protected BlogsStatsUserPersistence blogsStatsUserPersistence;
298     @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder.impl")
299     protected BlogsStatsUserFinder blogsStatsUserFinder;
300 }