001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class SCLicenseServiceWrapper implements SCLicenseService,
030 ServiceWrapper<SCLicenseService> {
031 public SCLicenseServiceWrapper(SCLicenseService scLicenseService) {
032 _scLicenseService = scLicenseService;
033 }
034
035
040 @Override
041 public java.lang.String getBeanIdentifier() {
042 return _scLicenseService.getBeanIdentifier();
043 }
044
045
050 @Override
051 public void setBeanIdentifier(java.lang.String beanIdentifier) {
052 _scLicenseService.setBeanIdentifier(beanIdentifier);
053 }
054
055 @Override
056 public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
057 java.lang.String name, java.lang.String url, boolean openSource,
058 boolean active, boolean recommended)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 return _scLicenseService.addLicense(name, url, openSource, active,
062 recommended);
063 }
064
065 @Override
066 public void deleteLicense(long licenseId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _scLicenseService.deleteLicense(licenseId);
070 }
071
072 @Override
073 public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
074 long licenseId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 return _scLicenseService.getLicense(licenseId);
078 }
079
080 @Override
081 public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
082 long licenseId, java.lang.String name, java.lang.String url,
083 boolean openSource, boolean active, boolean recommended)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException {
086 return _scLicenseService.updateLicense(licenseId, name, url,
087 openSource, active, recommended);
088 }
089
090
093 public SCLicenseService getWrappedSCLicenseService() {
094 return _scLicenseService;
095 }
096
097
100 public void setWrappedSCLicenseService(SCLicenseService scLicenseService) {
101 _scLicenseService = scLicenseService;
102 }
103
104 @Override
105 public SCLicenseService getWrappedService() {
106 return _scLicenseService;
107 }
108
109 @Override
110 public void setWrappedService(SCLicenseService scLicenseService) {
111 _scLicenseService = scLicenseService;
112 }
113
114 private SCLicenseService _scLicenseService;
115 }