@ProviderType
public class MBThreadServiceUtil
extends java.lang.Object
com.liferay.message.boards.service.impl.MBThreadServiceImpl
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.MBThreadService
,
com.liferay.message.boards.service.base.MBThreadServiceBaseImpl
,
com.liferay.message.boards.service.impl.MBThreadServiceImpl
Constructor and Description |
---|
MBThreadServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteThread(long threadId) |
static java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
java.util.Date modifiedDate,
boolean includeAnonymous,
int status,
int start,
int end) |
static java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
java.util.Date modifiedDate,
int status,
int start,
int end) |
static java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end) |
static java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end) |
static java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
int start,
int end) |
static int |
getGroupThreadsCount(long groupId,
long userId,
java.util.Date modifiedDate,
boolean includeAnonymous,
int status) |
static int |
getGroupThreadsCount(long groupId,
long userId,
java.util.Date modifiedDate,
int status) |
static int |
getGroupThreadsCount(long groupId,
long userId,
int status) |
static int |
getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed) |
static int |
getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static MBThreadService |
getService() |
static java.util.List<MBThread> |
getThreads(long groupId,
long categoryId,
int status,
int start,
int end) |
static java.util.List<MBThread> |
getThreads(long groupId,
long categoryId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
static int |
getThreadsCount(long groupId,
long categoryId,
int status) |
static int |
getThreadsCount(long groupId,
long categoryId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
static com.liferay.portal.kernel.lock.Lock |
lockThread(long threadId) |
static MBThread |
moveThread(long categoryId,
long threadId) |
static MBThread |
moveThreadFromTrash(long categoryId,
long threadId) |
static MBThread |
moveThreadToTrash(long threadId) |
static void |
restoreThreadFromTrash(long threadId) |
static com.liferay.portal.kernel.search.Hits |
search(long groupId,
long creatorUserId,
int status,
int start,
int end) |
static com.liferay.portal.kernel.search.Hits |
search(long groupId,
long creatorUserId,
long startDate,
long endDate,
int status,
int start,
int end) |
static MBThread |
splitThread(long messageId,
java.lang.String subject,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
unlockThread(long threadId) |
public static void deleteThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<MBThread> getGroupThreads(long groupId, long userId, java.util.Date modifiedDate, boolean includeAnonymous, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<MBThread> getGroupThreads(long groupId, long userId, java.util.Date modifiedDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupThreadsCount(long groupId, long userId, java.util.Date modifiedDate, boolean includeAnonymous, int status)
public static int getGroupThreadsCount(long groupId, long userId, java.util.Date modifiedDate, int status)
public static int getGroupThreadsCount(long groupId, long userId, int status)
public static int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed)
public static int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous)
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end)
public static java.util.List<MBThread> getThreads(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getThreadsCount(long groupId, long categoryId, int status)
public static int getThreadsCount(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.lock.Lock lockThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MBThread moveThread(long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MBThread moveThreadFromTrash(long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MBThread moveThreadToTrash(long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void restoreThreadFromTrash(long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.search.Hits search(long groupId, long creatorUserId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.search.Hits search(long groupId, long creatorUserId, long startDate, long endDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MBThread splitThread(long messageId, java.lang.String subject, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unlockThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MBThreadService getService()