1   /**
2    * Copyright (c) 2000-2010 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   *
12   *
13   */
14  
15  package com.liferay.portlet.softwarecatalog.service;
16  
17  /**
18   * <a href="SCLicenseLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link SCLicenseLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       SCLicenseLocalService
31   * @generated
32   */
33  public class SCLicenseLocalServiceWrapper implements SCLicenseLocalService {
34      public SCLicenseLocalServiceWrapper(
35          SCLicenseLocalService scLicenseLocalService) {
36          _scLicenseLocalService = scLicenseLocalService;
37      }
38  
39      public com.liferay.portlet.softwarecatalog.model.SCLicense addSCLicense(
40          com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
41          throws com.liferay.portal.SystemException {
42          return _scLicenseLocalService.addSCLicense(scLicense);
43      }
44  
45      public com.liferay.portlet.softwarecatalog.model.SCLicense createSCLicense(
46          long licenseId) {
47          return _scLicenseLocalService.createSCLicense(licenseId);
48      }
49  
50      public void deleteSCLicense(long licenseId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _scLicenseLocalService.deleteSCLicense(licenseId);
54      }
55  
56      public void deleteSCLicense(
57          com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
58          throws com.liferay.portal.SystemException {
59          _scLicenseLocalService.deleteSCLicense(scLicense);
60      }
61  
62      @SuppressWarnings("rawtypes")
63      public java.util.List dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _scLicenseLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      @SuppressWarnings("rawtypes")
70      public java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _scLicenseLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      @SuppressWarnings("rawtypes")
77      public java.util.List dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException {
82          return _scLicenseLocalService.dynamicQuery(dynamicQuery, start, end,
83              orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _scLicenseLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.softwarecatalog.model.SCLicense getSCLicense(
93          long licenseId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _scLicenseLocalService.getSCLicense(licenseId);
97      }
98  
99      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
100         int start, int end) throws com.liferay.portal.SystemException {
101         return _scLicenseLocalService.getSCLicenses(start, end);
102     }
103 
104     public int getSCLicensesCount() throws com.liferay.portal.SystemException {
105         return _scLicenseLocalService.getSCLicensesCount();
106     }
107 
108     public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
109         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
110         throws com.liferay.portal.SystemException {
111         return _scLicenseLocalService.updateSCLicense(scLicense);
112     }
113 
114     public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
115         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
116         boolean merge) throws com.liferay.portal.SystemException {
117         return _scLicenseLocalService.updateSCLicense(scLicense, merge);
118     }
119 
120     public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
121         java.lang.String name, java.lang.String url, boolean openSource,
122         boolean active, boolean recommended)
123         throws com.liferay.portal.PortalException,
124             com.liferay.portal.SystemException {
125         return _scLicenseLocalService.addLicense(name, url, openSource, active,
126             recommended);
127     }
128 
129     public void deleteLicense(long licenseId)
130         throws com.liferay.portal.PortalException,
131             com.liferay.portal.SystemException {
132         _scLicenseLocalService.deleteLicense(licenseId);
133     }
134 
135     public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
136         long licenseId)
137         throws com.liferay.portal.PortalException,
138             com.liferay.portal.SystemException {
139         return _scLicenseLocalService.getLicense(licenseId);
140     }
141 
142     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses()
143         throws com.liferay.portal.SystemException {
144         return _scLicenseLocalService.getLicenses();
145     }
146 
147     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
148         boolean active, boolean recommended)
149         throws com.liferay.portal.SystemException {
150         return _scLicenseLocalService.getLicenses(active, recommended);
151     }
152 
153     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
154         boolean active, boolean recommended, int start, int end)
155         throws com.liferay.portal.SystemException {
156         return _scLicenseLocalService.getLicenses(active, recommended, start,
157             end);
158     }
159 
160     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
161         int start, int end) throws com.liferay.portal.SystemException {
162         return _scLicenseLocalService.getLicenses(start, end);
163     }
164 
165     public int getLicensesCount() throws com.liferay.portal.SystemException {
166         return _scLicenseLocalService.getLicensesCount();
167     }
168 
169     public int getLicensesCount(boolean active, boolean recommended)
170         throws com.liferay.portal.SystemException {
171         return _scLicenseLocalService.getLicensesCount(active, recommended);
172     }
173 
174     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getProductEntryLicenses(
175         long productEntryId) throws com.liferay.portal.SystemException {
176         return _scLicenseLocalService.getProductEntryLicenses(productEntryId);
177     }
178 
179     public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
180         long licenseId, java.lang.String name, java.lang.String url,
181         boolean openSource, boolean active, boolean recommended)
182         throws com.liferay.portal.PortalException,
183             com.liferay.portal.SystemException {
184         return _scLicenseLocalService.updateLicense(licenseId, name, url,
185             openSource, active, recommended);
186     }
187 
188     public SCLicenseLocalService getWrappedSCLicenseLocalService() {
189         return _scLicenseLocalService;
190     }
191 
192     private SCLicenseLocalService _scLicenseLocalService;
193 }