com.liferay.portlet.messageboards.service.impl
Class MBThreadLocalServiceImpl
java.lang.Object
com.liferay.portlet.messageboards.service.base.MBThreadLocalServiceBaseImpl
com.liferay.portlet.messageboards.service.impl.MBThreadLocalServiceImpl
- All Implemented Interfaces:
- MBThreadLocalService
public class MBThreadLocalServiceImpl
- extends MBThreadLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBThreadLocalServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, dlLocalService, dlService, lockLocalService, lockPersistence, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbDiscussionLocalService, mbDiscussionPersistence, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageFlagLocalService, mbMessageFlagPersistence, mbMessageFlagService, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadLocalService, mbThreadPersistence, mbThreadService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
Method Summary |
protected MBThread |
addThread(long categoryId,
MBMessage message)
|
void |
deleteThread(long threadId)
|
void |
deleteThread(MBThread thread)
|
void |
deleteThreads(long groupId,
long categoryId)
|
int |
getCategoryThreadsCount(long groupId,
long categoryId,
int status)
|
List<MBThread> |
getGroupThreads(long groupId,
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,
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)
|
List<MBThread> |
getPriorityThreads(long categoryId,
double priority)
|
List<MBThread> |
getPriorityThreads(long categoryId,
double priority,
boolean inherit)
|
MBThread |
getThread(long threadId)
|
List<MBThread> |
getThreads(long groupId,
long categoryId,
int status,
int start,
int end)
|
int |
getThreadsCount(long groupId,
long categoryId,
int status)
|
protected void |
moveAttachmentsFromOldThread(MBMessage message,
String oldAttachmentsDir)
|
protected int |
moveChildrenMessages(MBMessage parentMessage,
MBCategory category,
long oldThreadId)
|
MBThread |
moveThread(long groupId,
long categoryId,
long threadId)
|
MBThread |
splitThread(long messageId,
ServiceContext serviceContext)
|
MBThread |
updateThread(long threadId,
int viewCount)
|
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBThreadLocalServiceBaseImpl |
addMBThread, createMBThread, deleteMBThread, deleteMBThread, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getCounterLocalService, getDLLocalService, getDLService, getLockLocalService, getLockPersistence, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessageFinder, getMBMessageFlagLocalService, getMBMessageFlagPersistence, getMBMessageFlagService, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThread, getMBThreadFinder, getMBThreadLocalService, getMBThreadPersistence, getMBThreads, getMBThreadsCount, getMBThreadService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setCounterLocalService, setDLLocalService, setDLService, setLockLocalService, setLockPersistence, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageFlagLocalService, setMBMessageFlagPersistence, setMBMessageFlagService, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateMBThread, updateMBThread |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBThreadLocalServiceImpl
public MBThreadLocalServiceImpl()
deleteThread
public void deleteThread(long threadId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteThread
public void deleteThread(MBThread thread)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteThreads
public void deleteThreads(long groupId,
long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategoryThreadsCount
public int getCategoryThreadsCount(long groupId,
long categoryId,
int status)
throws SystemException
- Throws:
SystemException
getGroupThreads
public List<MBThread> getGroupThreads(long groupId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupThreads
public List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupThreads
public List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupThreads
public List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupThreadsCount
public int getGroupThreadsCount(long groupId,
int status)
throws SystemException
- Throws:
SystemException
getGroupThreadsCount
public int getGroupThreadsCount(long groupId,
long userId,
int status)
throws SystemException
- Throws:
SystemException
getGroupThreadsCount
public int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed)
throws SystemException
- Throws:
SystemException
getGroupThreadsCount
public int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)
throws SystemException
- Throws:
SystemException
getPriorityThreads
public List<MBThread> getPriorityThreads(long categoryId,
double priority)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPriorityThreads
public List<MBThread> getPriorityThreads(long categoryId,
double priority,
boolean inherit)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getThread
public MBThread getThread(long threadId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getThreads
public List<MBThread> getThreads(long groupId,
long categoryId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getThreadsCount
public int getThreadsCount(long groupId,
long categoryId,
int status)
throws SystemException
- Throws:
SystemException
moveThread
public MBThread moveThread(long groupId,
long categoryId,
long threadId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
splitThread
public MBThread splitThread(long messageId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateThread
public MBThread updateThread(long threadId,
int viewCount)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addThread
protected MBThread addThread(long categoryId,
MBMessage message)
throws SystemException
- Throws:
SystemException
moveAttachmentsFromOldThread
protected void moveAttachmentsFromOldThread(MBMessage message,
String oldAttachmentsDir)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveChildrenMessages
protected int moveChildrenMessages(MBMessage parentMessage,
MBCategory category,
long oldThreadId)
throws SystemException,
PortalException
- Throws:
SystemException
PortalException