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 @Override 196 public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { 197 return _webDAVPropsLocalService.getIndexableActionableDynamicQuery(); 198 } 199 200 /** 201 * Returns the OSGi service identifier. 202 * 203 * @return the OSGi service identifier 204 */ 205 @Override 206 public java.lang.String getOSGiServiceIdentifier() { 207 return _webDAVPropsLocalService.getOSGiServiceIdentifier(); 208 } 209 210 @Override 211 public com.liferay.portal.model.PersistedModel getPersistedModel( 212 java.io.Serializable primaryKeyObj) 213 throws com.liferay.portal.kernel.exception.PortalException { 214 return _webDAVPropsLocalService.getPersistedModel(primaryKeyObj); 215 } 216 217 @Override 218 public com.liferay.portal.model.WebDAVProps getWebDAVProps(long companyId, 219 java.lang.String className, long classPK) { 220 return _webDAVPropsLocalService.getWebDAVProps(companyId, className, 221 classPK); 222 } 223 224 /** 225 * Returns the web d a v props with the primary key. 226 * 227 * @param webDavPropsId the primary key of the web d a v props 228 * @return the web d a v props 229 * @throws PortalException if a web d a v props with the primary key could not be found 230 */ 231 @Override 232 public com.liferay.portal.model.WebDAVProps getWebDAVProps( 233 long webDavPropsId) 234 throws com.liferay.portal.kernel.exception.PortalException { 235 return _webDAVPropsLocalService.getWebDAVProps(webDavPropsId); 236 } 237 238 /** 239 * Returns a range of all the web d a v propses. 240 * 241 * <p> 242 * 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. 243 * </p> 244 * 245 * @param start the lower bound of the range of web d a v propses 246 * @param end the upper bound of the range of web d a v propses (not inclusive) 247 * @return the range of web d a v propses 248 */ 249 @Override 250 public java.util.List<com.liferay.portal.model.WebDAVProps> getWebDAVPropses( 251 int start, int end) { 252 return _webDAVPropsLocalService.getWebDAVPropses(start, end); 253 } 254 255 /** 256 * Returns the number of web d a v propses. 257 * 258 * @return the number of web d a v propses 259 */ 260 @Override 261 public int getWebDAVPropsesCount() { 262 return _webDAVPropsLocalService.getWebDAVPropsesCount(); 263 } 264 265 @Override 266 public void storeWebDAVProps( 267 com.liferay.portal.model.WebDAVProps webDavProps) 268 throws com.liferay.portal.kernel.exception.PortalException { 269 _webDAVPropsLocalService.storeWebDAVProps(webDavProps); 270 } 271 272 /** 273 * 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. 274 * 275 * @param webDAVProps the web d a v props 276 * @return the web d a v props that was updated 277 */ 278 @Override 279 public com.liferay.portal.model.WebDAVProps updateWebDAVProps( 280 com.liferay.portal.model.WebDAVProps webDAVProps) { 281 return _webDAVPropsLocalService.updateWebDAVProps(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 }