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