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.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.service.UserLocalService;
31  import com.liferay.portal.service.UserService;
32  import com.liferay.portal.service.base.PrincipalBean;
33  import com.liferay.portal.service.persistence.UserFinder;
34  import com.liferay.portal.service.persistence.UserPersistence;
35  import com.liferay.portal.util.PortalUtil;
36  
37  import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService;
38  import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService;
39  import com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService;
40  import com.liferay.portlet.softwarecatalog.service.SCLicenseService;
41  import com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService;
42  import com.liferay.portlet.softwarecatalog.service.SCProductEntryService;
43  import com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService;
44  import com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService;
45  import com.liferay.portlet.softwarecatalog.service.SCProductVersionService;
46  import com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence;
47  import com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence;
48  import com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence;
49  import com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence;
50  import com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence;
51  
52  /**
53   * <a href="SCProductVersionServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
54   *
55   * @author Brian Wing Shun Chan
56   *
57   */
58  public abstract class SCProductVersionServiceBaseImpl extends PrincipalBean
59      implements SCProductVersionService {
60      public SCLicenseLocalService getSCLicenseLocalService() {
61          return scLicenseLocalService;
62      }
63  
64      public void setSCLicenseLocalService(
65          SCLicenseLocalService scLicenseLocalService) {
66          this.scLicenseLocalService = scLicenseLocalService;
67      }
68  
69      public SCLicenseService getSCLicenseService() {
70          return scLicenseService;
71      }
72  
73      public void setSCLicenseService(SCLicenseService scLicenseService) {
74          this.scLicenseService = scLicenseService;
75      }
76  
77      public SCLicensePersistence getSCLicensePersistence() {
78          return scLicensePersistence;
79      }
80  
81      public void setSCLicensePersistence(
82          SCLicensePersistence scLicensePersistence) {
83          this.scLicensePersistence = scLicensePersistence;
84      }
85  
86      public SCFrameworkVersionLocalService getSCFrameworkVersionLocalService() {
87          return scFrameworkVersionLocalService;
88      }
89  
90      public void setSCFrameworkVersionLocalService(
91          SCFrameworkVersionLocalService scFrameworkVersionLocalService) {
92          this.scFrameworkVersionLocalService = scFrameworkVersionLocalService;
93      }
94  
95      public SCFrameworkVersionService getSCFrameworkVersionService() {
96          return scFrameworkVersionService;
97      }
98  
99      public void setSCFrameworkVersionService(
100         SCFrameworkVersionService scFrameworkVersionService) {
101         this.scFrameworkVersionService = scFrameworkVersionService;
102     }
103 
104     public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence() {
105         return scFrameworkVersionPersistence;
106     }
107 
108     public void setSCFrameworkVersionPersistence(
109         SCFrameworkVersionPersistence scFrameworkVersionPersistence) {
110         this.scFrameworkVersionPersistence = scFrameworkVersionPersistence;
111     }
112 
113     public SCProductEntryLocalService getSCProductEntryLocalService() {
114         return scProductEntryLocalService;
115     }
116 
117     public void setSCProductEntryLocalService(
118         SCProductEntryLocalService scProductEntryLocalService) {
119         this.scProductEntryLocalService = scProductEntryLocalService;
120     }
121 
122     public SCProductEntryService getSCProductEntryService() {
123         return scProductEntryService;
124     }
125 
126     public void setSCProductEntryService(
127         SCProductEntryService scProductEntryService) {
128         this.scProductEntryService = scProductEntryService;
129     }
130 
131     public SCProductEntryPersistence getSCProductEntryPersistence() {
132         return scProductEntryPersistence;
133     }
134 
135     public void setSCProductEntryPersistence(
136         SCProductEntryPersistence scProductEntryPersistence) {
137         this.scProductEntryPersistence = scProductEntryPersistence;
138     }
139 
140     public SCProductScreenshotLocalService getSCProductScreenshotLocalService() {
141         return scProductScreenshotLocalService;
142     }
143 
144     public void setSCProductScreenshotLocalService(
145         SCProductScreenshotLocalService scProductScreenshotLocalService) {
146         this.scProductScreenshotLocalService = scProductScreenshotLocalService;
147     }
148 
149     public SCProductScreenshotPersistence getSCProductScreenshotPersistence() {
150         return scProductScreenshotPersistence;
151     }
152 
153     public void setSCProductScreenshotPersistence(
154         SCProductScreenshotPersistence scProductScreenshotPersistence) {
155         this.scProductScreenshotPersistence = scProductScreenshotPersistence;
156     }
157 
158     public SCProductVersionLocalService getSCProductVersionLocalService() {
159         return scProductVersionLocalService;
160     }
161 
162     public void setSCProductVersionLocalService(
163         SCProductVersionLocalService scProductVersionLocalService) {
164         this.scProductVersionLocalService = scProductVersionLocalService;
165     }
166 
167     public SCProductVersionService getSCProductVersionService() {
168         return scProductVersionService;
169     }
170 
171     public void setSCProductVersionService(
172         SCProductVersionService scProductVersionService) {
173         this.scProductVersionService = scProductVersionService;
174     }
175 
176     public SCProductVersionPersistence getSCProductVersionPersistence() {
177         return scProductVersionPersistence;
178     }
179 
180     public void setSCProductVersionPersistence(
181         SCProductVersionPersistence scProductVersionPersistence) {
182         this.scProductVersionPersistence = scProductVersionPersistence;
183     }
184 
185     public CounterLocalService getCounterLocalService() {
186         return counterLocalService;
187     }
188 
189     public void setCounterLocalService(CounterLocalService counterLocalService) {
190         this.counterLocalService = counterLocalService;
191     }
192 
193     public CounterService getCounterService() {
194         return counterService;
195     }
196 
197     public void setCounterService(CounterService counterService) {
198         this.counterService = counterService;
199     }
200 
201     public UserLocalService getUserLocalService() {
202         return userLocalService;
203     }
204 
205     public void setUserLocalService(UserLocalService userLocalService) {
206         this.userLocalService = userLocalService;
207     }
208 
209     public UserService getUserService() {
210         return userService;
211     }
212 
213     public void setUserService(UserService userService) {
214         this.userService = userService;
215     }
216 
217     public UserPersistence getUserPersistence() {
218         return userPersistence;
219     }
220 
221     public void setUserPersistence(UserPersistence userPersistence) {
222         this.userPersistence = userPersistence;
223     }
224 
225     public UserFinder getUserFinder() {
226         return userFinder;
227     }
228 
229     public void setUserFinder(UserFinder userFinder) {
230         this.userFinder = userFinder;
231     }
232 
233     protected void runSQL(String sql) throws SystemException {
234         try {
235             PortalUtil.runSQL(sql);
236         }
237         catch (Exception e) {
238             throw new SystemException(e);
239         }
240     }
241 
242     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService.impl")
243     protected SCLicenseLocalService scLicenseLocalService;
244     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCLicenseService.impl")
245     protected SCLicenseService scLicenseService;
246     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.impl")
247     protected SCLicensePersistence scLicensePersistence;
248     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService.impl")
249     protected SCFrameworkVersionLocalService scFrameworkVersionLocalService;
250     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService.impl")
251     protected SCFrameworkVersionService scFrameworkVersionService;
252     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.impl")
253     protected SCFrameworkVersionPersistence scFrameworkVersionPersistence;
254     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService.impl")
255     protected SCProductEntryLocalService scProductEntryLocalService;
256     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductEntryService.impl")
257     protected SCProductEntryService scProductEntryService;
258     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.impl")
259     protected SCProductEntryPersistence scProductEntryPersistence;
260     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService.impl")
261     protected SCProductScreenshotLocalService scProductScreenshotLocalService;
262     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence.impl")
263     protected SCProductScreenshotPersistence scProductScreenshotPersistence;
264     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService.impl")
265     protected SCProductVersionLocalService scProductVersionLocalService;
266     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductVersionService.impl")
267     protected SCProductVersionService scProductVersionService;
268     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence.impl")
269     protected SCProductVersionPersistence scProductVersionPersistence;
270     @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
271     protected CounterLocalService counterLocalService;
272     @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
273     protected CounterService counterService;
274     @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
275     protected UserLocalService userLocalService;
276     @BeanReference(name = "com.liferay.portal.service.UserService.impl")
277     protected UserService userService;
278     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
279     protected UserPersistence userPersistence;
280     @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
281     protected UserFinder userFinder;
282 }