com.liferay.portlet.blogs.service
Class BlogsStatsUserLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.blogs.service.BlogsStatsUserLocalServiceUtil

public class BlogsStatsUserLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.blogs.service.BlogsStatsUserLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.blogs.service.BlogsStatsUserLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
BlogsStatsUserLocalService, BlogsStatsUserLocalServiceFactory

Constructor Summary
BlogsStatsUserLocalServiceUtil()
           
 
Method Summary
static BlogsStatsUser addBlogsStatsUser(BlogsStatsUser blogsStatsUser)
           
static void deleteBlogsStatsUser(BlogsStatsUser blogsStatsUser)
           
static void deleteBlogsStatsUser(long statsUserId)
           
static void deleteStatsUserByGroupId(long groupId)
           
static void deleteStatsUserByUserId(long userId)
           
static java.util.List<BlogsStatsUser> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<BlogsStatsUser> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static java.util.List<BlogsStatsUser> getCompanyStatsUsers(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int getCompanyStatsUsersCount(long companyId)
           
static java.util.List<BlogsStatsUser> getGroupStatsUsers(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int getGroupStatsUsersCount(long groupId)
           
static java.util.List<BlogsStatsUser> getOrganizationStatsUsers(long organizationId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int getOrganizationStatsUsersCount(long organizationId)
           
static BlogsStatsUser getStatsUser(long groupId, long userId)
           
static BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser blogsStatsUser)
           
static void updateStatsUser(long groupId, long userId, java.util.Date lastPostDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogsStatsUserLocalServiceUtil

public BlogsStatsUserLocalServiceUtil()
Method Detail

addBlogsStatsUser

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

deleteBlogsStatsUser

public static void deleteBlogsStatsUser(long statsUserId)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteBlogsStatsUser

public static void deleteBlogsStatsUser(BlogsStatsUser blogsStatsUser)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

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

dynamicQuery

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

updateBlogsStatsUser

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

deleteStatsUserByGroupId

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

deleteStatsUserByUserId

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

getCompanyStatsUsers

public static java.util.List<BlogsStatsUser> 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 static int getCompanyStatsUsersCount(long companyId)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupStatsUsers

public static java.util.List<BlogsStatsUser> 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 static int getGroupStatsUsersCount(long groupId)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationStatsUsers

public static java.util.List<BlogsStatsUser> 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 static int getOrganizationStatsUsersCount(long organizationId)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStatsUser

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

updateStatsUser

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