001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017
026 public class SCLicenseServiceWrapper implements SCLicenseService {
027 public SCLicenseServiceWrapper(SCLicenseService scLicenseService) {
028 _scLicenseService = scLicenseService;
029 }
030
031 public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
032 java.lang.String name, java.lang.String url, boolean openSource,
033 boolean active, boolean recommended)
034 throws com.liferay.portal.kernel.exception.PortalException,
035 com.liferay.portal.kernel.exception.SystemException {
036 return _scLicenseService.addLicense(name, url, openSource, active,
037 recommended);
038 }
039
040 public void deleteLicense(long licenseId)
041 throws com.liferay.portal.kernel.exception.PortalException,
042 com.liferay.portal.kernel.exception.SystemException {
043 _scLicenseService.deleteLicense(licenseId);
044 }
045
046 public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
047 long licenseId)
048 throws com.liferay.portal.kernel.exception.PortalException,
049 com.liferay.portal.kernel.exception.SystemException {
050 return _scLicenseService.getLicense(licenseId);
051 }
052
053 public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
054 long licenseId, java.lang.String name, java.lang.String url,
055 boolean openSource, boolean active, boolean recommended)
056 throws com.liferay.portal.kernel.exception.PortalException,
057 com.liferay.portal.kernel.exception.SystemException {
058 return _scLicenseService.updateLicense(licenseId, name, url,
059 openSource, active, recommended);
060 }
061
062 public SCLicenseService getWrappedSCLicenseService() {
063 return _scLicenseService;
064 }
065
066 private SCLicenseService _scLicenseService;
067 }