com.liferay.portlet.messageboards.service
Class MBThreadServiceUtil
java.lang.Object
com.liferay.portlet.messageboards.service.MBThreadServiceUtil
public class MBThreadServiceUtil
- extends Object
This class provides static methods for the
MBThreadService 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.
- See Also:
MBThreadService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static void |
deleteThread(long threadId)
|
static List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
|
static List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end)
|
static List<MBThread> |
getGroupThreads(long groupId,
long userId,
int status,
int start,
int end)
|
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 MBThreadService |
getService()
|
static List<MBThread> |
getThreads(long groupId,
long categoryId,
int status,
int start,
int end)
|
static int |
getThreadsCount(long groupId,
long categoryId,
int status)
|
static Lock |
lockThread(long threadId)
|
static MBThread |
moveThread(long categoryId,
long threadId)
|
void |
setService(MBThreadService service)
|
static MBThread |
splitThread(long messageId,
ServiceContext serviceContext)
|
static void |
unlockThread(long threadId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBThreadServiceUtil
public MBThreadServiceUtil()
deleteThread
public static void deleteThread(long threadId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupThreads
public static 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 static List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupThreads
public static List<MBThread> getGroupThreads(long groupId,
long userId,
int status,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
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
getThreads
public static 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
lockThread
public static Lock lockThread(long threadId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveThread
public static MBThread moveThread(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
unlockThread
public static void unlockThread(long threadId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static MBThreadService getService()
setService
public void setService(MBThreadService service)