public class MBThreadService
extends BaseService
| Constructor and Description |
|---|
MBThreadService(Session session) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteThread(long threadId) |
org.json.JSONArray |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end) |
org.json.JSONArray |
getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end) |
org.json.JSONArray |
getGroupThreads(long groupId,
long userId,
int status,
int start,
int end) |
org.json.JSONArray |
getGroupThreads(long groupId,
long userId,
long modifiedDate,
int status,
int start,
int end) |
java.lang.Integer |
getGroupThreadsCount(long groupId,
long userId,
int status) |
java.lang.Integer |
getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed) |
java.lang.Integer |
getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous) |
java.lang.Integer |
getGroupThreadsCount(long groupId,
long userId,
long modifiedDate,
int status) |
org.json.JSONArray |
getThreads(long groupId,
long categoryId,
int status,
int start,
int end) |
java.lang.Integer |
getThreadsCount(long groupId,
long categoryId,
int status) |
org.json.JSONObject |
lockThread(long threadId) |
org.json.JSONObject |
moveThread(long categoryId,
long threadId) |
org.json.JSONObject |
moveThreadFromTrash(long categoryId,
long threadId) |
org.json.JSONObject |
moveThreadToTrash(long threadId) |
void |
restoreThreadFromTrash(long threadId) |
org.json.JSONObject |
search(long groupId,
long creatorUserId,
int status,
int start,
int end) |
org.json.JSONObject |
search(long groupId,
long creatorUserId,
long startDate,
long endDate,
int status,
int start,
int end) |
org.json.JSONObject |
splitThread(long messageId,
java.lang.String subject,
JSONObjectWrapper serviceContext) |
void |
unlockThread(long threadId) |
public void deleteThread(long threadId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getGroupThreads(long groupId,
long userId,
int status,
boolean subscribed,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getGroupThreads(long groupId,
long userId,
int status,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getGroupThreads(long groupId,
long userId,
long modifiedDate,
int status,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getGroupThreadsCount(long groupId,
long userId,
int status)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getGroupThreadsCount(long groupId,
long userId,
int status,
boolean subscribed,
boolean includeAnonymous)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getGroupThreadsCount(long groupId,
long userId,
long modifiedDate,
int status)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getThreads(long groupId,
long categoryId,
int status,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getThreadsCount(long groupId,
long categoryId,
int status)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject lockThread(long threadId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject moveThread(long categoryId,
long threadId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject moveThreadFromTrash(long categoryId,
long threadId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject moveThreadToTrash(long threadId)
throws java.lang.Exception
java.lang.Exceptionpublic void restoreThreadFromTrash(long threadId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject search(long groupId,
long creatorUserId,
int status,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject search(long groupId,
long creatorUserId,
long startDate,
long endDate,
int status,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject splitThread(long messageId,
java.lang.String subject,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exceptionpublic void unlockThread(long threadId)
throws java.lang.Exception
java.lang.Exception