Class MBThreadServiceWrapper

java.lang.Object
com.liferay.message.boards.service.MBThreadServiceWrapper
All Implemented Interfaces:
MBThreadService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.ServiceWrapper<MBThreadService>

public class MBThreadServiceWrapper extends Object implements MBThreadService, com.liferay.portal.kernel.service.ServiceWrapper<MBThreadService>
Provides a wrapper for MBThreadService.
See Also:
Generated:
  • Constructor Details

    • MBThreadServiceWrapper

      public MBThreadServiceWrapper()
    • MBThreadServiceWrapper

      public MBThreadServiceWrapper(MBThreadService mbThreadService)
  • Method Details

    • deleteThread

      public void deleteThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteThread in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupThreads

      public List<MBThread> getGroupThreads(long groupId, long userId, Date modifiedDate, boolean includeAnonymous, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getGroupThreads in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupThreads

      public List<MBThread> getGroupThreads(long groupId, long userId, Date modifiedDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getGroupThreads in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupThreads

      public List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getGroupThreads in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupThreads

      public List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getGroupThreads in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupThreads

      public List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getGroupThreads in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupThreadsCount

      public int getGroupThreadsCount(long groupId, long userId, Date modifiedDate, boolean includeAnonymous, int status)
      Specified by:
      getGroupThreadsCount in interface MBThreadService
    • getGroupThreadsCount

      public int getGroupThreadsCount(long groupId, long userId, Date modifiedDate, int status)
      Specified by:
      getGroupThreadsCount in interface MBThreadService
    • getGroupThreadsCount

      public int getGroupThreadsCount(long groupId, long userId, int status)
      Specified by:
      getGroupThreadsCount in interface MBThreadService
    • getGroupThreadsCount

      public int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed)
      Specified by:
      getGroupThreadsCount in interface MBThreadService
    • getGroupThreadsCount

      public int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous)
      Specified by:
      getGroupThreadsCount in interface MBThreadService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface MBThreadService
      Returns:
      the OSGi service identifier
    • getThreads

      public List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end)
      Specified by:
      getThreads in interface MBThreadService
    • getThreads

      public List<MBThread> getThreads(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getThreads in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getThreadsCount

      public int getThreadsCount(long groupId, long categoryId, int status)
      Specified by:
      getThreadsCount in interface MBThreadService
    • getThreadsCount

      public int getThreadsCount(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getThreadsCount in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • lockThread

      public com.liferay.portal.kernel.lock.Lock lockThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      lockThread in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveThread

      public MBThread moveThread(long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveThread in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveThreadFromTrash

      public MBThread moveThreadFromTrash(long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveThreadFromTrash in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveThreadToTrash

      public MBThread moveThreadToTrash(long threadId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveThreadToTrash in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreThreadFromTrash

      public void restoreThreadFromTrash(long threadId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      restoreThreadFromTrash in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public com.liferay.portal.kernel.search.Hits search(long groupId, long creatorUserId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      search in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public 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
      Specified by:
      search in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • splitThread

      public MBThread splitThread(long messageId, String subject, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      splitThread in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • unlockThread

      public void unlockThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      unlockThread in interface MBThreadService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

      public MBThreadService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBThreadService>
    • setWrappedService

      public void setWrappedService(MBThreadService mbThreadService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBThreadService>