com.liferay.portlet.messageboards.service
Class MBStatsUserLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.MBStatsUserLocalServiceUtil

public class MBStatsUserLocalServiceUtil
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.messageboards.service.MBStatsUserLocalService 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.messageboards.service.MBStatsUserLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
MBStatsUserLocalService, MBStatsUserLocalServiceFactory

Constructor Summary
MBStatsUserLocalServiceUtil()
           
 
Method Summary
static MBStatsUser addMBStatsUser(MBStatsUser mbStatsUser)
           
static void deleteMBStatsUser(long statsUserId)
           
static void deleteMBStatsUser(MBStatsUser mbStatsUser)
           
static void deleteStatsUserByGroupId(long groupId)
           
static void deleteStatsUserByUserId(long userId)
           
static java.util.List<MBStatsUser> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<MBStatsUser> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static MBStatsUser getStatsUser(long groupId, long userId)
           
static java.util.List<MBStatsUser> getStatsUsers(long groupId, int begin, int end)
           
static int getStatsUsersCount(long groupId)
           
static MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser)
           
static void updateStatsUser(long groupId, long userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBStatsUserLocalServiceUtil

public MBStatsUserLocalServiceUtil()
Method Detail

addMBStatsUser

public static MBStatsUser addMBStatsUser(MBStatsUser mbStatsUser)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteMBStatsUser

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

deleteMBStatsUser

public static void deleteMBStatsUser(MBStatsUser mbStatsUser)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

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

dynamicQuery

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

updateMBStatsUser

public static MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser)
                                     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

getStatsUser

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

getStatsUsers

public static java.util.List<MBStatsUser> getStatsUsers(long groupId,
                                                        int begin,
                                                        int end)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStatsUsersCount

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

updateStatsUser

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