com.liferay.portlet.messageboards.service.impl
Class MBThreadServiceImpl
java.lang.Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portlet.messageboards.service.base.MBThreadServiceBaseImpl
com.liferay.portlet.messageboards.service.impl.MBThreadServiceImpl
- All Implemented Interfaces:
- com.liferay.message.boards.kernel.service.MBThreadService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService
public class MBThreadServiceImpl
- extends MBThreadServiceBaseImpl
| Fields inherited from class com.liferay.portlet.messageboards.service.base.MBThreadServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadFlagLocalService, mbThreadFlagPersistence, mbThreadLocalService, mbThreadPersistence, mbThreadService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
| Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
|
Method Summary |
void |
deleteThread(long threadId)
|
protected List<com.liferay.message.boards.kernel.model.MBThread> |
doGetGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
|
protected int |
doGetGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)
|
List<com.liferay.message.boards.kernel.model.MBThread> |
getGroupThreads(long groupId,
long userId,
Date modifiedDate,
int status,
int start,
int end)
|
List<com.liferay.message.boards.kernel.model.MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
|
List<com.liferay.message.boards.kernel.model.MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end)
|
List<com.liferay.message.boards.kernel.model.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)
|
List<com.liferay.message.boards.kernel.model.MBThread> |
getThreads(long groupId,
long categoryId,
int status,
int start,
int end)
|
int |
getThreadsCount(long groupId,
long categoryId,
int status)
|
com.liferay.portal.kernel.lock.Lock |
lockThread(long threadId)
|
com.liferay.message.boards.kernel.model.MBThread |
moveThread(long categoryId,
long threadId)
|
com.liferay.message.boards.kernel.model.MBThread |
moveThreadFromTrash(long categoryId,
long threadId)
|
com.liferay.message.boards.kernel.model.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)
|
com.liferay.message.boards.kernel.model.MBThread |
splitThread(long messageId,
String subject,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
void |
unlockThread(long threadId)
|
| Methods inherited from class com.liferay.portlet.messageboards.service.base.MBThreadServiceBaseImpl |
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThreadFinder, getMBThreadFlagLocalService, getMBThreadFlagPersistence, getMBThreadLocalService, getMBThreadPersistence, getMBThreadService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadFlagLocalService, setMBThreadFlagPersistence, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence |
| Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl |
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBThreadServiceImpl
public MBThreadServiceImpl()
deleteThread
public void deleteThread(long threadId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getGroupThreads
public List<com.liferay.message.boards.kernel.model.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
public List<com.liferay.message.boards.kernel.model.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
public List<com.liferay.message.boards.kernel.model.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
public List<com.liferay.message.boards.kernel.model.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
public int getGroupThreadsCount(long groupId,
long userId,
Date modifiedDate,
int status)
getGroupThreadsCount
public int getGroupThreadsCount(long groupId,
long userId,
int status)
getGroupThreadsCount
public int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed)
getGroupThreadsCount
public int getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)
getThreads
public List<com.liferay.message.boards.kernel.model.MBThread> getThreads(long groupId,
long categoryId,
int status,
int start,
int end)
getThreadsCount
public int getThreadsCount(long groupId,
long categoryId,
int status)
lockThread
public com.liferay.portal.kernel.lock.Lock lockThread(long threadId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
moveThread
public com.liferay.message.boards.kernel.model.MBThread moveThread(long categoryId,
long threadId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
moveThreadFromTrash
public com.liferay.message.boards.kernel.model.MBThread moveThreadFromTrash(long categoryId,
long threadId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
moveThreadToTrash
public com.liferay.message.boards.kernel.model.MBThread moveThreadToTrash(long threadId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
restoreThreadFromTrash
public void restoreThreadFromTrash(long threadId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
search
public 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
public 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
public com.liferay.message.boards.kernel.model.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
public void unlockThread(long threadId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
doGetGroupThreads
protected List<com.liferay.message.boards.kernel.model.MBThread> doGetGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
doGetGroupThreadsCount
protected int doGetGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)