001    /**
002     * Copyright (c) 2000-2011 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.portlet.blogs.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link BlogsStatsUserLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       BlogsStatsUserLocalService
024     * @generated
025     */
026    public class BlogsStatsUserLocalServiceWrapper
027            implements BlogsStatsUserLocalService {
028            public BlogsStatsUserLocalServiceWrapper(
029                    BlogsStatsUserLocalService blogsStatsUserLocalService) {
030                    _blogsStatsUserLocalService = blogsStatsUserLocalService;
031            }
032    
033            /**
034            * Adds the blogs stats user to the database. Also notifies the appropriate model listeners.
035            *
036            * @param blogsStatsUser the blogs stats user
037            * @return the blogs stats user that was added
038            * @throws SystemException if a system exception occurred
039            */
040            public com.liferay.portlet.blogs.model.BlogsStatsUser addBlogsStatsUser(
041                    com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
042                    throws com.liferay.portal.kernel.exception.SystemException {
043                    return _blogsStatsUserLocalService.addBlogsStatsUser(blogsStatsUser);
044            }
045    
046            /**
047            * Creates a new blogs stats user with the primary key. Does not add the blogs stats user to the database.
048            *
049            * @param statsUserId the primary key for the new blogs stats user
050            * @return the new blogs stats user
051            */
052            public com.liferay.portlet.blogs.model.BlogsStatsUser createBlogsStatsUser(
053                    long statsUserId) {
054                    return _blogsStatsUserLocalService.createBlogsStatsUser(statsUserId);
055            }
056    
057            /**
058            * Deletes the blogs stats user with the primary key from the database. Also notifies the appropriate model listeners.
059            *
060            * @param statsUserId the primary key of the blogs stats user
061            * @throws PortalException if a blogs stats user with the primary key could not be found
062            * @throws SystemException if a system exception occurred
063            */
064            public void deleteBlogsStatsUser(long statsUserId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    _blogsStatsUserLocalService.deleteBlogsStatsUser(statsUserId);
068            }
069    
070            /**
071            * Deletes the blogs stats user from the database. Also notifies the appropriate model listeners.
072            *
073            * @param blogsStatsUser the blogs stats user
074            * @throws SystemException if a system exception occurred
075            */
076            public void deleteBlogsStatsUser(
077                    com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    _blogsStatsUserLocalService.deleteBlogsStatsUser(blogsStatsUser);
080            }
081    
082            /**
083            * Performs a dynamic query on the database and returns the matching rows.
084            *
085            * @param dynamicQuery the dynamic query
086            * @return the matching rows
087            * @throws SystemException if a system exception occurred
088            */
089            @SuppressWarnings("rawtypes")
090            public java.util.List dynamicQuery(
091                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092                    throws com.liferay.portal.kernel.exception.SystemException {
093                    return _blogsStatsUserLocalService.dynamicQuery(dynamicQuery);
094            }
095    
096            /**
097            * Performs a dynamic query on the database and returns a range of the matching rows.
098            *
099            * <p>
100            * 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.
101            * </p>
102            *
103            * @param dynamicQuery the dynamic query
104            * @param start the lower bound of the range of model instances
105            * @param end the upper bound of the range of model instances (not inclusive)
106            * @return the range of matching rows
107            * @throws SystemException if a system exception occurred
108            */
109            @SuppressWarnings("rawtypes")
110            public java.util.List dynamicQuery(
111                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112                    int end) throws com.liferay.portal.kernel.exception.SystemException {
113                    return _blogsStatsUserLocalService.dynamicQuery(dynamicQuery, start, end);
114            }
115    
116            /**
117            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
118            *
119            * <p>
120            * 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.
121            * </p>
122            *
123            * @param dynamicQuery the dynamic query
124            * @param start the lower bound of the range of model instances
125            * @param end the upper bound of the range of model instances (not inclusive)
126            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
127            * @return the ordered range of matching rows
128            * @throws SystemException if a system exception occurred
129            */
130            @SuppressWarnings("rawtypes")
131            public java.util.List dynamicQuery(
132                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133                    int end,
134                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135                    throws com.liferay.portal.kernel.exception.SystemException {
136                    return _blogsStatsUserLocalService.dynamicQuery(dynamicQuery, start,
137                            end, orderByComparator);
138            }
139    
140            /**
141            * Returns the number of rows that match the dynamic query.
142            *
143            * @param dynamicQuery the dynamic query
144            * @return the number of rows that match the dynamic query
145            * @throws SystemException if a system exception occurred
146            */
147            public long dynamicQueryCount(
148                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149                    throws com.liferay.portal.kernel.exception.SystemException {
150                    return _blogsStatsUserLocalService.dynamicQueryCount(dynamicQuery);
151            }
152    
153            /**
154            * Returns the blogs stats user with the primary key.
155            *
156            * @param statsUserId the primary key of the blogs stats user
157            * @return the blogs stats user
158            * @throws PortalException if a blogs stats user with the primary key could not be found
159            * @throws SystemException if a system exception occurred
160            */
161            public com.liferay.portlet.blogs.model.BlogsStatsUser getBlogsStatsUser(
162                    long statsUserId)
163                    throws com.liferay.portal.kernel.exception.PortalException,
164                            com.liferay.portal.kernel.exception.SystemException {
165                    return _blogsStatsUserLocalService.getBlogsStatsUser(statsUserId);
166            }
167    
168            public com.liferay.portal.model.PersistedModel getPersistedModel(
169                    java.io.Serializable primaryKeyObj)
170                    throws com.liferay.portal.kernel.exception.PortalException,
171                            com.liferay.portal.kernel.exception.SystemException {
172                    return _blogsStatsUserLocalService.getPersistedModel(primaryKeyObj);
173            }
174    
175            /**
176            * Returns a range of all the blogs stats users.
177            *
178            * <p>
179            * 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.
180            * </p>
181            *
182            * @param start the lower bound of the range of blogs stats users
183            * @param end the upper bound of the range of blogs stats users (not inclusive)
184            * @return the range of blogs stats users
185            * @throws SystemException if a system exception occurred
186            */
187            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getBlogsStatsUsers(
188                    int start, int end)
189                    throws com.liferay.portal.kernel.exception.SystemException {
190                    return _blogsStatsUserLocalService.getBlogsStatsUsers(start, end);
191            }
192    
193            /**
194            * Returns the number of blogs stats users.
195            *
196            * @return the number of blogs stats users
197            * @throws SystemException if a system exception occurred
198            */
199            public int getBlogsStatsUsersCount()
200                    throws com.liferay.portal.kernel.exception.SystemException {
201                    return _blogsStatsUserLocalService.getBlogsStatsUsersCount();
202            }
203    
204            /**
205            * Updates the blogs stats user in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
206            *
207            * @param blogsStatsUser the blogs stats user
208            * @return the blogs stats user that was updated
209            * @throws SystemException if a system exception occurred
210            */
211            public com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
212                    com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
213                    throws com.liferay.portal.kernel.exception.SystemException {
214                    return _blogsStatsUserLocalService.updateBlogsStatsUser(blogsStatsUser);
215            }
216    
217            /**
218            * Updates the blogs stats user in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
219            *
220            * @param blogsStatsUser the blogs stats user
221            * @param merge whether to merge the blogs stats user with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
222            * @return the blogs stats user that was updated
223            * @throws SystemException if a system exception occurred
224            */
225            public com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
226                    com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
227                    boolean merge)
228                    throws com.liferay.portal.kernel.exception.SystemException {
229                    return _blogsStatsUserLocalService.updateBlogsStatsUser(blogsStatsUser,
230                            merge);
231            }
232    
233            /**
234            * Returns the Spring bean ID for this bean.
235            *
236            * @return the Spring bean ID for this bean
237            */
238            public java.lang.String getBeanIdentifier() {
239                    return _blogsStatsUserLocalService.getBeanIdentifier();
240            }
241    
242            /**
243            * Sets the Spring bean ID for this bean.
244            *
245            * @param beanIdentifier the Spring bean ID for this bean
246            */
247            public void setBeanIdentifier(java.lang.String beanIdentifier) {
248                    _blogsStatsUserLocalService.setBeanIdentifier(beanIdentifier);
249            }
250    
251            public void deleteStatsUser(
252                    com.liferay.portlet.blogs.model.BlogsStatsUser statsUsers)
253                    throws com.liferay.portal.kernel.exception.SystemException {
254                    _blogsStatsUserLocalService.deleteStatsUser(statsUsers);
255            }
256    
257            public void deleteStatsUser(long statsUserId)
258                    throws com.liferay.portal.kernel.exception.PortalException,
259                            com.liferay.portal.kernel.exception.SystemException {
260                    _blogsStatsUserLocalService.deleteStatsUser(statsUserId);
261            }
262    
263            public void deleteStatsUserByGroupId(long groupId)
264                    throws com.liferay.portal.kernel.exception.SystemException {
265                    _blogsStatsUserLocalService.deleteStatsUserByGroupId(groupId);
266            }
267    
268            public void deleteStatsUserByUserId(long userId)
269                    throws com.liferay.portal.kernel.exception.SystemException {
270                    _blogsStatsUserLocalService.deleteStatsUserByUserId(userId);
271            }
272    
273            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
274                    long companyId, int start, int end)
275                    throws com.liferay.portal.kernel.exception.SystemException {
276                    return _blogsStatsUserLocalService.getCompanyStatsUsers(companyId,
277                            start, end);
278            }
279    
280            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
281                    long companyId, int start, int end,
282                    com.liferay.portal.kernel.util.OrderByComparator obc)
283                    throws com.liferay.portal.kernel.exception.SystemException {
284                    return _blogsStatsUserLocalService.getCompanyStatsUsers(companyId,
285                            start, end, obc);
286            }
287    
288            public int getCompanyStatsUsersCount(long companyId)
289                    throws com.liferay.portal.kernel.exception.SystemException {
290                    return _blogsStatsUserLocalService.getCompanyStatsUsersCount(companyId);
291            }
292    
293            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupsStatsUsers(
294                    long companyId, long groupId, int start, int end)
295                    throws com.liferay.portal.kernel.exception.SystemException {
296                    return _blogsStatsUserLocalService.getGroupsStatsUsers(companyId,
297                            groupId, start, end);
298            }
299    
300            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
301                    long groupId, int start, int end)
302                    throws com.liferay.portal.kernel.exception.SystemException {
303                    return _blogsStatsUserLocalService.getGroupStatsUsers(groupId, start,
304                            end);
305            }
306    
307            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
308                    long groupId, int start, int end,
309                    com.liferay.portal.kernel.util.OrderByComparator obc)
310                    throws com.liferay.portal.kernel.exception.SystemException {
311                    return _blogsStatsUserLocalService.getGroupStatsUsers(groupId, start,
312                            end, obc);
313            }
314    
315            public int getGroupStatsUsersCount(long groupId)
316                    throws com.liferay.portal.kernel.exception.SystemException {
317                    return _blogsStatsUserLocalService.getGroupStatsUsersCount(groupId);
318            }
319    
320            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
321                    long organizationId, int start, int end)
322                    throws com.liferay.portal.kernel.exception.SystemException {
323                    return _blogsStatsUserLocalService.getOrganizationStatsUsers(organizationId,
324                            start, end);
325            }
326    
327            public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
328                    long organizationId, int start, int end,
329                    com.liferay.portal.kernel.util.OrderByComparator obc)
330                    throws com.liferay.portal.kernel.exception.SystemException {
331                    return _blogsStatsUserLocalService.getOrganizationStatsUsers(organizationId,
332                            start, end, obc);
333            }
334    
335            public int getOrganizationStatsUsersCount(long organizationId)
336                    throws com.liferay.portal.kernel.exception.SystemException {
337                    return _blogsStatsUserLocalService.getOrganizationStatsUsersCount(organizationId);
338            }
339    
340            public com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
341                    long groupId, long userId)
342                    throws com.liferay.portal.kernel.exception.PortalException,
343                            com.liferay.portal.kernel.exception.SystemException {
344                    return _blogsStatsUserLocalService.getStatsUser(groupId, userId);
345            }
346    
347            public void updateStatsUser(long groupId, long userId)
348                    throws com.liferay.portal.kernel.exception.PortalException,
349                            com.liferay.portal.kernel.exception.SystemException {
350                    _blogsStatsUserLocalService.updateStatsUser(groupId, userId);
351            }
352    
353            public void updateStatsUser(long groupId, long userId,
354                    java.util.Date displayDate)
355                    throws com.liferay.portal.kernel.exception.PortalException,
356                            com.liferay.portal.kernel.exception.SystemException {
357                    _blogsStatsUserLocalService.updateStatsUser(groupId, userId, displayDate);
358            }
359    
360            public BlogsStatsUserLocalService getWrappedBlogsStatsUserLocalService() {
361                    return _blogsStatsUserLocalService;
362            }
363    
364            public void setWrappedBlogsStatsUserLocalService(
365                    BlogsStatsUserLocalService blogsStatsUserLocalService) {
366                    _blogsStatsUserLocalService = blogsStatsUserLocalService;
367            }
368    
369            private BlogsStatsUserLocalService _blogsStatsUserLocalService;
370    }