com.liferay.portlet.messageboards.service
Class MBThreadServiceWrapper
java.lang.Object
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- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBThreadServiceWrapper
public MBThreadServiceWrapper(MBThreadService mbThreadService)
deleteThread
public void deleteThread(long threadId)
throws PortalException
- Specified by:
deleteThread in interface MBThreadService
- Throws:
PortalException
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
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
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
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
getWrappedService
public MBThreadService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<MBThreadService>
setWrappedService
public void setWrappedService(MBThreadService mbThreadService)
- Specified by:
setWrappedService in interface ServiceWrapper<MBThreadService>