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.softwarecatalog.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.kernel.dao.db.DB;
31  import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
32  import com.liferay.portal.service.GroupLocalService;
33  import com.liferay.portal.service.GroupService;
34  import com.liferay.portal.service.ImageLocalService;
35  import com.liferay.portal.service.ResourceLocalService;
36  import com.liferay.portal.service.ResourceService;
37  import com.liferay.portal.service.UserLocalService;
38  import com.liferay.portal.service.UserService;
39  import com.liferay.portal.service.base.PrincipalBean;
40  import com.liferay.portal.service.persistence.GroupFinder;
41  import com.liferay.portal.service.persistence.GroupPersistence;
42  import com.liferay.portal.service.persistence.ImagePersistence;
43  import com.liferay.portal.service.persistence.ResourceFinder;
44  import com.liferay.portal.service.persistence.ResourcePersistence;
45  import com.liferay.portal.service.persistence.UserFinder;
46  import com.liferay.portal.service.persistence.UserPersistence;
47  
48  import com.liferay.portlet.messageboards.service.MBMessageLocalService;
49  import com.liferay.portlet.messageboards.service.MBMessageService;
50  import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
51  import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
52  import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
53  import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
54  import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService;
55  import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService;
56  import com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService;
57  import com.liferay.portlet.softwarecatalog.service.SCLicenseService;
58  import com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService;
59  import com.liferay.portlet.softwarecatalog.service.SCProductEntryService;
60  import com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService;
61  import com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService;
62  import com.liferay.portlet.softwarecatalog.service.SCProductVersionService;
63  import com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence;
64  import com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence;
65  import com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence;
66  import com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence;
67  import com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence;
68  
69  /**
70   * <a href="SCProductEntryServiceBaseImpl.java.html"><b><i>View Source</i></b>
71   * </a>
72   *
73   * @author Brian Wing Shun Chan
74   */
75  public abstract class SCProductEntryServiceBaseImpl extends PrincipalBean
76      implements SCProductEntryService {
77      public SCLicenseLocalService getSCLicenseLocalService() {
78          return scLicenseLocalService;
79      }
80  
81      public void setSCLicenseLocalService(
82          SCLicenseLocalService scLicenseLocalService) {
83          this.scLicenseLocalService = scLicenseLocalService;
84      }
85  
86      public SCLicenseService getSCLicenseService() {
87          return scLicenseService;
88      }
89  
90      public void setSCLicenseService(SCLicenseService scLicenseService) {
91          this.scLicenseService = scLicenseService;
92      }
93  
94      public SCLicensePersistence getSCLicensePersistence() {
95          return scLicensePersistence;
96      }
97  
98      public void setSCLicensePersistence(
99          SCLicensePersistence scLicensePersistence) {
100         this.scLicensePersistence = scLicensePersistence;
101     }
102 
103     public SCFrameworkVersionLocalService getSCFrameworkVersionLocalService() {
104         return scFrameworkVersionLocalService;
105     }
106 
107     public void setSCFrameworkVersionLocalService(
108         SCFrameworkVersionLocalService scFrameworkVersionLocalService) {
109         this.scFrameworkVersionLocalService = scFrameworkVersionLocalService;
110     }
111 
112     public SCFrameworkVersionService getSCFrameworkVersionService() {
113         return scFrameworkVersionService;
114     }
115 
116     public void setSCFrameworkVersionService(
117         SCFrameworkVersionService scFrameworkVersionService) {
118         this.scFrameworkVersionService = scFrameworkVersionService;
119     }
120 
121     public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence() {
122         return scFrameworkVersionPersistence;
123     }
124 
125     public void setSCFrameworkVersionPersistence(
126         SCFrameworkVersionPersistence scFrameworkVersionPersistence) {
127         this.scFrameworkVersionPersistence = scFrameworkVersionPersistence;
128     }
129 
130     public SCProductEntryLocalService getSCProductEntryLocalService() {
131         return scProductEntryLocalService;
132     }
133 
134     public void setSCProductEntryLocalService(
135         SCProductEntryLocalService scProductEntryLocalService) {
136         this.scProductEntryLocalService = scProductEntryLocalService;
137     }
138 
139     public SCProductEntryService getSCProductEntryService() {
140         return scProductEntryService;
141     }
142 
143     public void setSCProductEntryService(
144         SCProductEntryService scProductEntryService) {
145         this.scProductEntryService = scProductEntryService;
146     }
147 
148     public SCProductEntryPersistence getSCProductEntryPersistence() {
149         return scProductEntryPersistence;
150     }
151 
152     public void setSCProductEntryPersistence(
153         SCProductEntryPersistence scProductEntryPersistence) {
154         this.scProductEntryPersistence = scProductEntryPersistence;
155     }
156 
157     public SCProductScreenshotLocalService getSCProductScreenshotLocalService() {
158         return scProductScreenshotLocalService;
159     }
160 
161     public void setSCProductScreenshotLocalService(
162         SCProductScreenshotLocalService scProductScreenshotLocalService) {
163         this.scProductScreenshotLocalService = scProductScreenshotLocalService;
164     }
165 
166     public SCProductScreenshotPersistence getSCProductScreenshotPersistence() {
167         return scProductScreenshotPersistence;
168     }
169 
170     public void setSCProductScreenshotPersistence(
171         SCProductScreenshotPersistence scProductScreenshotPersistence) {
172         this.scProductScreenshotPersistence = scProductScreenshotPersistence;
173     }
174 
175     public SCProductVersionLocalService getSCProductVersionLocalService() {
176         return scProductVersionLocalService;
177     }
178 
179     public void setSCProductVersionLocalService(
180         SCProductVersionLocalService scProductVersionLocalService) {
181         this.scProductVersionLocalService = scProductVersionLocalService;
182     }
183 
184     public SCProductVersionService getSCProductVersionService() {
185         return scProductVersionService;
186     }
187 
188     public void setSCProductVersionService(
189         SCProductVersionService scProductVersionService) {
190         this.scProductVersionService = scProductVersionService;
191     }
192 
193     public SCProductVersionPersistence getSCProductVersionPersistence() {
194         return scProductVersionPersistence;
195     }
196 
197     public void setSCProductVersionPersistence(
198         SCProductVersionPersistence scProductVersionPersistence) {
199         this.scProductVersionPersistence = scProductVersionPersistence;
200     }
201 
202     public CounterLocalService getCounterLocalService() {
203         return counterLocalService;
204     }
205 
206     public void setCounterLocalService(CounterLocalService counterLocalService) {
207         this.counterLocalService = counterLocalService;
208     }
209 
210     public CounterService getCounterService() {
211         return counterService;
212     }
213 
214     public void setCounterService(CounterService counterService) {
215         this.counterService = counterService;
216     }
217 
218     public GroupLocalService getGroupLocalService() {
219         return groupLocalService;
220     }
221 
222     public void setGroupLocalService(GroupLocalService groupLocalService) {
223         this.groupLocalService = groupLocalService;
224     }
225 
226     public GroupService getGroupService() {
227         return groupService;
228     }
229 
230     public void setGroupService(GroupService groupService) {
231         this.groupService = groupService;
232     }
233 
234     public GroupPersistence getGroupPersistence() {
235         return groupPersistence;
236     }
237 
238     public void setGroupPersistence(GroupPersistence groupPersistence) {
239         this.groupPersistence = groupPersistence;
240     }
241 
242     public GroupFinder getGroupFinder() {
243         return groupFinder;
244     }
245 
246     public void setGroupFinder(GroupFinder groupFinder) {
247         this.groupFinder = groupFinder;
248     }
249 
250     public ImageLocalService getImageLocalService() {
251         return imageLocalService;
252     }
253 
254     public void setImageLocalService(ImageLocalService imageLocalService) {
255         this.imageLocalService = imageLocalService;
256     }
257 
258     public ImagePersistence getImagePersistence() {
259         return imagePersistence;
260     }
261 
262     public void setImagePersistence(ImagePersistence imagePersistence) {
263         this.imagePersistence = imagePersistence;
264     }
265 
266     public ResourceLocalService getResourceLocalService() {
267         return resourceLocalService;
268     }
269 
270     public void setResourceLocalService(
271         ResourceLocalService resourceLocalService) {
272         this.resourceLocalService = resourceLocalService;
273     }
274 
275     public ResourceService getResourceService() {
276         return resourceService;
277     }
278 
279     public void setResourceService(ResourceService resourceService) {
280         this.resourceService = resourceService;
281     }
282 
283     public ResourcePersistence getResourcePersistence() {
284         return resourcePersistence;
285     }
286 
287     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
288         this.resourcePersistence = resourcePersistence;
289     }
290 
291     public ResourceFinder getResourceFinder() {
292         return resourceFinder;
293     }
294 
295     public void setResourceFinder(ResourceFinder resourceFinder) {
296         this.resourceFinder = resourceFinder;
297     }
298 
299     public UserLocalService getUserLocalService() {
300         return userLocalService;
301     }
302 
303     public void setUserLocalService(UserLocalService userLocalService) {
304         this.userLocalService = userLocalService;
305     }
306 
307     public UserService getUserService() {
308         return userService;
309     }
310 
311     public void setUserService(UserService userService) {
312         this.userService = userService;
313     }
314 
315     public UserPersistence getUserPersistence() {
316         return userPersistence;
317     }
318 
319     public void setUserPersistence(UserPersistence userPersistence) {
320         this.userPersistence = userPersistence;
321     }
322 
323     public UserFinder getUserFinder() {
324         return userFinder;
325     }
326 
327     public void setUserFinder(UserFinder userFinder) {
328         this.userFinder = userFinder;
329     }
330 
331     public MBMessageLocalService getMBMessageLocalService() {
332         return mbMessageLocalService;
333     }
334 
335     public void setMBMessageLocalService(
336         MBMessageLocalService mbMessageLocalService) {
337         this.mbMessageLocalService = mbMessageLocalService;
338     }
339 
340     public MBMessageService getMBMessageService() {
341         return mbMessageService;
342     }
343 
344     public void setMBMessageService(MBMessageService mbMessageService) {
345         this.mbMessageService = mbMessageService;
346     }
347 
348     public MBMessagePersistence getMBMessagePersistence() {
349         return mbMessagePersistence;
350     }
351 
352     public void setMBMessagePersistence(
353         MBMessagePersistence mbMessagePersistence) {
354         this.mbMessagePersistence = mbMessagePersistence;
355     }
356 
357     public MBMessageFinder getMBMessageFinder() {
358         return mbMessageFinder;
359     }
360 
361     public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
362         this.mbMessageFinder = mbMessageFinder;
363     }
364 
365     public RatingsStatsLocalService getRatingsStatsLocalService() {
366         return ratingsStatsLocalService;
367     }
368 
369     public void setRatingsStatsLocalService(
370         RatingsStatsLocalService ratingsStatsLocalService) {
371         this.ratingsStatsLocalService = ratingsStatsLocalService;
372     }
373 
374     public RatingsStatsPersistence getRatingsStatsPersistence() {
375         return ratingsStatsPersistence;
376     }
377 
378     public void setRatingsStatsPersistence(
379         RatingsStatsPersistence ratingsStatsPersistence) {
380         this.ratingsStatsPersistence = ratingsStatsPersistence;
381     }
382 
383     protected void runSQL(String sql) throws SystemException {
384         try {
385             DB db = DBFactoryUtil.getDB();
386 
387             db.runSQL(sql);
388         }
389         catch (Exception e) {
390             throw new SystemException(e);
391         }
392     }
393 
394     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService")
395     protected SCLicenseLocalService scLicenseLocalService;
396     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCLicenseService")
397     protected SCLicenseService scLicenseService;
398     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence")
399     protected SCLicensePersistence scLicensePersistence;
400     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService")
401     protected SCFrameworkVersionLocalService scFrameworkVersionLocalService;
402     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService")
403     protected SCFrameworkVersionService scFrameworkVersionService;
404     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence")
405     protected SCFrameworkVersionPersistence scFrameworkVersionPersistence;
406     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService")
407     protected SCProductEntryLocalService scProductEntryLocalService;
408     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductEntryService")
409     protected SCProductEntryService scProductEntryService;
410     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence")
411     protected SCProductEntryPersistence scProductEntryPersistence;
412     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService")
413     protected SCProductScreenshotLocalService scProductScreenshotLocalService;
414     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence")
415     protected SCProductScreenshotPersistence scProductScreenshotPersistence;
416     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService")
417     protected SCProductVersionLocalService scProductVersionLocalService;
418     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductVersionService")
419     protected SCProductVersionService scProductVersionService;
420     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence")
421     protected SCProductVersionPersistence scProductVersionPersistence;
422     @BeanReference(name = "com.liferay.counter.service.CounterLocalService")
423     protected CounterLocalService counterLocalService;
424     @BeanReference(name = "com.liferay.counter.service.CounterService")
425     protected CounterService counterService;
426     @BeanReference(name = "com.liferay.portal.service.GroupLocalService")
427     protected GroupLocalService groupLocalService;
428     @BeanReference(name = "com.liferay.portal.service.GroupService")
429     protected GroupService groupService;
430     @BeanReference(name = "com.liferay.portal.service.persistence.GroupPersistence")
431     protected GroupPersistence groupPersistence;
432     @BeanReference(name = "com.liferay.portal.service.persistence.GroupFinder")
433     protected GroupFinder groupFinder;
434     @BeanReference(name = "com.liferay.portal.service.ImageLocalService")
435     protected ImageLocalService imageLocalService;
436     @BeanReference(name = "com.liferay.portal.service.persistence.ImagePersistence")
437     protected ImagePersistence imagePersistence;
438     @BeanReference(name = "com.liferay.portal.service.ResourceLocalService")
439     protected ResourceLocalService resourceLocalService;
440     @BeanReference(name = "com.liferay.portal.service.ResourceService")
441     protected ResourceService resourceService;
442     @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence")
443     protected ResourcePersistence resourcePersistence;
444     @BeanReference(name = "com.liferay.portal.service.persistence.ResourceFinder")
445     protected ResourceFinder resourceFinder;
446     @BeanReference(name = "com.liferay.portal.service.UserLocalService")
447     protected UserLocalService userLocalService;
448     @BeanReference(name = "com.liferay.portal.service.UserService")
449     protected UserService userService;
450     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence")
451     protected UserPersistence userPersistence;
452     @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder")
453     protected UserFinder userFinder;
454     @BeanReference(name = "com.liferay.portlet.messageboards.service.MBMessageLocalService")
455     protected MBMessageLocalService mbMessageLocalService;
456     @BeanReference(name = "com.liferay.portlet.messageboards.service.MBMessageService")
457     protected MBMessageService mbMessageService;
458     @BeanReference(name = "com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence")
459     protected MBMessagePersistence mbMessagePersistence;
460     @BeanReference(name = "com.liferay.portlet.messageboards.service.persistence.MBMessageFinder")
461     protected MBMessageFinder mbMessageFinder;
462     @BeanReference(name = "com.liferay.portlet.ratings.service.RatingsStatsLocalService")
463     protected RatingsStatsLocalService ratingsStatsLocalService;
464     @BeanReference(name = "com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence")
465     protected RatingsStatsPersistence ratingsStatsPersistence;
466 }