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 WebDAVPropsLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see WebDAVPropsLocalService
024     * @generated
025     */
026    @ProviderType
027    public class WebDAVPropsLocalServiceWrapper implements WebDAVPropsLocalService,
028            ServiceWrapper<WebDAVPropsLocalService> {
029            public WebDAVPropsLocalServiceWrapper(
030                    WebDAVPropsLocalService webDAVPropsLocalService) {
031                    _webDAVPropsLocalService = webDAVPropsLocalService;
032            }
033    
034            /**
035            * Adds the web d a v props to the database. Also notifies the appropriate model listeners.
036            *
037            * @param webDAVProps the web d a v props
038            * @return the web d a v props that was added
039            */
040            @Override
041            public com.liferay.portal.model.WebDAVProps addWebDAVProps(
042                    com.liferay.portal.model.WebDAVProps webDAVProps) {
043                    return _webDAVPropsLocalService.addWebDAVProps(webDAVProps);
044            }
045    
046            /**
047            * Creates a new web d a v props with the primary key. Does not add the web d a v props to the database.
048            *
049            * @param webDavPropsId the primary key for the new web d a v props
050            * @return the new web d a v props
051            */
052            @Override
053            public com.liferay.portal.model.WebDAVProps createWebDAVProps(
054                    long webDavPropsId) {
055                    return _webDAVPropsLocalService.createWebDAVProps(webDavPropsId);
056            }
057    
058            /**
059            * @throws PortalException
060            */
061            @Override
062            public com.liferay.portal.model.PersistedModel deletePersistedModel(
063                    com.liferay.portal.model.PersistedModel persistedModel)
064                    throws com.liferay.portal.kernel.exception.PortalException {
065                    return _webDAVPropsLocalService.deletePersistedModel(persistedModel);
066            }
067    
068            @Override
069            public void deleteWebDAVProps(java.lang.String className, long classPK) {
070                    _webDAVPropsLocalService.deleteWebDAVProps(className, classPK);
071            }
072    
073            /**
074            * Deletes the web d a v props from the database. Also notifies the appropriate model listeners.
075            *
076            * @param webDAVProps the web d a v props
077            * @return the web d a v props that was removed
078            */
079            @Override
080            public com.liferay.portal.model.WebDAVProps deleteWebDAVProps(
081                    com.liferay.portal.model.WebDAVProps webDAVProps) {
082                    return _webDAVPropsLocalService.deleteWebDAVProps(webDAVProps);
083            }
084    
085            /**
086            * Deletes the web d a v props with the primary key from the database. Also notifies the appropriate model listeners.
087            *
088            * @param webDavPropsId the primary key of the web d a v props
089            * @return the web d a v props that was removed
090            * @throws PortalException if a web d a v props with the primary key could not be found
091            */
092            @Override
093            public com.liferay.portal.model.WebDAVProps deleteWebDAVProps(
094                    long webDavPropsId)
095                    throws com.liferay.portal.kernel.exception.PortalException {
096                    return _webDAVPropsLocalService.deleteWebDAVProps(webDavPropsId);
097            }
098    
099            @Override
100            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
101                    return _webDAVPropsLocalService.dynamicQuery();
102            }
103    
104            /**
105            * Performs a dynamic query on the database and returns the matching rows.
106            *
107            * @param dynamicQuery the dynamic query
108            * @return the matching rows
109            */
110            @Override
111            public <T> java.util.List<T> dynamicQuery(
112                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
113                    return _webDAVPropsLocalService.dynamicQuery(dynamicQuery);
114            }
115    
116            /**
117            * Performs a dynamic query on the database and returns a range of the matching rows.
118            *
119            * <p>
120            * 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.WebDAVPropsModelImpl}. 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.
121            * </p>
122            *
123            * @param dynamicQuery the dynamic query
124            * @param start the lower bound of the range of model instances
125            * @param end the upper bound of the range of model instances (not inclusive)
126            * @return the range of matching rows
127            */
128            @Override
129            public <T> java.util.List<T> dynamicQuery(
130                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
131                    int end) {
132                    return _webDAVPropsLocalService.dynamicQuery(dynamicQuery, start, end);
133            }
134    
135            /**
136            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
137            *
138            * <p>
139            * 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.WebDAVPropsModelImpl}. 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.
140            * </p>
141            *
142            * @param dynamicQuery the dynamic query
143            * @param start the lower bound of the range of model instances
144            * @param end the upper bound of the range of model instances (not inclusive)
145            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
146            * @return the ordered range of matching rows
147            */
148            @Override
149            public <T> java.util.List<T> dynamicQuery(
150                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151                    int end,
152                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
153                    return _webDAVPropsLocalService.dynamicQuery(dynamicQuery, start, end,
154                            orderByComparator);
155            }
156    
157            /**
158            * Returns the number of rows matching the dynamic query.
159            *
160            * @param dynamicQuery the dynamic query
161            * @return the number of rows matching the dynamic query
162            */
163            @Override
164            public long dynamicQueryCount(
165                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
166                    return _webDAVPropsLocalService.dynamicQueryCount(dynamicQuery);
167            }
168    
169            /**
170            * Returns the number of rows matching the dynamic query.
171            *
172            * @param dynamicQuery the dynamic query
173            * @param projection the projection to apply to the query
174            * @return the number of rows matching the dynamic query
175            */
176            @Override
177            public long dynamicQueryCount(
178                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
179                    com.liferay.portal.kernel.dao.orm.Projection projection) {
180                    return _webDAVPropsLocalService.dynamicQueryCount(dynamicQuery,
181                            projection);
182            }
183    
184            @Override
185            public com.liferay.portal.model.WebDAVProps fetchWebDAVProps(
186                    long webDavPropsId) {
187                    return _webDAVPropsLocalService.fetchWebDAVProps(webDavPropsId);
188            }
189    
190            @Override
191            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
192                    return _webDAVPropsLocalService.getActionableDynamicQuery();
193            }
194    
195            /**
196            * Returns the OSGi service identifier.
197            *
198            * @return the OSGi service identifier
199            */
200            @Override
201            public java.lang.String getOSGiServiceIdentifier() {
202                    return _webDAVPropsLocalService.getOSGiServiceIdentifier();
203            }
204    
205            @Override
206            public com.liferay.portal.model.PersistedModel getPersistedModel(
207                    java.io.Serializable primaryKeyObj)
208                    throws com.liferay.portal.kernel.exception.PortalException {
209                    return _webDAVPropsLocalService.getPersistedModel(primaryKeyObj);
210            }
211    
212            @Override
213            public com.liferay.portal.model.WebDAVProps getWebDAVProps(long companyId,
214                    java.lang.String className, long classPK) {
215                    return _webDAVPropsLocalService.getWebDAVProps(companyId, className,
216                            classPK);
217            }
218    
219            /**
220            * Returns the web d a v props with the primary key.
221            *
222            * @param webDavPropsId the primary key of the web d a v props
223            * @return the web d a v props
224            * @throws PortalException if a web d a v props with the primary key could not be found
225            */
226            @Override
227            public com.liferay.portal.model.WebDAVProps getWebDAVProps(
228                    long webDavPropsId)
229                    throws com.liferay.portal.kernel.exception.PortalException {
230                    return _webDAVPropsLocalService.getWebDAVProps(webDavPropsId);
231            }
232    
233            /**
234            * Returns a range of all the web d a v propses.
235            *
236            * <p>
237            * 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.WebDAVPropsModelImpl}. 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.
238            * </p>
239            *
240            * @param start the lower bound of the range of web d a v propses
241            * @param end the upper bound of the range of web d a v propses (not inclusive)
242            * @return the range of web d a v propses
243            */
244            @Override
245            public java.util.List<com.liferay.portal.model.WebDAVProps> getWebDAVPropses(
246                    int start, int end) {
247                    return _webDAVPropsLocalService.getWebDAVPropses(start, end);
248            }
249    
250            /**
251            * Returns the number of web d a v propses.
252            *
253            * @return the number of web d a v propses
254            */
255            @Override
256            public int getWebDAVPropsesCount() {
257                    return _webDAVPropsLocalService.getWebDAVPropsesCount();
258            }
259    
260            @Override
261            public void storeWebDAVProps(
262                    com.liferay.portal.model.WebDAVProps webDavProps)
263                    throws com.liferay.portal.kernel.exception.PortalException {
264                    _webDAVPropsLocalService.storeWebDAVProps(webDavProps);
265            }
266    
267            /**
268            * Updates the web d a v props in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
269            *
270            * @param webDAVProps the web d a v props
271            * @return the web d a v props that was updated
272            */
273            @Override
274            public com.liferay.portal.model.WebDAVProps updateWebDAVProps(
275                    com.liferay.portal.model.WebDAVProps webDAVProps) {
276                    return _webDAVPropsLocalService.updateWebDAVProps(webDAVProps);
277            }
278    
279            /**
280             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
281             */
282            @Deprecated
283            public WebDAVPropsLocalService getWrappedWebDAVPropsLocalService() {
284                    return _webDAVPropsLocalService;
285            }
286    
287            /**
288             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
289             */
290            @Deprecated
291            public void setWrappedWebDAVPropsLocalService(
292                    WebDAVPropsLocalService webDAVPropsLocalService) {
293                    _webDAVPropsLocalService = webDAVPropsLocalService;
294            }
295    
296            @Override
297            public WebDAVPropsLocalService getWrappedService() {
298                    return _webDAVPropsLocalService;
299            }
300    
301            @Override
302            public void setWrappedService(
303                    WebDAVPropsLocalService webDAVPropsLocalService) {
304                    _webDAVPropsLocalService = webDAVPropsLocalService;
305            }
306    
307            private WebDAVPropsLocalService _webDAVPropsLocalService;
308    }