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