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