Liferay 6.1.2-ce-ga3

com.liferay.portlet.messageboards.service.impl
Class MBThreadServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.messageboards.service.base.MBThreadServiceBaseImpl
          extended by com.liferay.portlet.messageboards.service.impl.MBThreadServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, MBThreadService

public class MBThreadServiceImpl
extends MBThreadServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBThreadServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, lockFinder, lockLocalService, lockPersistence, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbDiscussionLocalService, mbDiscussionPersistence, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadFlagLocalService, mbThreadFlagPersistence, mbThreadLocalService, mbThreadPersistence, mbThreadService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
MBThreadServiceImpl()
           
 
Method Summary
 void deleteThread(long threadId)
           
protected  List<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<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)
           
 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 splitThread(long messageId, String subject, ServiceContext serviceContext)
           
 void unlockThread(long threadId)
           
 
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBThreadServiceBaseImpl
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getBeanIdentifier, getCounterLocalService, getLockFinder, getLockLocalService, getLockPersistence, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThreadFinder, getMBThreadFlagLocalService, getMBThreadFlagPersistence, getMBThreadLocalService, getMBThreadPersistence, getMBThreadService, getModelClass, getModelClassName, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setBeanIdentifier, setCounterLocalService, setLockFinder, setLockLocalService, setLockPersistence, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadFlagLocalService, setMBThreadFlagPersistence, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
 
Methods inherited from class com.liferay.portal.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
 

Constructor Detail

MBThreadServiceImpl

public MBThreadServiceImpl()
Method Detail

deleteThread

public void deleteThread(long threadId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getGroupThreads

public List<MBThread> getGroupThreads(long groupId,
                                      long userId,
                                      Date modifiedDate,
                                      int status,
                                      int start,
                                      int end)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
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,
                                long userId,
                                Date modifiedDate,
                                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

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

lockThread

public Lock lockThread(long threadId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

moveThread

public MBThread moveThread(long categoryId,
                           long threadId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

splitThread

public MBThread splitThread(long messageId,
                            String subject,
                            ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

unlockThread

public void unlockThread(long threadId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

doGetGroupThreads

protected List<MBThread> doGetGroupThreads(long groupId,
                                           long userId,
                                           int status,
                                           boolean subscribed,
                                           boolean includeAnonymous,
                                           int start,
                                           int end)
                                    throws SystemException
Throws:
SystemException

doGetGroupThreadsCount

protected int doGetGroupThreadsCount(long groupId,
                                     long userId,
                                     int status,
                                     boolean subscribed,
                                     boolean includeAnonymous)
                              throws SystemException
Throws:
SystemException

Liferay 6.1.2-ce-ga3