001    /**
002     * Copyright (c) 2000-present 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    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link SCProductScreenshotLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see SCProductScreenshotLocalService
026     * @generated
027     */
028    @ProviderType
029    public class SCProductScreenshotLocalServiceWrapper
030            implements SCProductScreenshotLocalService,
031                    ServiceWrapper<SCProductScreenshotLocalService> {
032            public SCProductScreenshotLocalServiceWrapper(
033                    SCProductScreenshotLocalService scProductScreenshotLocalService) {
034                    _scProductScreenshotLocalService = scProductScreenshotLocalService;
035            }
036    
037            /**
038            * Adds the s c product screenshot to the database. Also notifies the appropriate model listeners.
039            *
040            * @param scProductScreenshot the s c product screenshot
041            * @return the s c product screenshot that was added
042            */
043            @Override
044            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot addSCProductScreenshot(
045                    com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot) {
046                    return _scProductScreenshotLocalService.addSCProductScreenshot(scProductScreenshot);
047            }
048    
049            /**
050            * Creates a new s c product screenshot with the primary key. Does not add the s c product screenshot to the database.
051            *
052            * @param productScreenshotId the primary key for the new s c product screenshot
053            * @return the new s c product screenshot
054            */
055            @Override
056            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot createSCProductScreenshot(
057                    long productScreenshotId) {
058                    return _scProductScreenshotLocalService.createSCProductScreenshot(productScreenshotId);
059            }
060    
061            /**
062            * @throws PortalException
063            */
064            @Override
065            public com.liferay.portal.model.PersistedModel deletePersistedModel(
066                    com.liferay.portal.model.PersistedModel persistedModel)
067                    throws com.liferay.portal.kernel.exception.PortalException {
068                    return _scProductScreenshotLocalService.deletePersistedModel(persistedModel);
069            }
070    
071            @Override
072            public void deleteProductScreenshot(
073                    com.liferay.portlet.softwarecatalog.model.SCProductScreenshot productScreenshot)
074                    throws com.liferay.portal.kernel.exception.PortalException {
075                    _scProductScreenshotLocalService.deleteProductScreenshot(productScreenshot);
076            }
077    
078            @Override
079            public void deleteProductScreenshots(long productEntryId)
080                    throws com.liferay.portal.kernel.exception.PortalException {
081                    _scProductScreenshotLocalService.deleteProductScreenshots(productEntryId);
082            }
083    
084            /**
085            * Deletes the s c product screenshot with the primary key from the database. Also notifies the appropriate model listeners.
086            *
087            * @param productScreenshotId the primary key of the s c product screenshot
088            * @return the s c product screenshot that was removed
089            * @throws PortalException if a s c product screenshot with the primary key could not be found
090            */
091            @Override
092            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot deleteSCProductScreenshot(
093                    long productScreenshotId)
094                    throws com.liferay.portal.kernel.exception.PortalException {
095                    return _scProductScreenshotLocalService.deleteSCProductScreenshot(productScreenshotId);
096            }
097    
098            /**
099            * Deletes the s c product screenshot from the database. Also notifies the appropriate model listeners.
100            *
101            * @param scProductScreenshot the s c product screenshot
102            * @return the s c product screenshot that was removed
103            */
104            @Override
105            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot deleteSCProductScreenshot(
106                    com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot) {
107                    return _scProductScreenshotLocalService.deleteSCProductScreenshot(scProductScreenshot);
108            }
109    
110            @Override
111            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
112                    return _scProductScreenshotLocalService.dynamicQuery();
113            }
114    
115            /**
116            * Performs a dynamic query on the database and returns the matching rows.
117            *
118            * @param dynamicQuery the dynamic query
119            * @return the matching rows
120            */
121            @Override
122            public <T> java.util.List<T> dynamicQuery(
123                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
124                    return _scProductScreenshotLocalService.dynamicQuery(dynamicQuery);
125            }
126    
127            /**
128            * Performs a dynamic query on the database and returns a range of the matching rows.
129            *
130            * <p>
131            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
132            * </p>
133            *
134            * @param dynamicQuery the dynamic query
135            * @param start the lower bound of the range of model instances
136            * @param end the upper bound of the range of model instances (not inclusive)
137            * @return the range of matching rows
138            */
139            @Override
140            public <T> java.util.List<T> dynamicQuery(
141                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142                    int end) {
143                    return _scProductScreenshotLocalService.dynamicQuery(dynamicQuery,
144                            start, end);
145            }
146    
147            /**
148            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
149            *
150            * <p>
151            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
152            * </p>
153            *
154            * @param dynamicQuery the dynamic query
155            * @param start the lower bound of the range of model instances
156            * @param end the upper bound of the range of model instances (not inclusive)
157            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
158            * @return the ordered range of matching rows
159            */
160            @Override
161            public <T> java.util.List<T> dynamicQuery(
162                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
163                    int end,
164                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
165                    return _scProductScreenshotLocalService.dynamicQuery(dynamicQuery,
166                            start, end, orderByComparator);
167            }
168    
169            /**
170            * Returns the number of rows matching the dynamic query.
171            *
172            * @param dynamicQuery the dynamic query
173            * @return the number of rows matching the dynamic query
174            */
175            @Override
176            public long dynamicQueryCount(
177                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
178                    return _scProductScreenshotLocalService.dynamicQueryCount(dynamicQuery);
179            }
180    
181            /**
182            * Returns the number of rows matching the dynamic query.
183            *
184            * @param dynamicQuery the dynamic query
185            * @param projection the projection to apply to the query
186            * @return the number of rows matching the dynamic query
187            */
188            @Override
189            public long dynamicQueryCount(
190                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
191                    com.liferay.portal.kernel.dao.orm.Projection projection) {
192                    return _scProductScreenshotLocalService.dynamicQueryCount(dynamicQuery,
193                            projection);
194            }
195    
196            @Override
197            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchSCProductScreenshot(
198                    long productScreenshotId) {
199                    return _scProductScreenshotLocalService.fetchSCProductScreenshot(productScreenshotId);
200            }
201    
202            @Override
203            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
204                    return _scProductScreenshotLocalService.getActionableDynamicQuery();
205            }
206    
207            /**
208            * Returns the OSGi service identifier.
209            *
210            * @return the OSGi service identifier
211            */
212            @Override
213            public java.lang.String getOSGiServiceIdentifier() {
214                    return _scProductScreenshotLocalService.getOSGiServiceIdentifier();
215            }
216    
217            @Override
218            public com.liferay.portal.model.PersistedModel getPersistedModel(
219                    java.io.Serializable primaryKeyObj)
220                    throws com.liferay.portal.kernel.exception.PortalException {
221                    return _scProductScreenshotLocalService.getPersistedModel(primaryKeyObj);
222            }
223    
224            @Override
225            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getProductScreenshot(
226                    long productEntryId, int priority)
227                    throws com.liferay.portal.kernel.exception.PortalException {
228                    return _scProductScreenshotLocalService.getProductScreenshot(productEntryId,
229                            priority);
230            }
231    
232            @Override
233            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getProductScreenshotByFullImageId(
234                    long fullImageId)
235                    throws com.liferay.portal.kernel.exception.PortalException {
236                    return _scProductScreenshotLocalService.getProductScreenshotByFullImageId(fullImageId);
237            }
238    
239            @Override
240            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getProductScreenshotByThumbnailId(
241                    long thumbnailId)
242                    throws com.liferay.portal.kernel.exception.PortalException {
243                    return _scProductScreenshotLocalService.getProductScreenshotByThumbnailId(thumbnailId);
244            }
245    
246            @Override
247            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> getProductScreenshots(
248                    long productEntryId) {
249                    return _scProductScreenshotLocalService.getProductScreenshots(productEntryId);
250            }
251    
252            /**
253            * Returns the s c product screenshot with the primary key.
254            *
255            * @param productScreenshotId the primary key of the s c product screenshot
256            * @return the s c product screenshot
257            * @throws PortalException if a s c product screenshot with the primary key could not be found
258            */
259            @Override
260            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getSCProductScreenshot(
261                    long productScreenshotId)
262                    throws com.liferay.portal.kernel.exception.PortalException {
263                    return _scProductScreenshotLocalService.getSCProductScreenshot(productScreenshotId);
264            }
265    
266            /**
267            * Returns a range of all the s c product screenshots.
268            *
269            * <p>
270            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
271            * </p>
272            *
273            * @param start the lower bound of the range of s c product screenshots
274            * @param end the upper bound of the range of s c product screenshots (not inclusive)
275            * @return the range of s c product screenshots
276            */
277            @Override
278            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> getSCProductScreenshots(
279                    int start, int end) {
280                    return _scProductScreenshotLocalService.getSCProductScreenshots(start,
281                            end);
282            }
283    
284            /**
285            * Returns the number of s c product screenshots.
286            *
287            * @return the number of s c product screenshots
288            */
289            @Override
290            public int getSCProductScreenshotsCount() {
291                    return _scProductScreenshotLocalService.getSCProductScreenshotsCount();
292            }
293    
294            /**
295            * Updates the s c product screenshot in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
296            *
297            * @param scProductScreenshot the s c product screenshot
298            * @return the s c product screenshot that was updated
299            */
300            @Override
301            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateSCProductScreenshot(
302                    com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot) {
303                    return _scProductScreenshotLocalService.updateSCProductScreenshot(scProductScreenshot);
304            }
305    
306            /**
307             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
308             */
309            @Deprecated
310            public SCProductScreenshotLocalService getWrappedSCProductScreenshotLocalService() {
311                    return _scProductScreenshotLocalService;
312            }
313    
314            /**
315             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
316             */
317            @Deprecated
318            public void setWrappedSCProductScreenshotLocalService(
319                    SCProductScreenshotLocalService scProductScreenshotLocalService) {
320                    _scProductScreenshotLocalService = scProductScreenshotLocalService;
321            }
322    
323            @Override
324            public SCProductScreenshotLocalService getWrappedService() {
325                    return _scProductScreenshotLocalService;
326            }
327    
328            @Override
329            public void setWrappedService(
330                    SCProductScreenshotLocalService scProductScreenshotLocalService) {
331                    _scProductScreenshotLocalService = scProductScreenshotLocalService;
332            }
333    
334            private SCProductScreenshotLocalService _scProductScreenshotLocalService;
335    }