Liferay 7.0-ce-b4

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:
IdentifiableOSGiService, 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, 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.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 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)
           
 
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.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
Throws:
PortalException

getGroupThreads

public List<MBThread> getGroupThreads(long groupId,
                                      long userId,
                                      Date modifiedDate,
                                      int status,
                                      int start,
                                      int end)
                               throws PortalException
Throws:
PortalException

getGroupThreads

public List<MBThread> getGroupThreads(long groupId,
                                      long userId,
                                      int status,
                                      boolean subscribed,
                                      boolean includeAnonymous,
                                      int start,
                                      int end)
                               throws PortalException
Throws:
PortalException

getGroupThreads

public List<MBThread> getGroupThreads(long groupId,
                                      long userId,
                                      int status,
                                      boolean subscribed,
                                      int start,
                                      int end)
                               throws PortalException
Throws:
PortalException

getGroupThreads

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

getThreadsCount

public int getThreadsCount(long groupId,
                           long categoryId,
                           int status)

lockThread

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

moveThread

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

moveThreadFromTrash

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

moveThreadToTrash

public MBThread moveThreadToTrash(long threadId)
                           throws PortalException
Throws:
PortalException

restoreThreadFromTrash

public void restoreThreadFromTrash(long threadId)
                            throws PortalException
Throws:
PortalException

search

public Hits search(long groupId,
                   long creatorUserId,
                   int status,
                   int start,
                   int end)
            throws PortalException
Throws:
PortalException

search

public Hits search(long groupId,
                   long creatorUserId,
                   long startDate,
                   long endDate,
                   int status,
                   int start,
                   int end)
            throws PortalException
Throws:
PortalException

splitThread

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

unlockThread

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

doGetGroupThreads

protected List<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)

Liferay 7.0-ce-b4