Class MBThreadServiceUtil

java.lang.Object
com.liferay.message.boards.service.MBThreadServiceUtil

public class MBThreadServiceUtil extends Object
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 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

      public static int getGroupThreadsCount(long groupId, long userId, Date modifiedDate, int status)
    • 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

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getThreads

      public static List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end)
    • 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

      public static MBThreadService getService()