Liferay 6.2-ce-ga5

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

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

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

deleteThread

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

getGroupThreads

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

getGroupThreads

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

getGroupThreads

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

getGroupThreads

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

getGroupThreadsCount

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

getGroupThreadsCount

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

getGroupThreadsCount

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

getGroupThreadsCount

public int getGroupThreadsCount(long groupId,
                                long userId,
                                int status,
                                boolean subscribed,
                                boolean includeAnonymous)
                         throws SystemException
Specified by:
getGroupThreadsCount in interface MBThreadService
Throws:
SystemException

getThreads

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

getThreadsCount

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

lockThread

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

moveThread

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

moveThreadFromTrash

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

moveThreadToTrash

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

restoreThreadFromTrash

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

search

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

search

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

splitThread

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

unlockThread

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

getWrappedMBThreadService

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


setWrappedMBThreadService

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 6.2-ce-ga5