Class MBStatsUserLocalServiceUtil
java.lang.Object
com.liferay.message.boards.service.MBStatsUserLocalServiceUtil
Provides the local service utility for MBStatsUser. This utility wraps
com.liferay.message.boards.service.impl.MBStatsUserLocalServiceImpl and
is an access point for service operations in application layer code running
on the local server. 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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DategetLastPostDateByUserId(long groupId, long userId) static intgetMessageCount(long groupId, long userId) static longgetMessageCountByGroupId(long groupId) static longgetMessageCountByUserId(long userId) static StringReturns the OSGi service identifier.static MBStatsUserLocalServicestatic List<MBStatsUser>getStatsUsersByGroupId(long groupId, int start, int end) static intgetStatsUsersByGroupIdCount(long groupId) static String[]getUserRank(long groupId, String languageId, long userId)
-
Constructor Details
-
MBStatsUserLocalServiceUtil
public MBStatsUserLocalServiceUtil()
-
-
Method Details
-
getLastPostDateByUserId
-
getMessageCount
public static int getMessageCount(long groupId, long userId) -
getMessageCountByGroupId
public static long getMessageCountByGroupId(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMessageCountByUserId
public static long getMessageCountByUserId(long userId) -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getStatsUsersByGroupId
public static List<MBStatsUser> getStatsUsersByGroupId(long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStatsUsersByGroupIdCount
public static int getStatsUsersByGroupIdCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserRank
public static String[] getUserRank(long groupId, String languageId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-