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