@ProviderType
public class UserThreadServiceUtil
extends java.lang.Object
com.liferay.social.privatemessaging.service.impl.UserThreadServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.UserThreadService,
com.liferay.social.privatemessaging.service.base.UserThreadServiceBaseImpl,
com.liferay.social.privatemessaging.service.impl.UserThreadServiceImpl| Constructor and Description |
|---|
UserThreadServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.message.boards.kernel.model.MBMessage |
getLastThreadMessage(long mbThreadId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static UserThreadService |
getService() |
static java.util.List<com.liferay.message.boards.kernel.model.MBMessage> |
getThreadMessages(long mbThreadId,
int start,
int end,
boolean ascending) |
static int |
getThreadMessagesCount(long mbThreadId) |
static java.util.List<UserThread> |
getUserUserThreads(boolean deleted) |
public static com.liferay.message.boards.kernel.model.MBMessage getLastThreadMessage(long mbThreadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getThreadMessagesCount(long mbThreadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<com.liferay.message.boards.kernel.model.MBMessage> getThreadMessages(long mbThreadId,
int start,
int end,
boolean ascending)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<UserThread> getUserUserThreads(boolean deleted) throws com.liferay.portal.kernel.security.auth.PrincipalException
com.liferay.portal.kernel.security.auth.PrincipalExceptionpublic static UserThreadService getService()