|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.blogs.service.http.BlogsEntryServiceHttp
public class BlogsEntryServiceHttp
This class provides a HTTP utility for the
BlogsEntryServiceUtil service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal parameter.
The benefits of using the HTTP utility is that it is fast and allows for tunneling without the cost of serializing to text. The drawback is that it only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to configure security.
The HTTP utility is only generated for remote services.
BlogsEntryServiceSoap,
HttpPrincipal,
BlogsEntryServiceUtil| Constructor Summary | |
|---|---|
BlogsEntryServiceHttp()
|
|
| Method Summary | |
|---|---|
static BlogsEntry |
addEntry(HttpPrincipal httpPrincipal,
String title,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
boolean smallImage,
String smallImageURL,
String smallImageFileName,
InputStream smallImageInputStream,
ServiceContext serviceContext)
|
static void |
deleteEntry(HttpPrincipal httpPrincipal,
long entryId)
|
static List<BlogsEntry> |
getCompanyEntries(HttpPrincipal httpPrincipal,
long companyId,
Date displayDate,
int status,
int max)
|
static String |
getCompanyEntriesRSS(HttpPrincipal httpPrincipal,
long companyId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
|
static BlogsEntry |
getEntry(HttpPrincipal httpPrincipal,
long entryId)
|
static BlogsEntry |
getEntry(HttpPrincipal httpPrincipal,
long groupId,
String urlTitle)
|
static List<BlogsEntry> |
getGroupEntries(HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status,
int max)
|
static List<BlogsEntry> |
getGroupEntries(HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status,
int start,
int end)
|
static List<BlogsEntry> |
getGroupEntries(HttpPrincipal httpPrincipal,
long groupId,
int status,
int max)
|
static List<BlogsEntry> |
getGroupEntries(HttpPrincipal httpPrincipal,
long groupId,
int status,
int start,
int end)
|
static int |
getGroupEntriesCount(HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status)
|
static int |
getGroupEntriesCount(HttpPrincipal httpPrincipal,
long groupId,
int status)
|
static String |
getGroupEntriesRSS(HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
|
static List<BlogsEntry> |
getGroupsEntries(HttpPrincipal httpPrincipal,
long companyId,
long groupId,
Date displayDate,
int status,
int max)
|
static List<BlogsEntry> |
getOrganizationEntries(HttpPrincipal httpPrincipal,
long organizationId,
Date displayDate,
int status,
int max)
|
static String |
getOrganizationEntriesRSS(HttpPrincipal httpPrincipal,
long organizationId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
|
static void |
subscribe(HttpPrincipal httpPrincipal,
long groupId)
|
static void |
unsubscribe(HttpPrincipal httpPrincipal,
long groupId)
|
static BlogsEntry |
updateEntry(HttpPrincipal httpPrincipal,
long entryId,
String title,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
boolean smallImage,
String smallImageURL,
String smallImageFileName,
InputStream smallImageInputStream,
ServiceContext serviceContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlogsEntryServiceHttp()
| Method Detail |
|---|
public static BlogsEntry addEntry(HttpPrincipal httpPrincipal,
String title,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
boolean smallImage,
String smallImageURL,
String smallImageFileName,
InputStream smallImageInputStream,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteEntry(HttpPrincipal httpPrincipal,
long entryId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<BlogsEntry> getCompanyEntries(HttpPrincipal httpPrincipal,
long companyId,
Date displayDate,
int status,
int max)
throws PortalException,
SystemException
PortalException
SystemException
public static String getCompanyEntriesRSS(HttpPrincipal httpPrincipal,
long companyId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
PortalException
SystemException
public static BlogsEntry getEntry(HttpPrincipal httpPrincipal,
long entryId)
throws PortalException,
SystemException
PortalException
SystemException
public static BlogsEntry getEntry(HttpPrincipal httpPrincipal,
long groupId,
String urlTitle)
throws PortalException,
SystemException
PortalException
SystemException
public static List<BlogsEntry> getGroupEntries(HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status,
int max)
throws SystemException
SystemException
public static List<BlogsEntry> getGroupEntries(HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status,
int start,
int end)
throws SystemException
SystemException
public static List<BlogsEntry> getGroupEntries(HttpPrincipal httpPrincipal,
long groupId,
int status,
int max)
throws SystemException
SystemException
public static List<BlogsEntry> getGroupEntries(HttpPrincipal httpPrincipal,
long groupId,
int status,
int start,
int end)
throws SystemException
SystemException
public static int getGroupEntriesCount(HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status)
throws SystemException
SystemException
public static int getGroupEntriesCount(HttpPrincipal httpPrincipal,
long groupId,
int status)
throws SystemException
SystemException
public static String getGroupEntriesRSS(HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
PortalException
SystemException
public static List<BlogsEntry> getGroupsEntries(HttpPrincipal httpPrincipal,
long companyId,
long groupId,
Date displayDate,
int status,
int max)
throws PortalException,
SystemException
PortalException
SystemException
public static List<BlogsEntry> getOrganizationEntries(HttpPrincipal httpPrincipal,
long organizationId,
Date displayDate,
int status,
int max)
throws PortalException,
SystemException
PortalException
SystemException
public static String getOrganizationEntriesRSS(HttpPrincipal httpPrincipal,
long organizationId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
PortalException
SystemException
public static void subscribe(HttpPrincipal httpPrincipal,
long groupId)
throws PortalException,
SystemException
PortalException
SystemException
public static void unsubscribe(HttpPrincipal httpPrincipal,
long groupId)
throws PortalException,
SystemException
PortalException
SystemException
public static BlogsEntry updateEntry(HttpPrincipal httpPrincipal,
long entryId,
String title,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
boolean smallImage,
String smallImageURL,
String smallImageFileName,
InputStream smallImageInputStream,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||