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