1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions 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.tasks.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.social.service.SocialActivityLocalService;
42  import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
43  import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
44  import com.liferay.portlet.tasks.service.TasksProposalLocalService;
45  import com.liferay.portlet.tasks.service.TasksProposalService;
46  import com.liferay.portlet.tasks.service.TasksReviewLocalService;
47  import com.liferay.portlet.tasks.service.TasksReviewService;
48  import com.liferay.portlet.tasks.service.persistence.TasksProposalFinder;
49  import com.liferay.portlet.tasks.service.persistence.TasksProposalPersistence;
50  import com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence;
51  
52  /**
53   * <a href="TasksReviewServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
54   *
55   * @author Brian Wing Shun Chan
56   */
57  public abstract class TasksReviewServiceBaseImpl extends PrincipalBean
58      implements TasksReviewService {
59      public TasksProposalLocalService getTasksProposalLocalService() {
60          return tasksProposalLocalService;
61      }
62  
63      public void setTasksProposalLocalService(
64          TasksProposalLocalService tasksProposalLocalService) {
65          this.tasksProposalLocalService = tasksProposalLocalService;
66      }
67  
68      public TasksProposalService getTasksProposalService() {
69          return tasksProposalService;
70      }
71  
72      public void setTasksProposalService(
73          TasksProposalService tasksProposalService) {
74          this.tasksProposalService = tasksProposalService;
75      }
76  
77      public TasksProposalPersistence getTasksProposalPersistence() {
78          return tasksProposalPersistence;
79      }
80  
81      public void setTasksProposalPersistence(
82          TasksProposalPersistence tasksProposalPersistence) {
83          this.tasksProposalPersistence = tasksProposalPersistence;
84      }
85  
86      public TasksProposalFinder getTasksProposalFinder() {
87          return tasksProposalFinder;
88      }
89  
90      public void setTasksProposalFinder(TasksProposalFinder tasksProposalFinder) {
91          this.tasksProposalFinder = tasksProposalFinder;
92      }
93  
94      public TasksReviewLocalService getTasksReviewLocalService() {
95          return tasksReviewLocalService;
96      }
97  
98      public void setTasksReviewLocalService(
99          TasksReviewLocalService tasksReviewLocalService) {
100         this.tasksReviewLocalService = tasksReviewLocalService;
101     }
102 
103     public TasksReviewService getTasksReviewService() {
104         return tasksReviewService;
105     }
106 
107     public void setTasksReviewService(TasksReviewService tasksReviewService) {
108         this.tasksReviewService = tasksReviewService;
109     }
110 
111     public TasksReviewPersistence getTasksReviewPersistence() {
112         return tasksReviewPersistence;
113     }
114 
115     public void setTasksReviewPersistence(
116         TasksReviewPersistence tasksReviewPersistence) {
117         this.tasksReviewPersistence = tasksReviewPersistence;
118     }
119 
120     public CounterLocalService getCounterLocalService() {
121         return counterLocalService;
122     }
123 
124     public void setCounterLocalService(CounterLocalService counterLocalService) {
125         this.counterLocalService = counterLocalService;
126     }
127 
128     public CounterService getCounterService() {
129         return counterService;
130     }
131 
132     public void setCounterService(CounterService counterService) {
133         this.counterService = counterService;
134     }
135 
136     public ResourceLocalService getResourceLocalService() {
137         return resourceLocalService;
138     }
139 
140     public void setResourceLocalService(
141         ResourceLocalService resourceLocalService) {
142         this.resourceLocalService = resourceLocalService;
143     }
144 
145     public ResourceService getResourceService() {
146         return resourceService;
147     }
148 
149     public void setResourceService(ResourceService resourceService) {
150         this.resourceService = resourceService;
151     }
152 
153     public ResourcePersistence getResourcePersistence() {
154         return resourcePersistence;
155     }
156 
157     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
158         this.resourcePersistence = resourcePersistence;
159     }
160 
161     public ResourceFinder getResourceFinder() {
162         return resourceFinder;
163     }
164 
165     public void setResourceFinder(ResourceFinder resourceFinder) {
166         this.resourceFinder = resourceFinder;
167     }
168 
169     public UserLocalService getUserLocalService() {
170         return userLocalService;
171     }
172 
173     public void setUserLocalService(UserLocalService userLocalService) {
174         this.userLocalService = userLocalService;
175     }
176 
177     public UserService getUserService() {
178         return userService;
179     }
180 
181     public void setUserService(UserService userService) {
182         this.userService = userService;
183     }
184 
185     public UserPersistence getUserPersistence() {
186         return userPersistence;
187     }
188 
189     public void setUserPersistence(UserPersistence userPersistence) {
190         this.userPersistence = userPersistence;
191     }
192 
193     public UserFinder getUserFinder() {
194         return userFinder;
195     }
196 
197     public void setUserFinder(UserFinder userFinder) {
198         this.userFinder = userFinder;
199     }
200 
201     public SocialActivityLocalService getSocialActivityLocalService() {
202         return socialActivityLocalService;
203     }
204 
205     public void setSocialActivityLocalService(
206         SocialActivityLocalService socialActivityLocalService) {
207         this.socialActivityLocalService = socialActivityLocalService;
208     }
209 
210     public SocialActivityPersistence getSocialActivityPersistence() {
211         return socialActivityPersistence;
212     }
213 
214     public void setSocialActivityPersistence(
215         SocialActivityPersistence socialActivityPersistence) {
216         this.socialActivityPersistence = socialActivityPersistence;
217     }
218 
219     public SocialActivityFinder getSocialActivityFinder() {
220         return socialActivityFinder;
221     }
222 
223     public void setSocialActivityFinder(
224         SocialActivityFinder socialActivityFinder) {
225         this.socialActivityFinder = socialActivityFinder;
226     }
227 
228     protected void runSQL(String sql) throws SystemException {
229         try {
230             PortalUtil.runSQL(sql);
231         }
232         catch (Exception e) {
233             throw new SystemException(e);
234         }
235     }
236 
237     @BeanReference(name = "com.liferay.portlet.tasks.service.TasksProposalLocalService.impl")
238     protected TasksProposalLocalService tasksProposalLocalService;
239     @BeanReference(name = "com.liferay.portlet.tasks.service.TasksProposalService.impl")
240     protected TasksProposalService tasksProposalService;
241     @BeanReference(name = "com.liferay.portlet.tasks.service.persistence.TasksProposalPersistence.impl")
242     protected TasksProposalPersistence tasksProposalPersistence;
243     @BeanReference(name = "com.liferay.portlet.tasks.service.persistence.TasksProposalFinder.impl")
244     protected TasksProposalFinder tasksProposalFinder;
245     @BeanReference(name = "com.liferay.portlet.tasks.service.TasksReviewLocalService.impl")
246     protected TasksReviewLocalService tasksReviewLocalService;
247     @BeanReference(name = "com.liferay.portlet.tasks.service.TasksReviewService.impl")
248     protected TasksReviewService tasksReviewService;
249     @BeanReference(name = "com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence.impl")
250     protected TasksReviewPersistence tasksReviewPersistence;
251     @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
252     protected CounterLocalService counterLocalService;
253     @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
254     protected CounterService counterService;
255     @BeanReference(name = "com.liferay.portal.service.ResourceLocalService.impl")
256     protected ResourceLocalService resourceLocalService;
257     @BeanReference(name = "com.liferay.portal.service.ResourceService.impl")
258     protected ResourceService resourceService;
259     @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence.impl")
260     protected ResourcePersistence resourcePersistence;
261     @BeanReference(name = "com.liferay.portal.service.persistence.ResourceFinder.impl")
262     protected ResourceFinder resourceFinder;
263     @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
264     protected UserLocalService userLocalService;
265     @BeanReference(name = "com.liferay.portal.service.UserService.impl")
266     protected UserService userService;
267     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
268     protected UserPersistence userPersistence;
269     @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
270     protected UserFinder userFinder;
271     @BeanReference(name = "com.liferay.portlet.social.service.SocialActivityLocalService.impl")
272     protected SocialActivityLocalService socialActivityLocalService;
273     @BeanReference(name = "com.liferay.portlet.social.service.persistence.SocialActivityPersistence.impl")
274     protected SocialActivityPersistence socialActivityPersistence;
275     @BeanReference(name = "com.liferay.portlet.social.service.persistence.SocialActivityFinder.impl")
276     protected SocialActivityFinder socialActivityFinder;
277 }