@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface MBThreadService extends BaseService
MBThreadServiceUtil,
com.liferay.portlet.messageboards.service.base.MBThreadServiceBaseImpl,
com.liferay.portlet.messageboards.service.impl.MBThreadServiceImpl| Modifier and Type | Method and Description |
|---|---|
void |
deleteThread(long threadId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
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,
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.util.List<MBThread> |
getThreads(long groupId,
long categoryId,
int status,
int start,
int end) |
int |
getThreadsCount(long groupId,
long categoryId,
int status) |
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 |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
MBThread |
splitThread(long messageId,
java.lang.String subject,
ServiceContext serviceContext) |
void |
unlockThread(long threadId) |
java.lang.String getBeanIdentifier()
void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanvoid deleteThread(long threadId)
throws PortalException,
SystemException
PortalExceptionSystemException@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 PortalException, SystemException
PortalExceptionSystemException@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 PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupThreadsCount(long groupId, long userId, java.util.Date modifiedDate, int status) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupThreadsCount(long groupId, long userId, int status) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getThreadsCount(long groupId, long categoryId, int status) throws SystemException
SystemExceptionLock lockThread(long threadId) throws PortalException, SystemException
PortalExceptionSystemExceptionMBThread moveThread(long categoryId, long threadId) throws PortalException, SystemException
PortalExceptionSystemExceptionMBThread moveThreadFromTrash(long categoryId, long threadId) throws PortalException, SystemException
PortalExceptionSystemExceptionMBThread moveThreadToTrash(long threadId) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid restoreThreadFromTrash(long threadId)
throws PortalException,
SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long groupId, long creatorUserId, long startDate, long endDate, int status, int start, int end) throws PortalException, SystemException
PortalExceptionSystemExceptionMBThread splitThread(long messageId, java.lang.String subject, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid unlockThread(long threadId)
throws PortalException,
SystemException
PortalExceptionSystemException