@ProviderType public class MBThreadServiceWrapper extends Object implements MBThreadService, ServiceWrapper<MBThreadService>
MBThreadService.MBThreadService| Constructor and Description |
|---|
MBThreadServiceWrapper(MBThreadService mbThreadService) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteThread(long threadId) |
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) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
List<MBThread> |
getThreads(long groupId,
long categoryId,
int status,
int start,
int end) |
int |
getThreadsCount(long groupId,
long categoryId,
int status) |
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 |
setWrappedService(MBThreadService mbThreadService) |
MBThread |
splitThread(long messageId,
String subject,
ServiceContext serviceContext) |
void |
unlockThread(long threadId) |
public MBThreadServiceWrapper(MBThreadService mbThreadService)
public MBThread moveThread(long categoryId, long threadId) throws PortalException
moveThread in interface MBThreadServicePortalExceptionpublic MBThread moveThreadFromTrash(long categoryId, long threadId) throws PortalException
moveThreadFromTrash in interface MBThreadServicePortalExceptionpublic MBThread moveThreadToTrash(long threadId) throws PortalException
moveThreadToTrash in interface MBThreadServicePortalExceptionpublic MBThread splitThread(long messageId, String subject, ServiceContext serviceContext) throws PortalException
splitThread in interface MBThreadServicePortalExceptionpublic Lock lockThread(long threadId) throws PortalException
lockThread in interface MBThreadServicePortalExceptionpublic Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException
search in interface MBThreadServicePortalExceptionpublic Hits search(long groupId, long creatorUserId, long startDate, long endDate, int status, int start, int end) throws PortalException
search in interface MBThreadServicePortalExceptionpublic int getGroupThreadsCount(long groupId,
long userId,
int status)
getGroupThreadsCount in interface MBThreadServicepublic int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed)
getGroupThreadsCount in interface MBThreadServicepublic int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)
getGroupThreadsCount in interface MBThreadServicepublic int getGroupThreadsCount(long groupId,
long userId,
Date modifiedDate,
int status)
getGroupThreadsCount in interface MBThreadServicepublic int getThreadsCount(long groupId,
long categoryId,
int status)
getThreadsCount in interface MBThreadServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface MBThreadServicepublic List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end) throws PortalException
getGroupThreads in interface MBThreadServicePortalExceptionpublic List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end) throws PortalException
getGroupThreads in interface MBThreadServicePortalExceptionpublic List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end) throws PortalException
getGroupThreads in interface MBThreadServicePortalExceptionpublic List<MBThread> getGroupThreads(long groupId, long userId, Date modifiedDate, int status, int start, int end) throws PortalException
getGroupThreads in interface MBThreadServicePortalExceptionpublic List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end)
getThreads in interface MBThreadServicepublic void deleteThread(long threadId)
throws PortalException
deleteThread in interface MBThreadServicePortalExceptionpublic void restoreThreadFromTrash(long threadId)
throws PortalException
restoreThreadFromTrash in interface MBThreadServicePortalExceptionpublic void unlockThread(long threadId)
throws PortalException
unlockThread in interface MBThreadServicePortalExceptionpublic MBThreadService getWrappedService()
getWrappedService in interface ServiceWrapper<MBThreadService>public void setWrappedService(MBThreadService mbThreadService)
setWrappedService in interface ServiceWrapper<MBThreadService>