1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.softwarecatalog.service;
16  
17  
18  /**
19   * <a href="SCLicenseLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link SCLicenseLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       SCLicenseLocalService
32   * @generated
33   */
34  public class SCLicenseLocalServiceWrapper implements SCLicenseLocalService {
35      public SCLicenseLocalServiceWrapper(
36          SCLicenseLocalService scLicenseLocalService) {
37          _scLicenseLocalService = scLicenseLocalService;
38      }
39  
40      public com.liferay.portlet.softwarecatalog.model.SCLicense addSCLicense(
41          com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
42          throws com.liferay.portal.kernel.exception.SystemException {
43          return _scLicenseLocalService.addSCLicense(scLicense);
44      }
45  
46      public com.liferay.portlet.softwarecatalog.model.SCLicense createSCLicense(
47          long licenseId) {
48          return _scLicenseLocalService.createSCLicense(licenseId);
49      }
50  
51      public void deleteSCLicense(long licenseId)
52          throws com.liferay.portal.kernel.exception.PortalException,
53              com.liferay.portal.kernel.exception.SystemException {
54          _scLicenseLocalService.deleteSCLicense(licenseId);
55      }
56  
57      public void deleteSCLicense(
58          com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
59          throws com.liferay.portal.kernel.exception.SystemException {
60          _scLicenseLocalService.deleteSCLicense(scLicense);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.kernel.exception.SystemException {
66          return _scLicenseLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.kernel.exception.SystemException {
72          return _scLicenseLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException {
80          return _scLicenseLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _scLicenseLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portlet.softwarecatalog.model.SCLicense getSCLicense(
91          long licenseId)
92          throws com.liferay.portal.kernel.exception.PortalException,
93              com.liferay.portal.kernel.exception.SystemException {
94          return _scLicenseLocalService.getSCLicense(licenseId);
95      }
96  
97      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
98          int start, int end)
99          throws com.liferay.portal.kernel.exception.SystemException {
100         return _scLicenseLocalService.getSCLicenses(start, end);
101     }
102 
103     public int getSCLicensesCount()
104         throws com.liferay.portal.kernel.exception.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.kernel.exception.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)
117         throws com.liferay.portal.kernel.exception.SystemException {
118         return _scLicenseLocalService.updateSCLicense(scLicense, merge);
119     }
120 
121     public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
122         java.lang.String name, java.lang.String url, boolean openSource,
123         boolean active, boolean recommended)
124         throws com.liferay.portal.kernel.exception.PortalException,
125             com.liferay.portal.kernel.exception.SystemException {
126         return _scLicenseLocalService.addLicense(name, url, openSource, active,
127             recommended);
128     }
129 
130     public void deleteLicense(long licenseId)
131         throws com.liferay.portal.kernel.exception.PortalException,
132             com.liferay.portal.kernel.exception.SystemException {
133         _scLicenseLocalService.deleteLicense(licenseId);
134     }
135 
136     public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
137         long licenseId)
138         throws com.liferay.portal.kernel.exception.PortalException,
139             com.liferay.portal.kernel.exception.SystemException {
140         return _scLicenseLocalService.getLicense(licenseId);
141     }
142 
143     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses()
144         throws com.liferay.portal.kernel.exception.SystemException {
145         return _scLicenseLocalService.getLicenses();
146     }
147 
148     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
149         boolean active, boolean recommended)
150         throws com.liferay.portal.kernel.exception.SystemException {
151         return _scLicenseLocalService.getLicenses(active, recommended);
152     }
153 
154     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
155         boolean active, boolean recommended, int start, int end)
156         throws com.liferay.portal.kernel.exception.SystemException {
157         return _scLicenseLocalService.getLicenses(active, recommended, start,
158             end);
159     }
160 
161     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
162         int start, int end)
163         throws com.liferay.portal.kernel.exception.SystemException {
164         return _scLicenseLocalService.getLicenses(start, end);
165     }
166 
167     public int getLicensesCount()
168         throws com.liferay.portal.kernel.exception.SystemException {
169         return _scLicenseLocalService.getLicensesCount();
170     }
171 
172     public int getLicensesCount(boolean active, boolean recommended)
173         throws com.liferay.portal.kernel.exception.SystemException {
174         return _scLicenseLocalService.getLicensesCount(active, recommended);
175     }
176 
177     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getProductEntryLicenses(
178         long productEntryId)
179         throws com.liferay.portal.kernel.exception.SystemException {
180         return _scLicenseLocalService.getProductEntryLicenses(productEntryId);
181     }
182 
183     public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
184         long licenseId, java.lang.String name, java.lang.String url,
185         boolean openSource, boolean active, boolean recommended)
186         throws com.liferay.portal.kernel.exception.PortalException,
187             com.liferay.portal.kernel.exception.SystemException {
188         return _scLicenseLocalService.updateLicense(licenseId, name, url,
189             openSource, active, recommended);
190     }
191 
192     public SCLicenseLocalService getWrappedSCLicenseLocalService() {
193         return _scLicenseLocalService;
194     }
195 
196     private SCLicenseLocalService _scLicenseLocalService;
197 }