@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 void deleteThread(long threadId) throws PortalException
deleteThread
in interface MBThreadService
PortalException
public List<MBThread> getGroupThreads(long groupId, long userId, Date modifiedDate, int status, int start, int end) throws PortalException
getGroupThreads
in interface MBThreadService
PortalException
public List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end) throws PortalException
getGroupThreads
in interface MBThreadService
PortalException
public List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end) throws PortalException
getGroupThreads
in interface MBThreadService
PortalException
public List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end) throws PortalException
getGroupThreads
in interface MBThreadService
PortalException
public int getGroupThreadsCount(long groupId, long userId, Date modifiedDate, int status)
getGroupThreadsCount
in interface MBThreadService
public int getGroupThreadsCount(long groupId, long userId, int status)
getGroupThreadsCount
in interface MBThreadService
public int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed)
getGroupThreadsCount
in interface MBThreadService
public int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous)
getGroupThreadsCount
in interface MBThreadService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface MBThreadService
public List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end)
getThreads
in interface MBThreadService
public int getThreadsCount(long groupId, long categoryId, int status)
getThreadsCount
in interface MBThreadService
public Lock lockThread(long threadId) throws PortalException
lockThread
in interface MBThreadService
PortalException
public MBThread moveThread(long categoryId, long threadId) throws PortalException
moveThread
in interface MBThreadService
PortalException
public MBThread moveThreadFromTrash(long categoryId, long threadId) throws PortalException
moveThreadFromTrash
in interface MBThreadService
PortalException
public MBThread moveThreadToTrash(long threadId) throws PortalException
moveThreadToTrash
in interface MBThreadService
PortalException
public void restoreThreadFromTrash(long threadId) throws PortalException
restoreThreadFromTrash
in interface MBThreadService
PortalException
public Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException
search
in interface MBThreadService
PortalException
public Hits search(long groupId, long creatorUserId, long startDate, long endDate, int status, int start, int end) throws PortalException
search
in interface MBThreadService
PortalException
public MBThread splitThread(long messageId, String subject, ServiceContext serviceContext) throws PortalException
splitThread
in interface MBThreadService
PortalException
public void unlockThread(long threadId) throws PortalException
unlockThread
in interface MBThreadService
PortalException
public MBThreadService getWrappedService()
getWrappedService
in interface ServiceWrapper<MBThreadService>
public void setWrappedService(MBThreadService mbThreadService)
setWrappedService
in interface ServiceWrapper<MBThreadService>