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