com.liferay.portlet.messageboards.service
Class MBStatsUserLocalServiceUtil
java.lang.Object
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
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.
- Author:
- Brian Wing Shun Chan
- See Also:
MBStatsUserLocalService
Method Summary |
static MBStatsUser |
addMBStatsUser(MBStatsUser mbStatsUser)
|
static MBStatsUser |
addStatsUser(long groupId,
long userId)
|
static MBStatsUser |
createMBStatsUser(long statsUserId)
|
static void |
deleteMBStatsUser(long statsUserId)
|
static void |
deleteMBStatsUser(MBStatsUser mbStatsUser)
|
static void |
deleteStatsUserByGroupId(long groupId)
|
static void |
deleteStatsUserByUserId(long userId)
|
static void |
deleteStatsUsersByGroupId(long groupId)
|
static void |
deleteStatsUsersByUserId(long userId)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static MBStatsUser |
getMBStatsUser(long statsUserId)
|
static java.util.List<MBStatsUser> |
getMBStatsUsers(int start,
int end)
|
static int |
getMBStatsUsersCount()
|
static int |
getMessageCountByUserId(long userId)
|
static MBStatsUserLocalService |
getService()
|
static MBStatsUser |
getStatsUser(long groupId,
long userId)
|
static java.util.List<MBStatsUser> |
getStatsUsers(long groupId,
int start,
int end)
|
static java.util.List<MBStatsUser> |
getStatsUsersByGroupId(long groupId,
int start,
int end)
|
static int |
getStatsUsersByGroupIdCount(long groupId)
|
static java.util.List<MBStatsUser> |
getStatsUsersByUserId(long userId)
|
static int |
getStatsUsersCount(long groupId)
|
void |
setService(MBStatsUserLocalService service)
|
static MBStatsUser |
updateMBStatsUser(MBStatsUser mbStatsUser)
|
static MBStatsUser |
updateMBStatsUser(MBStatsUser mbStatsUser,
boolean merge)
|
static MBStatsUser |
updateStatsUser(long groupId,
long userId)
|
static MBStatsUser |
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 |
MBStatsUserLocalServiceUtil
public MBStatsUserLocalServiceUtil()
addMBStatsUser
public static MBStatsUser addMBStatsUser(MBStatsUser mbStatsUser)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createMBStatsUser
public static MBStatsUser createMBStatsUser(long statsUserId)
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.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMBStatsUser
public static MBStatsUser getMBStatsUser(long statsUserId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getMBStatsUsers
public static java.util.List<MBStatsUser> getMBStatsUsers(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMBStatsUsersCount
public static int getMBStatsUsersCount()
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
updateMBStatsUser
public static MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addStatsUser
public static MBStatsUser addStatsUser(long groupId,
long userId)
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
deleteStatsUsersByGroupId
public static void deleteStatsUsersByGroupId(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
deleteStatsUsersByUserId
public static void deleteStatsUsersByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMessageCountByUserId
public static int getMessageCountByUserId(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.SystemException
- Throws:
com.liferay.portal.SystemException
getStatsUsers
public static java.util.List<MBStatsUser> getStatsUsers(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStatsUsersByGroupId
public static java.util.List<MBStatsUser> getStatsUsersByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStatsUsersByUserId
public static java.util.List<MBStatsUser> getStatsUsersByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStatsUsersByGroupIdCount
public static int getStatsUsersByGroupIdCount(long groupId)
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 MBStatsUser updateStatsUser(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateStatsUser
public static MBStatsUser updateStatsUser(long groupId,
long userId,
java.util.Date lastPostDate)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getService
public static MBStatsUserLocalService getService()
setService
public void setService(MBStatsUserLocalService service)