public class BlogsEntryService extends BaseService
session| Constructor and Description |
|---|
BlogsEntryService(Session session) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteEntry(long entryId) |
org.json.JSONArray |
getCompanyEntries(long companyId,
long displayDate,
int status,
int max) |
java.lang.String |
getCompanyEntriesRss(long companyId,
long displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
JSONObjectWrapper themeDisplay) |
org.json.JSONObject |
getEntry(long entryId) |
org.json.JSONObject |
getEntry(long groupId,
java.lang.String urlTitle) |
org.json.JSONArray |
getGroupEntries(long groupId,
int status,
int max) |
org.json.JSONArray |
getGroupEntries(long groupId,
int status,
int start,
int end) |
org.json.JSONArray |
getGroupEntries(long groupId,
long displayDate,
int status,
int max) |
org.json.JSONArray |
getGroupEntries(long groupId,
long displayDate,
int status,
int start,
int end) |
java.lang.Integer |
getGroupEntriesCount(long groupId,
int status) |
java.lang.Integer |
getGroupEntriesCount(long groupId,
long displayDate,
int status) |
java.lang.String |
getGroupEntriesRss(long groupId,
long displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
JSONObjectWrapper themeDisplay) |
org.json.JSONArray |
getGroupsEntries(long companyId,
long groupId,
long displayDate,
int status,
int max) |
org.json.JSONArray |
getOrganizationEntries(long organizationId,
long displayDate,
int status,
int max) |
java.lang.String |
getOrganizationEntriesRss(long organizationId,
long displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
JSONObjectWrapper themeDisplay) |
org.json.JSONObject |
moveEntryToTrash(long entryId) |
void |
restoreEntryFromTrash(long entryId) |
void |
subscribe(long groupId) |
void |
unsubscribe(long groupId) |
checkNull, getSession, mangleWrapper, setSession, toStringpublic BlogsEntryService(Session session)
public void deleteEntry(long entryId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getCompanyEntries(long companyId,
long displayDate,
int status,
int max)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getCompanyEntriesRss(long companyId,
long displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
JSONObjectWrapper themeDisplay)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject getEntry(long entryId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject getEntry(long groupId,
java.lang.String urlTitle)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getGroupEntries(long groupId,
int status,
int max)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getGroupEntries(long groupId,
long displayDate,
int status,
int max)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getGroupEntries(long groupId,
int status,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getGroupEntries(long groupId,
long displayDate,
int status,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getGroupEntriesCount(long groupId,
int status)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getGroupEntriesCount(long groupId,
long displayDate,
int status)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getGroupEntriesRss(long groupId,
long displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
JSONObjectWrapper themeDisplay)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getGroupsEntries(long companyId,
long groupId,
long displayDate,
int status,
int max)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getOrganizationEntries(long organizationId,
long displayDate,
int status,
int max)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getOrganizationEntriesRss(long organizationId,
long displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
JSONObjectWrapper themeDisplay)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject moveEntryToTrash(long entryId)
throws java.lang.Exception
java.lang.Exceptionpublic void restoreEntryFromTrash(long entryId)
throws java.lang.Exception
java.lang.Exceptionpublic void subscribe(long groupId)
throws java.lang.Exception
java.lang.Exceptionpublic void unsubscribe(long groupId)
throws java.lang.Exception
java.lang.Exception