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