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      @SuppressWarnings("unchecked")
64      public java.util.List dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _scLicenseLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      @SuppressWarnings("unchecked")
71      public java.util.List dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73          int end) throws com.liferay.portal.kernel.exception.SystemException {
74          return _scLicenseLocalService.dynamicQuery(dynamicQuery, start, end);
75      }
76  
77      @SuppressWarnings("unchecked")
78      public java.util.List dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end,
81          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82          throws com.liferay.portal.kernel.exception.SystemException {
83          return _scLicenseLocalService.dynamicQuery(dynamicQuery, start, end,
84              orderByComparator);
85      }
86  
87      public long dynamicQueryCount(
88          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
89          throws com.liferay.portal.kernel.exception.SystemException {
90          return _scLicenseLocalService.dynamicQueryCount(dynamicQuery);
91      }
92  
93      public com.liferay.portlet.softwarecatalog.model.SCLicense getSCLicense(
94          long licenseId)
95          throws com.liferay.portal.kernel.exception.PortalException,
96              com.liferay.portal.kernel.exception.SystemException {
97          return _scLicenseLocalService.getSCLicense(licenseId);
98      }
99  
100     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
101         int start, int end)
102         throws com.liferay.portal.kernel.exception.SystemException {
103         return _scLicenseLocalService.getSCLicenses(start, end);
104     }
105 
106     public int getSCLicensesCount()
107         throws com.liferay.portal.kernel.exception.SystemException {
108         return _scLicenseLocalService.getSCLicensesCount();
109     }
110 
111     public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
112         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
113         throws com.liferay.portal.kernel.exception.SystemException {
114         return _scLicenseLocalService.updateSCLicense(scLicense);
115     }
116 
117     public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
118         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
119         boolean merge)
120         throws com.liferay.portal.kernel.exception.SystemException {
121         return _scLicenseLocalService.updateSCLicense(scLicense, merge);
122     }
123 
124     public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
125         java.lang.String name, java.lang.String url, boolean openSource,
126         boolean active, boolean recommended)
127         throws com.liferay.portal.kernel.exception.PortalException,
128             com.liferay.portal.kernel.exception.SystemException {
129         return _scLicenseLocalService.addLicense(name, url, openSource, active,
130             recommended);
131     }
132 
133     public void deleteLicense(long licenseId)
134         throws com.liferay.portal.kernel.exception.PortalException,
135             com.liferay.portal.kernel.exception.SystemException {
136         _scLicenseLocalService.deleteLicense(licenseId);
137     }
138 
139     public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
140         long licenseId)
141         throws com.liferay.portal.kernel.exception.PortalException,
142             com.liferay.portal.kernel.exception.SystemException {
143         return _scLicenseLocalService.getLicense(licenseId);
144     }
145 
146     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses()
147         throws com.liferay.portal.kernel.exception.SystemException {
148         return _scLicenseLocalService.getLicenses();
149     }
150 
151     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
152         boolean active, boolean recommended)
153         throws com.liferay.portal.kernel.exception.SystemException {
154         return _scLicenseLocalService.getLicenses(active, recommended);
155     }
156 
157     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
158         boolean active, boolean recommended, int start, int end)
159         throws com.liferay.portal.kernel.exception.SystemException {
160         return _scLicenseLocalService.getLicenses(active, recommended, start,
161             end);
162     }
163 
164     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
165         int start, int end)
166         throws com.liferay.portal.kernel.exception.SystemException {
167         return _scLicenseLocalService.getLicenses(start, end);
168     }
169 
170     public int getLicensesCount()
171         throws com.liferay.portal.kernel.exception.SystemException {
172         return _scLicenseLocalService.getLicensesCount();
173     }
174 
175     public int getLicensesCount(boolean active, boolean recommended)
176         throws com.liferay.portal.kernel.exception.SystemException {
177         return _scLicenseLocalService.getLicensesCount(active, recommended);
178     }
179 
180     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getProductEntryLicenses(
181         long productEntryId)
182         throws com.liferay.portal.kernel.exception.SystemException {
183         return _scLicenseLocalService.getProductEntryLicenses(productEntryId);
184     }
185 
186     public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
187         long licenseId, java.lang.String name, java.lang.String url,
188         boolean openSource, boolean active, boolean recommended)
189         throws com.liferay.portal.kernel.exception.PortalException,
190             com.liferay.portal.kernel.exception.SystemException {
191         return _scLicenseLocalService.updateLicense(licenseId, name, url,
192             openSource, active, recommended);
193     }
194 
195     public SCLicenseLocalService getWrappedSCLicenseLocalService() {
196         return _scLicenseLocalService;
197     }
198 
199     private SCLicenseLocalService _scLicenseLocalService;
200 }