com.liferay.portlet.messageboards.service
Class MBThreadLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.MBThreadLocalServiceUtil

public class MBThreadLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the MBThreadLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
MBThreadLocalService
Generated:

Constructor Summary
MBThreadLocalServiceUtil()
           
 
Method Summary
static MBThread addMBThread(MBThread mbThread)
           
static MBThread createMBThread(long threadId)
           
static void deleteMBThread(long threadId)
           
static void deleteMBThread(MBThread mbThread)
           
static void deleteThread(long threadId)
           
static void deleteThread(MBThread thread)
           
static void deleteThreads(long groupId, long categoryId)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static long dynamicQueryCount(DynamicQuery dynamicQuery)
           
static int getCategoryThreadsCount(long groupId, long categoryId, int status)
           
static java.util.List<MBThread> getGroupThreads(long groupId, int status, int start, int end)
           
static java.util.List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous, int start, int end)
           
static java.util.List<MBThread> getGroupThreads(long groupId, long userId, int status, boolean subscribed, int start, int end)
           
static java.util.List<MBThread> getGroupThreads(long groupId, long userId, int status, int start, int end)
           
static int getGroupThreadsCount(long groupId, int status)
           
static int getGroupThreadsCount(long groupId, long userId, int status)
           
static int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed)
           
static int getGroupThreadsCount(long groupId, long userId, int status, boolean subscribed, boolean includeAnonymous)
           
static MBThread getMBThread(long threadId)
           
static java.util.List<MBThread> getMBThreads(int start, int end)
           
static int getMBThreadsCount()
           
static java.util.List<MBThread> getPriorityThreads(long categoryId, double priority)
           
static java.util.List<MBThread> getPriorityThreads(long categoryId, double priority, boolean inherit)
           
static MBThreadLocalService getService()
           
static MBThread getThread(long threadId)
           
static java.util.List<MBThread> getThreads(long groupId, long categoryId, int status, int start, int end)
           
static int getThreadsCount(long groupId, long categoryId, int status)
           
static MBThread moveThread(long groupId, long categoryId, long threadId)
           
 void setService(MBThreadLocalService service)
           
static MBThread splitThread(long messageId, ServiceContext serviceContext)
           
static MBThread updateMBThread(MBThread mbThread)
           
static MBThread updateMBThread(MBThread mbThread, boolean merge)
           
static MBThread updateThread(long threadId, int viewCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBThreadLocalServiceUtil

public MBThreadLocalServiceUtil()
Method Detail

addMBThread

public static MBThread addMBThread(MBThread mbThread)
                            throws SystemException
Throws:
SystemException

createMBThread

public static MBThread createMBThread(long threadId)

deleteMBThread

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

deleteMBThread

public static void deleteMBThread(MBThread mbThread)
                           throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
                              throws SystemException
Throws:
SystemException

getMBThread

public static MBThread getMBThread(long threadId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getMBThreads

public static java.util.List<MBThread> getMBThreads(int start,
                                                    int end)
                                             throws SystemException
Throws:
SystemException

getMBThreadsCount

public static int getMBThreadsCount()
                             throws SystemException
Throws:
SystemException

updateMBThread

public static MBThread updateMBThread(MBThread mbThread)
                               throws SystemException
Throws:
SystemException

updateMBThread

public static MBThread updateMBThread(MBThread mbThread,
                                      boolean merge)
                               throws SystemException
Throws:
SystemException

deleteThread

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

deleteThread

public static void deleteThread(MBThread thread)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteThreads

public static void deleteThreads(long groupId,
                                 long categoryId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getCategoryThreadsCount

public static int getCategoryThreadsCount(long groupId,
                                          long categoryId,
                                          int status)
                                   throws SystemException
Throws:
SystemException

getGroupThreads

public static java.util.List<MBThread> getGroupThreads(long groupId,
                                                       int status,
                                                       int start,
                                                       int end)
                                                throws SystemException
Throws:
SystemException

getGroupThreads

public static java.util.List<MBThread> getGroupThreads(long groupId,
                                                       long userId,
                                                       int status,
                                                       int start,
                                                       int end)
                                                throws PortalException,
                                                       SystemException
Throws:
PortalException
SystemException

getGroupThreads

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

getGroupThreads

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

getGroupThreadsCount

public static int getGroupThreadsCount(long groupId,
                                       int status)
                                throws SystemException
Throws:
SystemException

getGroupThreadsCount

public static int getGroupThreadsCount(long groupId,
                                       long userId,
                                       int status)
                                throws SystemException
Throws:
SystemException

getGroupThreadsCount

public static int getGroupThreadsCount(long groupId,
                                       long userId,
                                       int status,
                                       boolean subscribed)
                                throws SystemException
Throws:
SystemException

getGroupThreadsCount

public static int getGroupThreadsCount(long groupId,
                                       long userId,
                                       int status,
                                       boolean subscribed,
                                       boolean includeAnonymous)
                                throws SystemException
Throws:
SystemException

getPriorityThreads

public static java.util.List<MBThread> getPriorityThreads(long categoryId,
                                                          double priority)
                                                   throws PortalException,
                                                          SystemException
Throws:
PortalException
SystemException

getPriorityThreads

public static java.util.List<MBThread> getPriorityThreads(long categoryId,
                                                          double priority,
                                                          boolean inherit)
                                                   throws PortalException,
                                                          SystemException
Throws:
PortalException
SystemException

getThread

public static MBThread getThread(long threadId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getThreads

public static java.util.List<MBThread> getThreads(long groupId,
                                                  long categoryId,
                                                  int status,
                                                  int start,
                                                  int end)
                                           throws SystemException
Throws:
SystemException

getThreadsCount

public static int getThreadsCount(long groupId,
                                  long categoryId,
                                  int status)
                           throws SystemException
Throws:
SystemException

moveThread

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

splitThread

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

updateThread

public static MBThread updateThread(long threadId,
                                    int viewCount)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getService

public static MBThreadLocalService getService()

setService

public void setService(MBThreadLocalService service)