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