1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17   * SOFTWARE.
18   */
19  
20  package com.liferay.portlet.softwarecatalog.service.base;
21  
22  import com.liferay.counter.service.CounterLocalService;
23  import com.liferay.counter.service.CounterService;
24  
25  import com.liferay.portal.SystemException;
26  import com.liferay.portal.kernel.annotation.BeanReference;
27  import com.liferay.portal.service.UserLocalService;
28  import com.liferay.portal.service.UserService;
29  import com.liferay.portal.service.base.PrincipalBean;
30  import com.liferay.portal.service.persistence.UserFinder;
31  import com.liferay.portal.service.persistence.UserPersistence;
32  import com.liferay.portal.util.PortalUtil;
33  
34  import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService;
35  import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService;
36  import com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService;
37  import com.liferay.portlet.softwarecatalog.service.SCLicenseService;
38  import com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService;
39  import com.liferay.portlet.softwarecatalog.service.SCProductEntryService;
40  import com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService;
41  import com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService;
42  import com.liferay.portlet.softwarecatalog.service.SCProductVersionService;
43  import com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence;
44  import com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence;
45  import com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence;
46  import com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence;
47  import com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence;
48  
49  /**
50   * <a href="SCProductVersionServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
51   *
52   * @author Brian Wing Shun Chan
53   *
54   */
55  public abstract class SCProductVersionServiceBaseImpl extends PrincipalBean
56      implements SCProductVersionService {
57      public SCLicenseLocalService getSCLicenseLocalService() {
58          return scLicenseLocalService;
59      }
60  
61      public void setSCLicenseLocalService(
62          SCLicenseLocalService scLicenseLocalService) {
63          this.scLicenseLocalService = scLicenseLocalService;
64      }
65  
66      public SCLicenseService getSCLicenseService() {
67          return scLicenseService;
68      }
69  
70      public void setSCLicenseService(SCLicenseService scLicenseService) {
71          this.scLicenseService = scLicenseService;
72      }
73  
74      public SCLicensePersistence getSCLicensePersistence() {
75          return scLicensePersistence;
76      }
77  
78      public void setSCLicensePersistence(
79          SCLicensePersistence scLicensePersistence) {
80          this.scLicensePersistence = scLicensePersistence;
81      }
82  
83      public SCFrameworkVersionLocalService getSCFrameworkVersionLocalService() {
84          return scFrameworkVersionLocalService;
85      }
86  
87      public void setSCFrameworkVersionLocalService(
88          SCFrameworkVersionLocalService scFrameworkVersionLocalService) {
89          this.scFrameworkVersionLocalService = scFrameworkVersionLocalService;
90      }
91  
92      public SCFrameworkVersionService getSCFrameworkVersionService() {
93          return scFrameworkVersionService;
94      }
95  
96      public void setSCFrameworkVersionService(
97          SCFrameworkVersionService scFrameworkVersionService) {
98          this.scFrameworkVersionService = scFrameworkVersionService;
99      }
100 
101     public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence() {
102         return scFrameworkVersionPersistence;
103     }
104 
105     public void setSCFrameworkVersionPersistence(
106         SCFrameworkVersionPersistence scFrameworkVersionPersistence) {
107         this.scFrameworkVersionPersistence = scFrameworkVersionPersistence;
108     }
109 
110     public SCProductEntryLocalService getSCProductEntryLocalService() {
111         return scProductEntryLocalService;
112     }
113 
114     public void setSCProductEntryLocalService(
115         SCProductEntryLocalService scProductEntryLocalService) {
116         this.scProductEntryLocalService = scProductEntryLocalService;
117     }
118 
119     public SCProductEntryService getSCProductEntryService() {
120         return scProductEntryService;
121     }
122 
123     public void setSCProductEntryService(
124         SCProductEntryService scProductEntryService) {
125         this.scProductEntryService = scProductEntryService;
126     }
127 
128     public SCProductEntryPersistence getSCProductEntryPersistence() {
129         return scProductEntryPersistence;
130     }
131 
132     public void setSCProductEntryPersistence(
133         SCProductEntryPersistence scProductEntryPersistence) {
134         this.scProductEntryPersistence = scProductEntryPersistence;
135     }
136 
137     public SCProductScreenshotLocalService getSCProductScreenshotLocalService() {
138         return scProductScreenshotLocalService;
139     }
140 
141     public void setSCProductScreenshotLocalService(
142         SCProductScreenshotLocalService scProductScreenshotLocalService) {
143         this.scProductScreenshotLocalService = scProductScreenshotLocalService;
144     }
145 
146     public SCProductScreenshotPersistence getSCProductScreenshotPersistence() {
147         return scProductScreenshotPersistence;
148     }
149 
150     public void setSCProductScreenshotPersistence(
151         SCProductScreenshotPersistence scProductScreenshotPersistence) {
152         this.scProductScreenshotPersistence = scProductScreenshotPersistence;
153     }
154 
155     public SCProductVersionLocalService getSCProductVersionLocalService() {
156         return scProductVersionLocalService;
157     }
158 
159     public void setSCProductVersionLocalService(
160         SCProductVersionLocalService scProductVersionLocalService) {
161         this.scProductVersionLocalService = scProductVersionLocalService;
162     }
163 
164     public SCProductVersionService getSCProductVersionService() {
165         return scProductVersionService;
166     }
167 
168     public void setSCProductVersionService(
169         SCProductVersionService scProductVersionService) {
170         this.scProductVersionService = scProductVersionService;
171     }
172 
173     public SCProductVersionPersistence getSCProductVersionPersistence() {
174         return scProductVersionPersistence;
175     }
176 
177     public void setSCProductVersionPersistence(
178         SCProductVersionPersistence scProductVersionPersistence) {
179         this.scProductVersionPersistence = scProductVersionPersistence;
180     }
181 
182     public CounterLocalService getCounterLocalService() {
183         return counterLocalService;
184     }
185 
186     public void setCounterLocalService(CounterLocalService counterLocalService) {
187         this.counterLocalService = counterLocalService;
188     }
189 
190     public CounterService getCounterService() {
191         return counterService;
192     }
193 
194     public void setCounterService(CounterService counterService) {
195         this.counterService = counterService;
196     }
197 
198     public UserLocalService getUserLocalService() {
199         return userLocalService;
200     }
201 
202     public void setUserLocalService(UserLocalService userLocalService) {
203         this.userLocalService = userLocalService;
204     }
205 
206     public UserService getUserService() {
207         return userService;
208     }
209 
210     public void setUserService(UserService userService) {
211         this.userService = userService;
212     }
213 
214     public UserPersistence getUserPersistence() {
215         return userPersistence;
216     }
217 
218     public void setUserPersistence(UserPersistence userPersistence) {
219         this.userPersistence = userPersistence;
220     }
221 
222     public UserFinder getUserFinder() {
223         return userFinder;
224     }
225 
226     public void setUserFinder(UserFinder userFinder) {
227         this.userFinder = userFinder;
228     }
229 
230     protected void runSQL(String sql) throws SystemException {
231         try {
232             PortalUtil.runSQL(sql);
233         }
234         catch (Exception e) {
235             throw new SystemException(e);
236         }
237     }
238 
239     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService.impl")
240     protected SCLicenseLocalService scLicenseLocalService;
241     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCLicenseService.impl")
242     protected SCLicenseService scLicenseService;
243     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.impl")
244     protected SCLicensePersistence scLicensePersistence;
245     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService.impl")
246     protected SCFrameworkVersionLocalService scFrameworkVersionLocalService;
247     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService.impl")
248     protected SCFrameworkVersionService scFrameworkVersionService;
249     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.impl")
250     protected SCFrameworkVersionPersistence scFrameworkVersionPersistence;
251     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService.impl")
252     protected SCProductEntryLocalService scProductEntryLocalService;
253     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductEntryService.impl")
254     protected SCProductEntryService scProductEntryService;
255     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.impl")
256     protected SCProductEntryPersistence scProductEntryPersistence;
257     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService.impl")
258     protected SCProductScreenshotLocalService scProductScreenshotLocalService;
259     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence.impl")
260     protected SCProductScreenshotPersistence scProductScreenshotPersistence;
261     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService.impl")
262     protected SCProductVersionLocalService scProductVersionLocalService;
263     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.SCProductVersionService.impl")
264     protected SCProductVersionService scProductVersionService;
265     @BeanReference(name = "com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence.impl")
266     protected SCProductVersionPersistence scProductVersionPersistence;
267     @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
268     protected CounterLocalService counterLocalService;
269     @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
270     protected CounterService counterService;
271     @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
272     protected UserLocalService userLocalService;
273     @BeanReference(name = "com.liferay.portal.service.UserService.impl")
274     protected UserService userService;
275     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
276     protected UserPersistence userPersistence;
277     @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
278     protected UserFinder userFinder;
279 }