Class MBThreadServiceUtil
java.lang.Object
com.liferay.message.boards.service.MBThreadServiceUtil
Provides the remote service utility for MBThread. This utility wraps
com.liferay.message.boards.service.impl.MBThreadServiceImpl
and is an
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
deleteThread
(long threadId) getGroupThreads
(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end) getGroupThreads
(long groupId, long userId, int status, boolean subscribed, int start, int end) getGroupThreads
(long groupId, long userId, int status, int start, int end) getGroupThreads
(long groupId, long userId, Date modifiedDate, boolean includeAnonymous, int status, int start, int end) getGroupThreads
(long groupId, long userId, Date modifiedDate, int status, int start, int end) 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 int
getGroupThreadsCount
(long groupId, long userId, Date modifiedDate, boolean includeAnonymous, int status) static int
getGroupThreadsCount
(long groupId, long userId, Date modifiedDate, int status) static String
Returns the OSGi service identifier.static MBThreadService
getThreads
(long groupId, long categoryId, int status, int start, int end) 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, String subject, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
unlockThread
(long threadId)
-
Constructor Details
-
MBThreadServiceUtil
public MBThreadServiceUtil()
-
-
Method Details
-
deleteThread
public static void deleteThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreads
public static List<MBThread> getGroupThreads(long groupId, long userId, Date modifiedDate, boolean includeAnonymous, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreads
public static List<MBThread> getGroupThreads(long groupId, long userId, Date modifiedDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreads
public static List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreads
public static List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreads
public static List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreadsCount
public static int getGroupThreadsCount(long groupId, long userId, Date modifiedDate, boolean includeAnonymous, int status) -
getGroupThreadsCount
-
getGroupThreadsCount
public static int getGroupThreadsCount(long groupId, long userId, int status) -
getGroupThreadsCount
public static int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed) -
getGroupThreadsCount
public static int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous) -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getThreads
-
getThreads
public static List<MBThread> getThreads(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getThreadsCount
public static int getThreadsCount(long groupId, long categoryId, int status) -
getThreadsCount
public static int getThreadsCount(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
lockThread
public static com.liferay.portal.kernel.lock.Lock lockThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveThread
public static MBThread moveThread(long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveThreadFromTrash
public static MBThread moveThreadFromTrash(long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveThreadToTrash
public static MBThread moveThreadToTrash(long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreThreadFromTrash
public static void restoreThreadFromTrash(long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
splitThread
public static MBThread splitThread(long messageId, String subject, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unlockThread
public static void unlockThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-