com.liferay.portlet.blogs.service
Interface BlogsStatsUserLocalService


public interface BlogsStatsUserLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.blogs.service.impl.BlogsStatsUserLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portlet.blogs.service.BlogsStatsUserServiceFactory, com.liferay.portlet.blogs.service.BlogsStatsUserServiceUtil

Method Summary
 BlogsStatsUser addBlogsStatsUser(BlogsStatsUser model)
           
 void deleteStatsUserByGroupId(long groupId)
           
 void deleteStatsUserByUserId(long userId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getCompanyStatsUsers(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getCompanyStatsUsersCount(long companyId)
           
 java.util.List getGroupStatsUsers(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getGroupStatsUsersCount(long groupId)
           
 java.util.List getOrganizationStatsUsers(long organizationId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getOrganizationStatsUsersCount(long organizationId)
           
 BlogsStatsUser getStatsUser(long groupId, long userId)
           
 BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser model)
           
 void updateStatsUser(long groupId, long userId, java.util.Date lastPostDate)
           
 

Method Detail

addBlogsStatsUser

public BlogsStatsUser addBlogsStatsUser(BlogsStatsUser model)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateBlogsStatsUser

public BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser model)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteStatsUserByGroupId

public void deleteStatsUserByGroupId(long groupId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteStatsUserByUserId

public void deleteStatsUserByUserId(long userId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyStatsUsers

public java.util.List getCompanyStatsUsers(long companyId,
                                           int begin,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyStatsUsersCount

public int getCompanyStatsUsersCount(long companyId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupStatsUsers

public java.util.List getGroupStatsUsers(long groupId,
                                         int begin,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupStatsUsersCount

public int getGroupStatsUsersCount(long groupId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationStatsUsers

public java.util.List getOrganizationStatsUsers(long organizationId,
                                                int begin,
                                                int end,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationStatsUsersCount

public int getOrganizationStatsUsersCount(long organizationId)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStatsUser

public BlogsStatsUser getStatsUser(long groupId,
                                   long userId)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateStatsUser

public void updateStatsUser(long groupId,
                            long userId,
                            java.util.Date lastPostDate)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException