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