@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface MBThreadService
extends com.liferay.portal.kernel.service.BaseService
MBThreadServiceUtil| Modifier and Type | Method and Description |
|---|---|
void |
deleteThread(long threadId) |
java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
java.util.Date modifiedDate,
boolean includeAnonymous,
int status,
int start,
int end) |
java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
java.util.Date modifiedDate,
int status,
int start,
int end) |
java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end) |
java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end) |
java.util.List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
int start,
int end) |
int |
getGroupThreadsCount(long groupId,
long userId,
java.util.Date modifiedDate,
boolean includeAnonymous,
int status) |
int |
getGroupThreadsCount(long groupId,
long userId,
java.util.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) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
java.util.List<MBThread> |
getThreads(long groupId,
long categoryId,
int status,
int start,
int end) |
java.util.List<MBThread> |
getThreads(long groupId,
long categoryId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
int |
getThreadsCount(long groupId,
long categoryId,
int status) |
int |
getThreadsCount(long groupId,
long categoryId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) |
com.liferay.portal.kernel.lock.Lock |
lockThread(long threadId) |
MBThread |
moveThread(long categoryId,
long threadId) |
MBThread |
moveThreadFromTrash(long categoryId,
long threadId) |
MBThread |
moveThreadToTrash(long threadId) |
void |
restoreThreadFromTrash(long threadId) |
com.liferay.portal.kernel.search.Hits |
search(long groupId,
long creatorUserId,
int status,
int start,
int end) |
com.liferay.portal.kernel.search.Hits |
search(long groupId,
long creatorUserId,
long startDate,
long endDate,
int status,
int start,
int end) |
MBThread |
splitThread(long messageId,
java.lang.String subject,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
unlockThread(long threadId) |
void deleteThread(long threadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBThread> getGroupThreads(long groupId,
long userId,
java.util.Date modifiedDate,
boolean includeAnonymous,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBThread> getGroupThreads(long groupId,
long userId,
java.util.Date modifiedDate,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getGroupThreadsCount(long groupId,
long userId,
java.util.Date modifiedDate,
boolean includeAnonymous,
int status)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getGroupThreadsCount(long groupId,
long userId,
java.util.Date modifiedDate,
int status)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getGroupThreadsCount(long groupId,
long userId,
int status)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBThread> getThreads(long groupId,
long categoryId,
int status,
int start,
int end)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBThread> getThreads(long groupId,
long categoryId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getThreadsCount(long groupId,
long categoryId,
int status)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getThreadsCount(long groupId,
long categoryId,
com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.lock.Lock lockThread(long threadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionMBThread moveThread(long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionMBThread moveThreadFromTrash(long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionMBThread moveThreadToTrash(long threadId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid restoreThreadFromTrash(long threadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.search.Hits search(long groupId,
long creatorUserId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.search.Hits search(long groupId,
long creatorUserId,
long startDate,
long endDate,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionMBThread splitThread(long messageId, java.lang.String subject, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid unlockThread(long threadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException