Interface MBThreadService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
MBThreadServiceWrapper
@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
Provides the remote service interface for MBThread. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteThread
(long threadId) getGroupThreads
(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end) getGroupThreads
(long groupId, long userId, int status, boolean subscribed, int start, int end) getGroupThreads
(long groupId, long userId, int status, int start, int end) getGroupThreads
(long groupId, long userId, Date modifiedDate, boolean includeAnonymous, int status, int start, int end) getGroupThreads
(long groupId, long userId, Date modifiedDate, int status, int start, int end) 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) int
getGroupThreadsCount
(long groupId, long userId, Date modifiedDate, boolean includeAnonymous, int status) int
getGroupThreadsCount
(long groupId, long userId, Date modifiedDate, int status) Returns the OSGi service identifier.getThreads
(long groupId, long categoryId, int status, int start, int end) 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) moveThread
(long categoryId, long threadId) moveThreadFromTrash
(long categoryId, long threadId) 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) splitThread
(long messageId, String subject, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
unlockThread
(long threadId)
-
Method Details
-
deleteThread
void deleteThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreads
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getGroupThreads(long groupId, long userId, Date modifiedDate, boolean includeAnonymous, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreads
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getGroupThreads(long groupId, long userId, Date modifiedDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreads
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreads
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreads
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupThreadsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupThreadsCount(long groupId, long userId, Date modifiedDate, boolean includeAnonymous, int status) -
getGroupThreadsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupThreadsCount(long groupId, long userId, Date modifiedDate, int status) -
getGroupThreadsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupThreadsCount(long groupId, long userId, int status) -
getGroupThreadsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed) -
getGroupThreadsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous) -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getThreads
-
getThreads
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getThreads(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBThread> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getThreadsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getThreadsCount(long groupId, long categoryId, int status) -
getThreadsCount
@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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
lockThread
com.liferay.portal.kernel.lock.Lock lockThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveThread
MBThread moveThread(long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveThreadFromTrash
MBThread moveThreadFromTrash(long categoryId, long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveThreadToTrash
MBThread moveThreadToTrash(long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreThreadFromTrash
void restoreThreadFromTrash(long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
@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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
@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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
splitThread
MBThread splitThread(long messageId, String subject, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unlockThread
void unlockThread(long threadId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-