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.exportimport.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link ExportImportConfigurationLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see ExportImportConfigurationLocalService
026     * @generated
027     */
028    @ProviderType
029    public class ExportImportConfigurationLocalServiceWrapper
030            implements ExportImportConfigurationLocalService,
031                    ServiceWrapper<ExportImportConfigurationLocalService> {
032            public ExportImportConfigurationLocalServiceWrapper(
033                    ExportImportConfigurationLocalService exportImportConfigurationLocalService) {
034                    _exportImportConfigurationLocalService = exportImportConfigurationLocalService;
035            }
036    
037            @Override
038            public com.liferay.portlet.exportimport.model.ExportImportConfiguration addDraftExportImportConfiguration(
039                    long userId, java.lang.String name, int type,
040                    java.util.Map<java.lang.String, java.io.Serializable> settingsMap)
041                    throws com.liferay.portal.kernel.exception.PortalException {
042                    return _exportImportConfigurationLocalService.addDraftExportImportConfiguration(userId,
043                            name, type, settingsMap);
044            }
045    
046            @Override
047            public com.liferay.portlet.exportimport.model.ExportImportConfiguration addDraftExportImportConfiguration(
048                    long userId, int type,
049                    java.util.Map<java.lang.String, java.io.Serializable> settingsMap)
050                    throws com.liferay.portal.kernel.exception.PortalException {
051                    return _exportImportConfigurationLocalService.addDraftExportImportConfiguration(userId,
052                            type, settingsMap);
053            }
054    
055            /**
056            * Adds the export import configuration to the database. Also notifies the appropriate model listeners.
057            *
058            * @param exportImportConfiguration the export import configuration
059            * @return the export import configuration that was added
060            */
061            @Override
062            public com.liferay.portlet.exportimport.model.ExportImportConfiguration addExportImportConfiguration(
063                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) {
064                    return _exportImportConfigurationLocalService.addExportImportConfiguration(exportImportConfiguration);
065            }
066    
067            @Override
068            public com.liferay.portlet.exportimport.model.ExportImportConfiguration addExportImportConfiguration(
069                    long userId, long groupId, java.lang.String name,
070                    java.lang.String description, int type,
071                    java.util.Map<java.lang.String, java.io.Serializable> settingsMap,
072                    com.liferay.portal.service.ServiceContext serviceContext)
073                    throws com.liferay.portal.kernel.exception.PortalException {
074                    return _exportImportConfigurationLocalService.addExportImportConfiguration(userId,
075                            groupId, name, description, type, settingsMap, serviceContext);
076            }
077    
078            @Override
079            public com.liferay.portlet.exportimport.model.ExportImportConfiguration addExportImportConfiguration(
080                    long userId, long groupId, java.lang.String name,
081                    java.lang.String description, int type,
082                    java.util.Map<java.lang.String, java.io.Serializable> settingsMap,
083                    int status, com.liferay.portal.service.ServiceContext serviceContext)
084                    throws com.liferay.portal.kernel.exception.PortalException {
085                    return _exportImportConfigurationLocalService.addExportImportConfiguration(userId,
086                            groupId, name, description, type, settingsMap, status,
087                            serviceContext);
088            }
089    
090            /**
091            * Creates a new export import configuration with the primary key. Does not add the export import configuration to the database.
092            *
093            * @param exportImportConfigurationId the primary key for the new export import configuration
094            * @return the new export import configuration
095            */
096            @Override
097            public com.liferay.portlet.exportimport.model.ExportImportConfiguration createExportImportConfiguration(
098                    long exportImportConfigurationId) {
099                    return _exportImportConfigurationLocalService.createExportImportConfiguration(exportImportConfigurationId);
100            }
101    
102            /**
103            * Deletes the export import configuration from the database. Also notifies the appropriate model listeners.
104            *
105            * @param exportImportConfiguration the export import configuration
106            * @return the export import configuration that was removed
107            */
108            @Override
109            public com.liferay.portlet.exportimport.model.ExportImportConfiguration deleteExportImportConfiguration(
110                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) {
111                    return _exportImportConfigurationLocalService.deleteExportImportConfiguration(exportImportConfiguration);
112            }
113    
114            /**
115            * Deletes the export import configuration with the primary key from the database. Also notifies the appropriate model listeners.
116            *
117            * @param exportImportConfigurationId the primary key of the export import configuration
118            * @return the export import configuration that was removed
119            * @throws PortalException if a export import configuration with the primary key could not be found
120            */
121            @Override
122            public com.liferay.portlet.exportimport.model.ExportImportConfiguration deleteExportImportConfiguration(
123                    long exportImportConfigurationId)
124                    throws com.liferay.portal.kernel.exception.PortalException {
125                    return _exportImportConfigurationLocalService.deleteExportImportConfiguration(exportImportConfigurationId);
126            }
127    
128            @Override
129            public void deleteExportImportConfigurations(long groupId) {
130                    _exportImportConfigurationLocalService.deleteExportImportConfigurations(groupId);
131            }
132    
133            /**
134            * @throws PortalException
135            */
136            @Override
137            public com.liferay.portal.model.PersistedModel deletePersistedModel(
138                    com.liferay.portal.model.PersistedModel persistedModel)
139                    throws com.liferay.portal.kernel.exception.PortalException {
140                    return _exportImportConfigurationLocalService.deletePersistedModel(persistedModel);
141            }
142    
143            @Override
144            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
145                    return _exportImportConfigurationLocalService.dynamicQuery();
146            }
147    
148            /**
149            * Performs a dynamic query on the database and returns the matching rows.
150            *
151            * @param dynamicQuery the dynamic query
152            * @return the matching rows
153            */
154            @Override
155            public <T> java.util.List<T> dynamicQuery(
156                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
157                    return _exportImportConfigurationLocalService.dynamicQuery(dynamicQuery);
158            }
159    
160            /**
161            * Performs a dynamic query on the database and returns a range of the matching rows.
162            *
163            * <p>
164            * 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.exportimport.model.impl.ExportImportConfigurationModelImpl}. 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.
165            * </p>
166            *
167            * @param dynamicQuery the dynamic query
168            * @param start the lower bound of the range of model instances
169            * @param end the upper bound of the range of model instances (not inclusive)
170            * @return the range of matching rows
171            */
172            @Override
173            public <T> java.util.List<T> dynamicQuery(
174                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
175                    int end) {
176                    return _exportImportConfigurationLocalService.dynamicQuery(dynamicQuery,
177                            start, end);
178            }
179    
180            /**
181            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
182            *
183            * <p>
184            * 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.exportimport.model.impl.ExportImportConfigurationModelImpl}. 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.
185            * </p>
186            *
187            * @param dynamicQuery the dynamic query
188            * @param start the lower bound of the range of model instances
189            * @param end the upper bound of the range of model instances (not inclusive)
190            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
191            * @return the ordered range of matching rows
192            */
193            @Override
194            public <T> java.util.List<T> dynamicQuery(
195                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
196                    int end,
197                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
198                    return _exportImportConfigurationLocalService.dynamicQuery(dynamicQuery,
199                            start, end, orderByComparator);
200            }
201    
202            /**
203            * Returns the number of rows matching the dynamic query.
204            *
205            * @param dynamicQuery the dynamic query
206            * @return the number of rows matching the dynamic query
207            */
208            @Override
209            public long dynamicQueryCount(
210                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
211                    return _exportImportConfigurationLocalService.dynamicQueryCount(dynamicQuery);
212            }
213    
214            /**
215            * Returns the number of rows matching the dynamic query.
216            *
217            * @param dynamicQuery the dynamic query
218            * @param projection the projection to apply to the query
219            * @return the number of rows matching the dynamic query
220            */
221            @Override
222            public long dynamicQueryCount(
223                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
224                    com.liferay.portal.kernel.dao.orm.Projection projection) {
225                    return _exportImportConfigurationLocalService.dynamicQueryCount(dynamicQuery,
226                            projection);
227            }
228    
229            @Override
230            public com.liferay.portlet.exportimport.model.ExportImportConfiguration fetchExportImportConfiguration(
231                    long exportImportConfigurationId) {
232                    return _exportImportConfigurationLocalService.fetchExportImportConfiguration(exportImportConfigurationId);
233            }
234    
235            @Override
236            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
237                    return _exportImportConfigurationLocalService.getActionableDynamicQuery();
238            }
239    
240            /**
241            * Returns the export import configuration with the primary key.
242            *
243            * @param exportImportConfigurationId the primary key of the export import configuration
244            * @return the export import configuration
245            * @throws PortalException if a export import configuration with the primary key could not be found
246            */
247            @Override
248            public com.liferay.portlet.exportimport.model.ExportImportConfiguration getExportImportConfiguration(
249                    long exportImportConfigurationId)
250                    throws com.liferay.portal.kernel.exception.PortalException {
251                    return _exportImportConfigurationLocalService.getExportImportConfiguration(exportImportConfigurationId);
252            }
253    
254            @Override
255            public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
256                    long groupId, int type) {
257                    return _exportImportConfigurationLocalService.getExportImportConfigurations(groupId,
258                            type);
259            }
260    
261            @Override
262            public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
263                    long groupId, int type, int start, int end,
264                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator) {
265                    return _exportImportConfigurationLocalService.getExportImportConfigurations(groupId,
266                            type, start, end, orderByComparator);
267            }
268    
269            @Override
270            public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
271                    com.liferay.portal.kernel.search.Hits hits)
272                    throws com.liferay.portal.kernel.exception.PortalException {
273                    return _exportImportConfigurationLocalService.getExportImportConfigurations(hits);
274            }
275    
276            /**
277            * Returns a range of all the export import configurations.
278            *
279            * <p>
280            * 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.exportimport.model.impl.ExportImportConfigurationModelImpl}. 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.
281            * </p>
282            *
283            * @param start the lower bound of the range of export import configurations
284            * @param end the upper bound of the range of export import configurations (not inclusive)
285            * @return the range of export import configurations
286            */
287            @Override
288            public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
289                    int start, int end) {
290                    return _exportImportConfigurationLocalService.getExportImportConfigurations(start,
291                            end);
292            }
293    
294            /**
295            * Returns the number of export import configurations.
296            *
297            * @return the number of export import configurations
298            */
299            @Override
300            public int getExportImportConfigurationsCount() {
301                    return _exportImportConfigurationLocalService.getExportImportConfigurationsCount();
302            }
303    
304            @Override
305            public int getExportImportConfigurationsCount(long groupId) {
306                    return _exportImportConfigurationLocalService.getExportImportConfigurationsCount(groupId);
307            }
308    
309            @Override
310            public int getExportImportConfigurationsCount(long groupId, int type) {
311                    return _exportImportConfigurationLocalService.getExportImportConfigurationsCount(groupId,
312                            type);
313            }
314    
315            @Override
316            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
317                    return _exportImportConfigurationLocalService.getIndexableActionableDynamicQuery();
318            }
319    
320            /**
321            * Returns the OSGi service identifier.
322            *
323            * @return the OSGi service identifier
324            */
325            @Override
326            public java.lang.String getOSGiServiceIdentifier() {
327                    return _exportImportConfigurationLocalService.getOSGiServiceIdentifier();
328            }
329    
330            @Override
331            public com.liferay.portal.model.PersistedModel getPersistedModel(
332                    java.io.Serializable primaryKeyObj)
333                    throws com.liferay.portal.kernel.exception.PortalException {
334                    return _exportImportConfigurationLocalService.getPersistedModel(primaryKeyObj);
335            }
336    
337            @Override
338            public com.liferay.portlet.exportimport.model.ExportImportConfiguration moveExportImportConfigurationToTrash(
339                    long userId, long exportImportConfigurationId)
340                    throws com.liferay.portal.kernel.exception.PortalException {
341                    return _exportImportConfigurationLocalService.moveExportImportConfigurationToTrash(userId,
342                            exportImportConfigurationId);
343            }
344    
345            @Override
346            public com.liferay.portlet.exportimport.model.ExportImportConfiguration restoreExportImportConfigurationFromTrash(
347                    long userId, long exportImportConfigurationId)
348                    throws com.liferay.portal.kernel.exception.PortalException {
349                    return _exportImportConfigurationLocalService.restoreExportImportConfigurationFromTrash(userId,
350                            exportImportConfigurationId);
351            }
352    
353            @Override
354            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.exportimport.model.ExportImportConfiguration> searchExportImportConfigurations(
355                    long companyId, long groupId, int type, java.lang.String keywords,
356                    int start, int end, com.liferay.portal.kernel.search.Sort sort)
357                    throws com.liferay.portal.kernel.exception.PortalException {
358                    return _exportImportConfigurationLocalService.searchExportImportConfigurations(companyId,
359                            groupId, type, keywords, start, end, sort);
360            }
361    
362            @Override
363            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.exportimport.model.ExportImportConfiguration> searchExportImportConfigurations(
364                    long companyId, long groupId, int type, java.lang.String name,
365                    java.lang.String description, boolean andSearch, int start, int end,
366                    com.liferay.portal.kernel.search.Sort sort)
367                    throws com.liferay.portal.kernel.exception.PortalException {
368                    return _exportImportConfigurationLocalService.searchExportImportConfigurations(companyId,
369                            groupId, type, name, description, andSearch, start, end, sort);
370            }
371    
372            /**
373            * Updates the export import configuration in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
374            *
375            * @param exportImportConfiguration the export import configuration
376            * @return the export import configuration that was updated
377            */
378            @Override
379            public com.liferay.portlet.exportimport.model.ExportImportConfiguration updateExportImportConfiguration(
380                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) {
381                    return _exportImportConfigurationLocalService.updateExportImportConfiguration(exportImportConfiguration);
382            }
383    
384            @Override
385            public com.liferay.portlet.exportimport.model.ExportImportConfiguration updateExportImportConfiguration(
386                    long userId, long exportImportConfigurationId, java.lang.String name,
387                    java.lang.String description,
388                    java.util.Map<java.lang.String, java.io.Serializable> settingsMap,
389                    com.liferay.portal.service.ServiceContext serviceContext)
390                    throws com.liferay.portal.kernel.exception.PortalException {
391                    return _exportImportConfigurationLocalService.updateExportImportConfiguration(userId,
392                            exportImportConfigurationId, name, description, settingsMap,
393                            serviceContext);
394            }
395    
396            @Override
397            public com.liferay.portlet.exportimport.model.ExportImportConfiguration updateStatus(
398                    long userId, long exportImportConfigurationId, int status)
399                    throws com.liferay.portal.kernel.exception.PortalException {
400                    return _exportImportConfigurationLocalService.updateStatus(userId,
401                            exportImportConfigurationId, status);
402            }
403    
404            @Override
405            public ExportImportConfigurationLocalService getWrappedService() {
406                    return _exportImportConfigurationLocalService;
407            }
408    
409            @Override
410            public void setWrappedService(
411                    ExportImportConfigurationLocalService exportImportConfigurationLocalService) {
412                    _exportImportConfigurationLocalService = exportImportConfigurationLocalService;
413            }
414    
415            private ExportImportConfigurationLocalService _exportImportConfigurationLocalService;
416    }