Liferay 7.0-ce-m6

com.liferay.portlet.messageboards.service
Class MBThreadServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.MBThreadServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<MBThreadService>, MBThreadService

@ProviderType
public class MBThreadServiceWrapper
extends Object
implements MBThreadService, ServiceWrapper<MBThreadService>

Provides a wrapper for MBThreadService.

See Also:
MBThreadService

Constructor Summary
MBThreadServiceWrapper(MBThreadService mbThreadService)
           
 
Method Summary
 void deleteThread(long threadId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<MBThread> getGroupThreads(long groupId, long userId, Date modifiedDate, int status, int start, int end)
           
 List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end)
           
 List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end)
           
 List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end)
           
 int getGroupThreadsCount(long groupId, long userId, Date modifiedDate, int status)
           
 int getGroupThreadsCount(long groupId, long userId, int status)
           
 int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed)
           
 int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous)
           
 List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end)
           
 int getThreadsCount(long groupId, long categoryId, int status)
           
 MBThreadService getWrappedMBThreadService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 MBThreadService getWrappedService()
           
 Lock lockThread(long threadId)
           
 MBThread moveThread(long categoryId, long threadId)
           
 MBThread moveThreadFromTrash(long categoryId, long threadId)
           
 MBThread moveThreadToTrash(long threadId)
           
 void restoreThreadFromTrash(long threadId)
           
 Hits search(long groupId, long creatorUserId, int status, int start, int end)
           
 Hits search(long groupId, long creatorUserId, long startDate, long endDate, int status, int start, int end)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedMBThreadService(MBThreadService mbThreadService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.messageboards.service.MBThreadService)
 void setWrappedService(MBThreadService mbThreadService)
           
 MBThread splitThread(long messageId, String subject, ServiceContext serviceContext)
           
 void unlockThread(long threadId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBThreadServiceWrapper

public MBThreadServiceWrapper(MBThreadService mbThreadService)
Method Detail

deleteThread

public void deleteThread(long threadId)
                  throws PortalException
Specified by:
deleteThread in interface MBThreadService
Throws:
PortalException

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface MBThreadService
Returns:
the Spring bean ID for this bean

getGroupThreads

public List<MBThread> getGroupThreads(long groupId,
                                      long userId,
                                      Date modifiedDate,
                                      int status,
                                      int start,
                                      int end)
                               throws PortalException
Specified by:
getGroupThreads in interface MBThreadService
Throws:
PortalException

getGroupThreads

public List<MBThread> getGroupThreads(long groupId,
                                      long userId,
                                      int status,
                                      int start,
                                      int end)
                               throws PortalException
Specified by:
getGroupThreads in interface MBThreadService
Throws:
PortalException

getGroupThreads

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

getGroupThreads

public List<MBThread> getGroupThreads(long groupId,
                                      long userId,
                                      int status,
                                      boolean subscribed,
                                      int start,
                                      int end)
                               throws PortalException
Specified by:
getGroupThreads in interface MBThreadService
Throws:
PortalException

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

getThreads

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

getThreadsCount

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

lockThread

public Lock lockThread(long threadId)
                throws PortalException
Specified by:
lockThread in interface MBThreadService
Throws:
PortalException

moveThread

public MBThread moveThread(long categoryId,
                           long threadId)
                    throws PortalException
Specified by:
moveThread in interface MBThreadService
Throws:
PortalException

moveThreadFromTrash

public MBThread moveThreadFromTrash(long categoryId,
                                    long threadId)
                             throws PortalException
Specified by:
moveThreadFromTrash in interface MBThreadService
Throws:
PortalException

moveThreadToTrash

public MBThread moveThreadToTrash(long threadId)
                           throws PortalException
Specified by:
moveThreadToTrash in interface MBThreadService
Throws:
PortalException

restoreThreadFromTrash

public void restoreThreadFromTrash(long threadId)
                            throws PortalException
Specified by:
restoreThreadFromTrash in interface MBThreadService
Throws:
PortalException

search

public Hits search(long groupId,
                   long creatorUserId,
                   long startDate,
                   long endDate,
                   int status,
                   int start,
                   int end)
            throws PortalException
Specified by:
search in interface MBThreadService
Throws:
PortalException

search

public Hits search(long groupId,
                   long creatorUserId,
                   int status,
                   int start,
                   int end)
            throws PortalException
Specified by:
search in interface MBThreadService
Throws:
PortalException

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface MBThreadService
Parameters:
beanIdentifier - the Spring bean ID for this bean

splitThread

public MBThread splitThread(long messageId,
                            String subject,
                            ServiceContext serviceContext)
                     throws PortalException
Specified by:
splitThread in interface MBThreadService
Throws:
PortalException

unlockThread

public void unlockThread(long threadId)
                  throws PortalException
Specified by:
unlockThread in interface MBThreadService
Throws:
PortalException

getWrappedMBThreadService

@Deprecated
public MBThreadService getWrappedMBThreadService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedMBThreadService

@Deprecated
public void setWrappedMBThreadService(MBThreadService mbThreadService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.messageboards.service.MBThreadService)


getWrappedService

public MBThreadService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<MBThreadService>

setWrappedService

public void setWrappedService(MBThreadService mbThreadService)
Specified by:
setWrappedService in interface ServiceWrapper<MBThreadService>

Liferay 7.0-ce-m6