001    /**
002     * Copyright (c) 2000-2012 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    /**
018     * <p>
019     * This class is a wrapper for {@link WebDAVPropsLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       WebDAVPropsLocalService
024     * @generated
025     */
026    public class WebDAVPropsLocalServiceWrapper implements WebDAVPropsLocalService,
027            ServiceWrapper<WebDAVPropsLocalService> {
028            public WebDAVPropsLocalServiceWrapper(
029                    WebDAVPropsLocalService webDAVPropsLocalService) {
030                    _webDAVPropsLocalService = webDAVPropsLocalService;
031            }
032    
033            /**
034            * Adds the web d a v props to the database. Also notifies the appropriate model listeners.
035            *
036            * @param webDAVProps the web d a v props
037            * @return the web d a v props that was added
038            * @throws SystemException if a system exception occurred
039            */
040            public com.liferay.portal.model.WebDAVProps addWebDAVProps(
041                    com.liferay.portal.model.WebDAVProps webDAVProps)
042                    throws com.liferay.portal.kernel.exception.SystemException {
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            public com.liferay.portal.model.WebDAVProps createWebDAVProps(
053                    long webDavPropsId) {
054                    return _webDAVPropsLocalService.createWebDAVProps(webDavPropsId);
055            }
056    
057            /**
058            * Deletes the web d a v props with the primary key from the database. Also notifies the appropriate model listeners.
059            *
060            * @param webDavPropsId the primary key of the web d a v props
061            * @throws PortalException if a web d a v props with the primary key could not be found
062            * @throws SystemException if a system exception occurred
063            */
064            public void deleteWebDAVProps(long webDavPropsId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    _webDAVPropsLocalService.deleteWebDAVProps(webDavPropsId);
068            }
069    
070            /**
071            * Deletes the web d a v props from the database. Also notifies the appropriate model listeners.
072            *
073            * @param webDAVProps the web d a v props
074            * @throws SystemException if a system exception occurred
075            */
076            public void deleteWebDAVProps(
077                    com.liferay.portal.model.WebDAVProps webDAVProps)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    _webDAVPropsLocalService.deleteWebDAVProps(webDAVProps);
080            }
081    
082            /**
083            * Performs a dynamic query on the database and returns the matching rows.
084            *
085            * @param dynamicQuery the dynamic query
086            * @return the matching rows
087            * @throws SystemException if a system exception occurred
088            */
089            @SuppressWarnings("rawtypes")
090            public java.util.List dynamicQuery(
091                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092                    throws com.liferay.portal.kernel.exception.SystemException {
093                    return _webDAVPropsLocalService.dynamicQuery(dynamicQuery);
094            }
095    
096            /**
097            * Performs a dynamic query on the database and returns a range of the matching rows.
098            *
099            * <p>
100            * 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.
101            * </p>
102            *
103            * @param dynamicQuery the dynamic query
104            * @param start the lower bound of the range of model instances
105            * @param end the upper bound of the range of model instances (not inclusive)
106            * @return the range of matching rows
107            * @throws SystemException if a system exception occurred
108            */
109            @SuppressWarnings("rawtypes")
110            public java.util.List dynamicQuery(
111                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112                    int end) throws com.liferay.portal.kernel.exception.SystemException {
113                    return _webDAVPropsLocalService.dynamicQuery(dynamicQuery, start, end);
114            }
115    
116            /**
117            * Performs a dynamic query on the database and returns an ordered 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.
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            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
127            * @return the ordered range of matching rows
128            * @throws SystemException if a system exception occurred
129            */
130            @SuppressWarnings("rawtypes")
131            public java.util.List dynamicQuery(
132                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133                    int end,
134                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135                    throws com.liferay.portal.kernel.exception.SystemException {
136                    return _webDAVPropsLocalService.dynamicQuery(dynamicQuery, start, end,
137                            orderByComparator);
138            }
139    
140            /**
141            * Returns the number of rows that match the dynamic query.
142            *
143            * @param dynamicQuery the dynamic query
144            * @return the number of rows that match the dynamic query
145            * @throws SystemException if a system exception occurred
146            */
147            public long dynamicQueryCount(
148                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149                    throws com.liferay.portal.kernel.exception.SystemException {
150                    return _webDAVPropsLocalService.dynamicQueryCount(dynamicQuery);
151            }
152    
153            public com.liferay.portal.model.WebDAVProps fetchWebDAVProps(
154                    long webDavPropsId)
155                    throws com.liferay.portal.kernel.exception.SystemException {
156                    return _webDAVPropsLocalService.fetchWebDAVProps(webDavPropsId);
157            }
158    
159            /**
160            * Returns the web d a v props with the primary key.
161            *
162            * @param webDavPropsId the primary key of the web d a v props
163            * @return the web d a v props
164            * @throws PortalException if a web d a v props with the primary key could not be found
165            * @throws SystemException if a system exception occurred
166            */
167            public com.liferay.portal.model.WebDAVProps getWebDAVProps(
168                    long webDavPropsId)
169                    throws com.liferay.portal.kernel.exception.PortalException,
170                            com.liferay.portal.kernel.exception.SystemException {
171                    return _webDAVPropsLocalService.getWebDAVProps(webDavPropsId);
172            }
173    
174            public com.liferay.portal.model.PersistedModel getPersistedModel(
175                    java.io.Serializable primaryKeyObj)
176                    throws com.liferay.portal.kernel.exception.PortalException,
177                            com.liferay.portal.kernel.exception.SystemException {
178                    return _webDAVPropsLocalService.getPersistedModel(primaryKeyObj);
179            }
180    
181            /**
182            * Returns a range of all the web d a v propses.
183            *
184            * <p>
185            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
186            * </p>
187            *
188            * @param start the lower bound of the range of web d a v propses
189            * @param end the upper bound of the range of web d a v propses (not inclusive)
190            * @return the range of web d a v propses
191            * @throws SystemException if a system exception occurred
192            */
193            public java.util.List<com.liferay.portal.model.WebDAVProps> getWebDAVPropses(
194                    int start, int end)
195                    throws com.liferay.portal.kernel.exception.SystemException {
196                    return _webDAVPropsLocalService.getWebDAVPropses(start, end);
197            }
198    
199            /**
200            * Returns the number of web d a v propses.
201            *
202            * @return the number of web d a v propses
203            * @throws SystemException if a system exception occurred
204            */
205            public int getWebDAVPropsesCount()
206                    throws com.liferay.portal.kernel.exception.SystemException {
207                    return _webDAVPropsLocalService.getWebDAVPropsesCount();
208            }
209    
210            /**
211            * 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.
212            *
213            * @param webDAVProps the web d a v props
214            * @return the web d a v props that was updated
215            * @throws SystemException if a system exception occurred
216            */
217            public com.liferay.portal.model.WebDAVProps updateWebDAVProps(
218                    com.liferay.portal.model.WebDAVProps webDAVProps)
219                    throws com.liferay.portal.kernel.exception.SystemException {
220                    return _webDAVPropsLocalService.updateWebDAVProps(webDAVProps);
221            }
222    
223            /**
224            * 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.
225            *
226            * @param webDAVProps the web d a v props
227            * @param merge whether to merge the web d a v props with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
228            * @return the web d a v props that was updated
229            * @throws SystemException if a system exception occurred
230            */
231            public com.liferay.portal.model.WebDAVProps updateWebDAVProps(
232                    com.liferay.portal.model.WebDAVProps webDAVProps, boolean merge)
233                    throws com.liferay.portal.kernel.exception.SystemException {
234                    return _webDAVPropsLocalService.updateWebDAVProps(webDAVProps, merge);
235            }
236    
237            /**
238            * Returns the Spring bean ID for this bean.
239            *
240            * @return the Spring bean ID for this bean
241            */
242            public java.lang.String getBeanIdentifier() {
243                    return _webDAVPropsLocalService.getBeanIdentifier();
244            }
245    
246            /**
247            * Sets the Spring bean ID for this bean.
248            *
249            * @param beanIdentifier the Spring bean ID for this bean
250            */
251            public void setBeanIdentifier(java.lang.String beanIdentifier) {
252                    _webDAVPropsLocalService.setBeanIdentifier(beanIdentifier);
253            }
254    
255            public void deleteWebDAVProps(java.lang.String className, long classPK)
256                    throws com.liferay.portal.kernel.exception.SystemException {
257                    _webDAVPropsLocalService.deleteWebDAVProps(className, classPK);
258            }
259    
260            public com.liferay.portal.model.WebDAVProps getWebDAVProps(long companyId,
261                    java.lang.String className, long classPK)
262                    throws com.liferay.portal.kernel.exception.SystemException {
263                    return _webDAVPropsLocalService.getWebDAVProps(companyId, className,
264                            classPK);
265            }
266    
267            public void storeWebDAVProps(
268                    com.liferay.portal.model.WebDAVProps webDavProps)
269                    throws com.liferay.portal.kernel.exception.PortalException,
270                            com.liferay.portal.kernel.exception.SystemException {
271                    _webDAVPropsLocalService.storeWebDAVProps(webDavProps);
272            }
273    
274            /**
275             * @deprecated Renamed to {@link #getWrappedService}
276             */
277            public WebDAVPropsLocalService getWrappedWebDAVPropsLocalService() {
278                    return _webDAVPropsLocalService;
279            }
280    
281            /**
282             * @deprecated Renamed to {@link #setWrappedService}
283             */
284            public void setWrappedWebDAVPropsLocalService(
285                    WebDAVPropsLocalService webDAVPropsLocalService) {
286                    _webDAVPropsLocalService = webDAVPropsLocalService;
287            }
288    
289            public WebDAVPropsLocalService getWrappedService() {
290                    return _webDAVPropsLocalService;
291            }
292    
293            public void setWrappedService(
294                    WebDAVPropsLocalService webDAVPropsLocalService) {
295                    _webDAVPropsLocalService = webDAVPropsLocalService;
296            }
297    
298            private WebDAVPropsLocalService _webDAVPropsLocalService;
299    }