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            /**
193            * Returns the Spring bean ID for this bean.
194            *
195            * @return the Spring bean ID for this bean
196            */
197            @Override
198            public java.lang.String getBeanIdentifier() {
199                    return _userTrackerPathLocalService.getBeanIdentifier();
200            }
201    
202            @Override
203            public com.liferay.portal.model.PersistedModel getPersistedModel(
204                    java.io.Serializable primaryKeyObj)
205                    throws com.liferay.portal.kernel.exception.PortalException {
206                    return _userTrackerPathLocalService.getPersistedModel(primaryKeyObj);
207            }
208    
209            /**
210            * Returns the user tracker path with the primary key.
211            *
212            * @param userTrackerPathId the primary key of the user tracker path
213            * @return the user tracker path
214            * @throws PortalException if a user tracker path with the primary key could not be found
215            */
216            @Override
217            public com.liferay.portal.model.UserTrackerPath getUserTrackerPath(
218                    long userTrackerPathId)
219                    throws com.liferay.portal.kernel.exception.PortalException {
220                    return _userTrackerPathLocalService.getUserTrackerPath(userTrackerPathId);
221            }
222    
223            /**
224            * Returns a range of all the user tracker paths.
225            *
226            * <p>
227            * 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.
228            * </p>
229            *
230            * @param start the lower bound of the range of user tracker paths
231            * @param end the upper bound of the range of user tracker paths (not inclusive)
232            * @return the range of user tracker paths
233            */
234            @Override
235            public java.util.List<com.liferay.portal.model.UserTrackerPath> getUserTrackerPaths(
236                    int start, int end) {
237                    return _userTrackerPathLocalService.getUserTrackerPaths(start, end);
238            }
239    
240            @Override
241            public java.util.List<com.liferay.portal.model.UserTrackerPath> getUserTrackerPaths(
242                    long userTrackerId, int start, int end) {
243                    return _userTrackerPathLocalService.getUserTrackerPaths(userTrackerId,
244                            start, end);
245            }
246    
247            /**
248            * Returns the number of user tracker paths.
249            *
250            * @return the number of user tracker paths
251            */
252            @Override
253            public int getUserTrackerPathsCount() {
254                    return _userTrackerPathLocalService.getUserTrackerPathsCount();
255            }
256    
257            /**
258            * Sets the Spring bean ID for this bean.
259            *
260            * @param beanIdentifier the Spring bean ID for this bean
261            */
262            @Override
263            public void setBeanIdentifier(java.lang.String beanIdentifier) {
264                    _userTrackerPathLocalService.setBeanIdentifier(beanIdentifier);
265            }
266    
267            /**
268            * Updates the user tracker path in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
269            *
270            * @param userTrackerPath the user tracker path
271            * @return the user tracker path that was updated
272            */
273            @Override
274            public com.liferay.portal.model.UserTrackerPath updateUserTrackerPath(
275                    com.liferay.portal.model.UserTrackerPath userTrackerPath) {
276                    return _userTrackerPathLocalService.updateUserTrackerPath(userTrackerPath);
277            }
278    
279            /**
280             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
281             */
282            @Deprecated
283            public UserTrackerPathLocalService getWrappedUserTrackerPathLocalService() {
284                    return _userTrackerPathLocalService;
285            }
286    
287            /**
288             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
289             */
290            @Deprecated
291            public void setWrappedUserTrackerPathLocalService(
292                    UserTrackerPathLocalService userTrackerPathLocalService) {
293                    _userTrackerPathLocalService = userTrackerPathLocalService;
294            }
295    
296            @Override
297            public UserTrackerPathLocalService getWrappedService() {
298                    return _userTrackerPathLocalService;
299            }
300    
301            @Override
302            public void setWrappedService(
303                    UserTrackerPathLocalService userTrackerPathLocalService) {
304                    _userTrackerPathLocalService = userTrackerPathLocalService;
305            }
306    
307            private UserTrackerPathLocalService _userTrackerPathLocalService;
308    }