@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface MBThreadService extends BaseService
MBThreadServiceUtil
,
MBThreadServiceBaseImpl
,
MBThreadServiceImpl
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) |
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) |
MBThread |
splitThread(long messageId,
String subject,
ServiceContext serviceContext) |
void |
unlockThread(long threadId) |
void deleteThread(long threadId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getGroupThreads(long groupId, long userId, Date modifiedDate, int status, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupThreadsCount(long groupId, long userId, 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)
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) int getThreadsCount(long groupId, long categoryId, int status)
Lock lockThread(long threadId) throws PortalException
PortalException
MBThread moveThread(long categoryId, long threadId) throws PortalException
PortalException
MBThread moveThreadFromTrash(long categoryId, long threadId) throws PortalException
PortalException
MBThread moveThreadToTrash(long threadId) throws PortalException
PortalException
void restoreThreadFromTrash(long threadId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long groupId, long creatorUserId, long startDate, long endDate, int status, int start, int end) throws PortalException
PortalException
MBThread splitThread(long messageId, String subject, ServiceContext serviceContext) throws PortalException
PortalException
void unlockThread(long threadId) throws PortalException
PortalException