001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.softwarecatalog.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link SCLicenseService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       SCLicenseService
025     * @generated
026     */
027    public class SCLicenseServiceWrapper implements SCLicenseService {
028            public SCLicenseServiceWrapper(SCLicenseService scLicenseService) {
029                    _scLicenseService = scLicenseService;
030            }
031    
032            public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
033                    java.lang.String name, java.lang.String url, boolean openSource,
034                    boolean active, boolean recommended)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    return _scLicenseService.addLicense(name, url, openSource, active,
038                            recommended);
039            }
040    
041            public void deleteLicense(long licenseId)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _scLicenseService.deleteLicense(licenseId);
045            }
046    
047            public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
048                    long licenseId)
049                    throws com.liferay.portal.kernel.exception.PortalException,
050                            com.liferay.portal.kernel.exception.SystemException {
051                    return _scLicenseService.getLicense(licenseId);
052            }
053    
054            public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
055                    long licenseId, java.lang.String name, java.lang.String url,
056                    boolean openSource, boolean active, boolean recommended)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _scLicenseService.updateLicense(licenseId, name, url,
060                            openSource, active, recommended);
061            }
062    
063            public SCLicenseService getWrappedSCLicenseService() {
064                    return _scLicenseService;
065            }
066    
067            private SCLicenseService _scLicenseService;
068    }