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