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