001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017
026 public class SCLicenseLocalServiceWrapper implements SCLicenseLocalService {
027 public SCLicenseLocalServiceWrapper(
028 SCLicenseLocalService scLicenseLocalService) {
029 _scLicenseLocalService = scLicenseLocalService;
030 }
031
032
039 public com.liferay.portlet.softwarecatalog.model.SCLicense addSCLicense(
040 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _scLicenseLocalService.addSCLicense(scLicense);
043 }
044
045
051 public com.liferay.portlet.softwarecatalog.model.SCLicense createSCLicense(
052 long licenseId) {
053 return _scLicenseLocalService.createSCLicense(licenseId);
054 }
055
056
063 public void deleteSCLicense(long licenseId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _scLicenseLocalService.deleteSCLicense(licenseId);
067 }
068
069
075 public void deleteSCLicense(
076 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _scLicenseLocalService.deleteSCLicense(scLicense);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _scLicenseLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _scLicenseLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _scLicenseLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _scLicenseLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.softwarecatalog.model.SCLicense getSCLicense(
161 long licenseId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 return _scLicenseLocalService.getSCLicense(licenseId);
165 }
166
167
179 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
180 int start, int end)
181 throws com.liferay.portal.kernel.exception.SystemException {
182 return _scLicenseLocalService.getSCLicenses(start, end);
183 }
184
185
191 public int getSCLicensesCount()
192 throws com.liferay.portal.kernel.exception.SystemException {
193 return _scLicenseLocalService.getSCLicensesCount();
194 }
195
196
203 public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
204 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _scLicenseLocalService.updateSCLicense(scLicense);
207 }
208
209
217 public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
218 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
219 boolean merge)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _scLicenseLocalService.updateSCLicense(scLicense, merge);
222 }
223
224 public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
225 java.lang.String name, java.lang.String url, boolean openSource,
226 boolean active, boolean recommended)
227 throws com.liferay.portal.kernel.exception.PortalException,
228 com.liferay.portal.kernel.exception.SystemException {
229 return _scLicenseLocalService.addLicense(name, url, openSource, active,
230 recommended);
231 }
232
233 public void deleteLicense(long licenseId)
234 throws com.liferay.portal.kernel.exception.PortalException,
235 com.liferay.portal.kernel.exception.SystemException {
236 _scLicenseLocalService.deleteLicense(licenseId);
237 }
238
239 public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
240 long licenseId)
241 throws com.liferay.portal.kernel.exception.PortalException,
242 com.liferay.portal.kernel.exception.SystemException {
243 return _scLicenseLocalService.getLicense(licenseId);
244 }
245
246 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses()
247 throws com.liferay.portal.kernel.exception.SystemException {
248 return _scLicenseLocalService.getLicenses();
249 }
250
251 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
252 boolean active, boolean recommended)
253 throws com.liferay.portal.kernel.exception.SystemException {
254 return _scLicenseLocalService.getLicenses(active, recommended);
255 }
256
257 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
258 boolean active, boolean recommended, int start, int end)
259 throws com.liferay.portal.kernel.exception.SystemException {
260 return _scLicenseLocalService.getLicenses(active, recommended, start,
261 end);
262 }
263
264 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
265 int start, int end)
266 throws com.liferay.portal.kernel.exception.SystemException {
267 return _scLicenseLocalService.getLicenses(start, end);
268 }
269
270 public int getLicensesCount()
271 throws com.liferay.portal.kernel.exception.SystemException {
272 return _scLicenseLocalService.getLicensesCount();
273 }
274
275 public int getLicensesCount(boolean active, boolean recommended)
276 throws com.liferay.portal.kernel.exception.SystemException {
277 return _scLicenseLocalService.getLicensesCount(active, recommended);
278 }
279
280 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getProductEntryLicenses(
281 long productEntryId)
282 throws com.liferay.portal.kernel.exception.SystemException {
283 return _scLicenseLocalService.getProductEntryLicenses(productEntryId);
284 }
285
286 public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
287 long licenseId, java.lang.String name, java.lang.String url,
288 boolean openSource, boolean active, boolean recommended)
289 throws com.liferay.portal.kernel.exception.PortalException,
290 com.liferay.portal.kernel.exception.SystemException {
291 return _scLicenseLocalService.updateLicense(licenseId, name, url,
292 openSource, active, recommended);
293 }
294
295 public SCLicenseLocalService getWrappedSCLicenseLocalService() {
296 return _scLicenseLocalService;
297 }
298
299 private SCLicenseLocalService _scLicenseLocalService;
300 }