public class MicroblogsentryService extends BaseService
session| Constructor and Description |
|---|
MicroblogsentryService(Session session) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
addMicroblogsEntry(long userId,
java.lang.String content,
int type,
long parentMicroblogsEntryId,
int socialRelationType,
JSONObjectWrapper serviceContext) |
org.json.JSONObject |
deleteMicroblogsEntry(long microblogsEntryId) |
org.json.JSONArray |
getMicroblogsEntries(int start,
int end) |
org.json.JSONArray |
getMicroblogsEntries(java.lang.String assetTagName,
int start,
int end) |
java.lang.Integer |
getMicroblogsEntriesCount() |
java.lang.Integer |
getMicroblogsEntriesCount(java.lang.String assetTagName) |
org.json.JSONObject |
getMicroblogsEntry(long microblogsEntryId) |
org.json.JSONArray |
getUserMicroblogsEntries(long microblogsEntryUserId,
int start,
int end) |
org.json.JSONArray |
getUserMicroblogsEntries(long microblogsEntryUserId,
int type,
int start,
int end) |
java.lang.Integer |
getUserMicroblogsEntriesCount(long microblogsEntryUserId) |
java.lang.Integer |
getUserMicroblogsEntriesCount(long microblogsEntryUserId,
int type) |
org.json.JSONObject |
updateMicroblogsEntry(long microblogsEntryId,
java.lang.String content,
int socialRelationType,
JSONObjectWrapper serviceContext) |
checkNull, getSession, mangleWrapper, setSession, toStringpublic MicroblogsentryService(Session session)
public org.json.JSONArray getMicroblogsEntries(int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getMicroblogsEntries(java.lang.String assetTagName,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getMicroblogsEntriesCount(java.lang.String assetTagName)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getMicroblogsEntriesCount()
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject getMicroblogsEntry(long microblogsEntryId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject addMicroblogsEntry(long userId,
java.lang.String content,
int type,
long parentMicroblogsEntryId,
int socialRelationType,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject deleteMicroblogsEntry(long microblogsEntryId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getUserMicroblogsEntries(long microblogsEntryUserId,
int type,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getUserMicroblogsEntries(long microblogsEntryUserId,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getUserMicroblogsEntriesCount(long microblogsEntryUserId,
int type)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getUserMicroblogsEntriesCount(long microblogsEntryUserId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject updateMicroblogsEntry(long microblogsEntryId,
java.lang.String content,
int socialRelationType,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exception