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.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.PortalException,
53              com.liferay.portal.SystemException {
54          _scLicenseLocalService.deleteSCLicense(licenseId);
55      }
56  
57      public void deleteSCLicense(
58          com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
59          throws com.liferay.portal.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.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.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.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.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.PortalException,
93              com.liferay.portal.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) throws com.liferay.portal.SystemException {
99          return _scLicenseLocalService.getSCLicenses(start, end);
100     }
101 
102     public int getSCLicensesCount() throws com.liferay.portal.SystemException {
103         return _scLicenseLocalService.getSCLicensesCount();
104     }
105 
106     public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
107         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
108         throws com.liferay.portal.SystemException {
109         return _scLicenseLocalService.updateSCLicense(scLicense);
110     }
111 
112     public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
113         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
114         boolean merge) throws com.liferay.portal.SystemException {
115         return _scLicenseLocalService.updateSCLicense(scLicense, merge);
116     }
117 
118     public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
119         java.lang.String name, java.lang.String url, boolean openSource,
120         boolean active, boolean recommended)
121         throws com.liferay.portal.PortalException,
122             com.liferay.portal.SystemException {
123         return _scLicenseLocalService.addLicense(name, url, openSource, active,
124             recommended);
125     }
126 
127     public void deleteLicense(long licenseId)
128         throws com.liferay.portal.PortalException,
129             com.liferay.portal.SystemException {
130         _scLicenseLocalService.deleteLicense(licenseId);
131     }
132 
133     public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
134         long licenseId)
135         throws com.liferay.portal.PortalException,
136             com.liferay.portal.SystemException {
137         return _scLicenseLocalService.getLicense(licenseId);
138     }
139 
140     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses()
141         throws com.liferay.portal.SystemException {
142         return _scLicenseLocalService.getLicenses();
143     }
144 
145     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
146         boolean active, boolean recommended)
147         throws com.liferay.portal.SystemException {
148         return _scLicenseLocalService.getLicenses(active, recommended);
149     }
150 
151     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
152         boolean active, boolean recommended, int start, int end)
153         throws com.liferay.portal.SystemException {
154         return _scLicenseLocalService.getLicenses(active, recommended, start,
155             end);
156     }
157 
158     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
159         int start, int end) throws com.liferay.portal.SystemException {
160         return _scLicenseLocalService.getLicenses(start, end);
161     }
162 
163     public int getLicensesCount() throws com.liferay.portal.SystemException {
164         return _scLicenseLocalService.getLicensesCount();
165     }
166 
167     public int getLicensesCount(boolean active, boolean recommended)
168         throws com.liferay.portal.SystemException {
169         return _scLicenseLocalService.getLicensesCount(active, recommended);
170     }
171 
172     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getProductEntryLicenses(
173         long productEntryId) throws com.liferay.portal.SystemException {
174         return _scLicenseLocalService.getProductEntryLicenses(productEntryId);
175     }
176 
177     public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
178         long licenseId, java.lang.String name, java.lang.String url,
179         boolean openSource, boolean active, boolean recommended)
180         throws com.liferay.portal.PortalException,
181             com.liferay.portal.SystemException {
182         return _scLicenseLocalService.updateLicense(licenseId, name, url,
183             openSource, active, recommended);
184     }
185 
186     public SCLicenseLocalService getWrappedSCLicenseLocalService() {
187         return _scLicenseLocalService;
188     }
189 
190     private SCLicenseLocalService _scLicenseLocalService;
191 }