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 BrowserTrackerLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see BrowserTrackerLocalService
024     * @generated
025     */
026    @ProviderType
027    public class BrowserTrackerLocalServiceWrapper
028            implements BrowserTrackerLocalService,
029                    ServiceWrapper<BrowserTrackerLocalService> {
030            public BrowserTrackerLocalServiceWrapper(
031                    BrowserTrackerLocalService browserTrackerLocalService) {
032                    _browserTrackerLocalService = browserTrackerLocalService;
033            }
034    
035            /**
036            * Adds the browser tracker to the database. Also notifies the appropriate model listeners.
037            *
038            * @param browserTracker the browser tracker
039            * @return the browser tracker that was added
040            */
041            @Override
042            public com.liferay.portal.model.BrowserTracker addBrowserTracker(
043                    com.liferay.portal.model.BrowserTracker browserTracker) {
044                    return _browserTrackerLocalService.addBrowserTracker(browserTracker);
045            }
046    
047            /**
048            * Creates a new browser tracker with the primary key. Does not add the browser tracker to the database.
049            *
050            * @param browserTrackerId the primary key for the new browser tracker
051            * @return the new browser tracker
052            */
053            @Override
054            public com.liferay.portal.model.BrowserTracker createBrowserTracker(
055                    long browserTrackerId) {
056                    return _browserTrackerLocalService.createBrowserTracker(browserTrackerId);
057            }
058    
059            /**
060            * Deletes the browser tracker from the database. Also notifies the appropriate model listeners.
061            *
062            * @param browserTracker the browser tracker
063            * @return the browser tracker that was removed
064            */
065            @Override
066            public com.liferay.portal.model.BrowserTracker deleteBrowserTracker(
067                    com.liferay.portal.model.BrowserTracker browserTracker) {
068                    return _browserTrackerLocalService.deleteBrowserTracker(browserTracker);
069            }
070    
071            /**
072            * Deletes the browser tracker with the primary key from the database. Also notifies the appropriate model listeners.
073            *
074            * @param browserTrackerId the primary key of the browser tracker
075            * @return the browser tracker that was removed
076            * @throws PortalException if a browser tracker with the primary key could not be found
077            */
078            @Override
079            public com.liferay.portal.model.BrowserTracker deleteBrowserTracker(
080                    long browserTrackerId)
081                    throws com.liferay.portal.kernel.exception.PortalException {
082                    return _browserTrackerLocalService.deleteBrowserTracker(browserTrackerId);
083            }
084    
085            /**
086            * @throws PortalException
087            */
088            @Override
089            public com.liferay.portal.model.PersistedModel deletePersistedModel(
090                    com.liferay.portal.model.PersistedModel persistedModel)
091                    throws com.liferay.portal.kernel.exception.PortalException {
092                    return _browserTrackerLocalService.deletePersistedModel(persistedModel);
093            }
094    
095            @Override
096            public void deleteUserBrowserTracker(long userId) {
097                    _browserTrackerLocalService.deleteUserBrowserTracker(userId);
098            }
099    
100            @Override
101            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
102                    return _browserTrackerLocalService.dynamicQuery();
103            }
104    
105            /**
106            * Performs a dynamic query on the database and returns the matching rows.
107            *
108            * @param dynamicQuery the dynamic query
109            * @return the matching rows
110            */
111            @Override
112            public <T> java.util.List<T> dynamicQuery(
113                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
114                    return _browserTrackerLocalService.dynamicQuery(dynamicQuery);
115            }
116    
117            /**
118            * Performs a dynamic query on the database and returns a range of the matching rows.
119            *
120            * <p>
121            * 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.BrowserTrackerModelImpl}. 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.
122            * </p>
123            *
124            * @param dynamicQuery the dynamic query
125            * @param start the lower bound of the range of model instances
126            * @param end the upper bound of the range of model instances (not inclusive)
127            * @return the range of matching rows
128            */
129            @Override
130            public <T> java.util.List<T> dynamicQuery(
131                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132                    int end) {
133                    return _browserTrackerLocalService.dynamicQuery(dynamicQuery, start, end);
134            }
135    
136            /**
137            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
138            *
139            * <p>
140            * 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.BrowserTrackerModelImpl}. 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.
141            * </p>
142            *
143            * @param dynamicQuery the dynamic query
144            * @param start the lower bound of the range of model instances
145            * @param end the upper bound of the range of model instances (not inclusive)
146            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
147            * @return the ordered range of matching rows
148            */
149            @Override
150            public <T> java.util.List<T> dynamicQuery(
151                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
152                    int end,
153                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
154                    return _browserTrackerLocalService.dynamicQuery(dynamicQuery, start,
155                            end, orderByComparator);
156            }
157    
158            /**
159            * Returns the number of rows matching the dynamic query.
160            *
161            * @param dynamicQuery the dynamic query
162            * @return the number of rows matching the dynamic query
163            */
164            @Override
165            public long dynamicQueryCount(
166                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
167                    return _browserTrackerLocalService.dynamicQueryCount(dynamicQuery);
168            }
169    
170            /**
171            * Returns the number of rows matching the dynamic query.
172            *
173            * @param dynamicQuery the dynamic query
174            * @param projection the projection to apply to the query
175            * @return the number of rows matching the dynamic query
176            */
177            @Override
178            public long dynamicQueryCount(
179                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
180                    com.liferay.portal.kernel.dao.orm.Projection projection) {
181                    return _browserTrackerLocalService.dynamicQueryCount(dynamicQuery,
182                            projection);
183            }
184    
185            @Override
186            public com.liferay.portal.model.BrowserTracker fetchBrowserTracker(
187                    long browserTrackerId) {
188                    return _browserTrackerLocalService.fetchBrowserTracker(browserTrackerId);
189            }
190    
191            @Override
192            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
193                    return _browserTrackerLocalService.getActionableDynamicQuery();
194            }
195    
196            /**
197            * Returns the Spring bean ID for this bean.
198            *
199            * @return the Spring bean ID for this bean
200            */
201            @Override
202            public java.lang.String getBeanIdentifier() {
203                    return _browserTrackerLocalService.getBeanIdentifier();
204            }
205    
206            /**
207            * Returns the browser tracker with the primary key.
208            *
209            * @param browserTrackerId the primary key of the browser tracker
210            * @return the browser tracker
211            * @throws PortalException if a browser tracker with the primary key could not be found
212            */
213            @Override
214            public com.liferay.portal.model.BrowserTracker getBrowserTracker(
215                    long browserTrackerId)
216                    throws com.liferay.portal.kernel.exception.PortalException {
217                    return _browserTrackerLocalService.getBrowserTracker(browserTrackerId);
218            }
219    
220            @Override
221            public com.liferay.portal.model.BrowserTracker getBrowserTracker(
222                    long userId, long browserKey) {
223                    return _browserTrackerLocalService.getBrowserTracker(userId, browserKey);
224            }
225    
226            /**
227            * Returns a range of all the browser trackers.
228            *
229            * <p>
230            * 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.BrowserTrackerModelImpl}. 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.
231            * </p>
232            *
233            * @param start the lower bound of the range of browser trackers
234            * @param end the upper bound of the range of browser trackers (not inclusive)
235            * @return the range of browser trackers
236            */
237            @Override
238            public java.util.List<com.liferay.portal.model.BrowserTracker> getBrowserTrackers(
239                    int start, int end) {
240                    return _browserTrackerLocalService.getBrowserTrackers(start, end);
241            }
242    
243            /**
244            * Returns the number of browser trackers.
245            *
246            * @return the number of browser trackers
247            */
248            @Override
249            public int getBrowserTrackersCount() {
250                    return _browserTrackerLocalService.getBrowserTrackersCount();
251            }
252    
253            @Override
254            public com.liferay.portal.model.PersistedModel getPersistedModel(
255                    java.io.Serializable primaryKeyObj)
256                    throws com.liferay.portal.kernel.exception.PortalException {
257                    return _browserTrackerLocalService.getPersistedModel(primaryKeyObj);
258            }
259    
260            /**
261            * Sets the Spring bean ID for this bean.
262            *
263            * @param beanIdentifier the Spring bean ID for this bean
264            */
265            @Override
266            public void setBeanIdentifier(java.lang.String beanIdentifier) {
267                    _browserTrackerLocalService.setBeanIdentifier(beanIdentifier);
268            }
269    
270            /**
271            * Updates the browser tracker in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
272            *
273            * @param browserTracker the browser tracker
274            * @return the browser tracker that was updated
275            */
276            @Override
277            public com.liferay.portal.model.BrowserTracker updateBrowserTracker(
278                    com.liferay.portal.model.BrowserTracker browserTracker) {
279                    return _browserTrackerLocalService.updateBrowserTracker(browserTracker);
280            }
281    
282            @Override
283            public com.liferay.portal.model.BrowserTracker updateBrowserTracker(
284                    long userId, long browserKey) {
285                    return _browserTrackerLocalService.updateBrowserTracker(userId,
286                            browserKey);
287            }
288    
289            /**
290             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
291             */
292            @Deprecated
293            public BrowserTrackerLocalService getWrappedBrowserTrackerLocalService() {
294                    return _browserTrackerLocalService;
295            }
296    
297            /**
298             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
299             */
300            @Deprecated
301            public void setWrappedBrowserTrackerLocalService(
302                    BrowserTrackerLocalService browserTrackerLocalService) {
303                    _browserTrackerLocalService = browserTrackerLocalService;
304            }
305    
306            @Override
307            public BrowserTrackerLocalService getWrappedService() {
308                    return _browserTrackerLocalService;
309            }
310    
311            @Override
312            public void setWrappedService(
313                    BrowserTrackerLocalService browserTrackerLocalService) {
314                    _browserTrackerLocalService = browserTrackerLocalService;
315            }
316    
317            private BrowserTrackerLocalService _browserTrackerLocalService;
318    }