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 companyId, long groupId, java.lang.String keywords, int type,
257                    int start, int end,
258                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator) {
259                    return _exportImportConfigurationLocalService.getExportImportConfigurations(companyId,
260                            groupId, keywords, type, start, end, orderByComparator);
261            }
262    
263            @Override
264            public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
265                    long companyId, long groupId, java.lang.String name,
266                    java.lang.String description, int type, boolean andSearch, int start,
267                    int end,
268                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator) {
269                    return _exportImportConfigurationLocalService.getExportImportConfigurations(companyId,
270                            groupId, name, description, type, andSearch, start, end,
271                            orderByComparator);
272            }
273    
274            @Override
275            public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
276                    long groupId, int type) {
277                    return _exportImportConfigurationLocalService.getExportImportConfigurations(groupId,
278                            type);
279            }
280    
281            @Override
282            public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
283                    long groupId, int type, int start, int end,
284                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator) {
285                    return _exportImportConfigurationLocalService.getExportImportConfigurations(groupId,
286                            type, start, end, orderByComparator);
287            }
288    
289            @Override
290            public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
291                    com.liferay.portal.kernel.search.Hits hits)
292                    throws com.liferay.portal.kernel.exception.PortalException {
293                    return _exportImportConfigurationLocalService.getExportImportConfigurations(hits);
294            }
295    
296            /**
297            * Returns a range of all the export import configurations.
298            *
299            * <p>
300            * 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.
301            * </p>
302            *
303            * @param start the lower bound of the range of export import configurations
304            * @param end the upper bound of the range of export import configurations (not inclusive)
305            * @return the range of export import configurations
306            */
307            @Override
308            public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
309                    int start, int end) {
310                    return _exportImportConfigurationLocalService.getExportImportConfigurations(start,
311                            end);
312            }
313    
314            /**
315            * Returns the number of export import configurations.
316            *
317            * @return the number of export import configurations
318            */
319            @Override
320            public int getExportImportConfigurationsCount() {
321                    return _exportImportConfigurationLocalService.getExportImportConfigurationsCount();
322            }
323    
324            @Override
325            public int getExportImportConfigurationsCount(long companyId, long groupId,
326                    java.lang.String keywords, int type) {
327                    return _exportImportConfigurationLocalService.getExportImportConfigurationsCount(companyId,
328                            groupId, keywords, type);
329            }
330    
331            @Override
332            public int getExportImportConfigurationsCount(long companyId, long groupId,
333                    java.lang.String name, java.lang.String description, int type,
334                    boolean andSearch) {
335                    return _exportImportConfigurationLocalService.getExportImportConfigurationsCount(companyId,
336                            groupId, name, description, type, andSearch);
337            }
338    
339            @Override
340            public int getExportImportConfigurationsCount(long groupId) {
341                    return _exportImportConfigurationLocalService.getExportImportConfigurationsCount(groupId);
342            }
343    
344            @Override
345            public int getExportImportConfigurationsCount(long groupId, int type) {
346                    return _exportImportConfigurationLocalService.getExportImportConfigurationsCount(groupId,
347                            type);
348            }
349    
350            @Override
351            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
352                    return _exportImportConfigurationLocalService.getIndexableActionableDynamicQuery();
353            }
354    
355            /**
356            * Returns the OSGi service identifier.
357            *
358            * @return the OSGi service identifier
359            */
360            @Override
361            public java.lang.String getOSGiServiceIdentifier() {
362                    return _exportImportConfigurationLocalService.getOSGiServiceIdentifier();
363            }
364    
365            @Override
366            public com.liferay.portal.model.PersistedModel getPersistedModel(
367                    java.io.Serializable primaryKeyObj)
368                    throws com.liferay.portal.kernel.exception.PortalException {
369                    return _exportImportConfigurationLocalService.getPersistedModel(primaryKeyObj);
370            }
371    
372            @Override
373            public com.liferay.portlet.exportimport.model.ExportImportConfiguration moveExportImportConfigurationToTrash(
374                    long userId, long exportImportConfigurationId)
375                    throws com.liferay.portal.kernel.exception.PortalException {
376                    return _exportImportConfigurationLocalService.moveExportImportConfigurationToTrash(userId,
377                            exportImportConfigurationId);
378            }
379    
380            @Override
381            public com.liferay.portlet.exportimport.model.ExportImportConfiguration restoreExportImportConfigurationFromTrash(
382                    long userId, long exportImportConfigurationId)
383                    throws com.liferay.portal.kernel.exception.PortalException {
384                    return _exportImportConfigurationLocalService.restoreExportImportConfigurationFromTrash(userId,
385                            exportImportConfigurationId);
386            }
387    
388            @Override
389            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.exportimport.model.ExportImportConfiguration> searchExportImportConfigurations(
390                    long companyId, long groupId, int type, java.lang.String keywords,
391                    int start, int end, com.liferay.portal.kernel.search.Sort sort)
392                    throws com.liferay.portal.kernel.exception.PortalException {
393                    return _exportImportConfigurationLocalService.searchExportImportConfigurations(companyId,
394                            groupId, type, keywords, start, end, sort);
395            }
396    
397            @Override
398            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.exportimport.model.ExportImportConfiguration> searchExportImportConfigurations(
399                    long companyId, long groupId, int type, java.lang.String name,
400                    java.lang.String description, boolean andSearch, int start, int end,
401                    com.liferay.portal.kernel.search.Sort sort)
402                    throws com.liferay.portal.kernel.exception.PortalException {
403                    return _exportImportConfigurationLocalService.searchExportImportConfigurations(companyId,
404                            groupId, type, name, description, andSearch, start, end, sort);
405            }
406    
407            /**
408            * Updates the export import configuration in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
409            *
410            * @param exportImportConfiguration the export import configuration
411            * @return the export import configuration that was updated
412            */
413            @Override
414            public com.liferay.portlet.exportimport.model.ExportImportConfiguration updateExportImportConfiguration(
415                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) {
416                    return _exportImportConfigurationLocalService.updateExportImportConfiguration(exportImportConfiguration);
417            }
418    
419            @Override
420            public com.liferay.portlet.exportimport.model.ExportImportConfiguration updateExportImportConfiguration(
421                    long userId, long exportImportConfigurationId, java.lang.String name,
422                    java.lang.String description,
423                    java.util.Map<java.lang.String, java.io.Serializable> settingsMap,
424                    com.liferay.portal.service.ServiceContext serviceContext)
425                    throws com.liferay.portal.kernel.exception.PortalException {
426                    return _exportImportConfigurationLocalService.updateExportImportConfiguration(userId,
427                            exportImportConfigurationId, name, description, settingsMap,
428                            serviceContext);
429            }
430    
431            @Override
432            public com.liferay.portlet.exportimport.model.ExportImportConfiguration updateStatus(
433                    long userId, long exportImportConfigurationId, int status)
434                    throws com.liferay.portal.kernel.exception.PortalException {
435                    return _exportImportConfigurationLocalService.updateStatus(userId,
436                            exportImportConfigurationId, status);
437            }
438    
439            @Override
440            public ExportImportConfigurationLocalService getWrappedService() {
441                    return _exportImportConfigurationLocalService;
442            }
443    
444            @Override
445            public void setWrappedService(
446                    ExportImportConfigurationLocalService exportImportConfigurationLocalService) {
447                    _exportImportConfigurationLocalService = exportImportConfigurationLocalService;
448            }
449    
450            private ExportImportConfigurationLocalService _exportImportConfigurationLocalService;
451    }