@ProviderType
public class BlogsEntryServiceHttp
extends Object
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 and Description |
---|
BlogsEntryServiceHttp() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.blogs.kernel.model.BlogsEntry |
addEntry(com.liferay.portal.kernel.security.auth.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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.blogs.kernel.model.BlogsEntry |
addEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String title,
String subtitle,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
String coverImageCaption,
com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long entryId) |
static List<com.liferay.blogs.kernel.model.BlogsEntry> |
getCompanyEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
Date displayDate,
int status,
int max) |
static String |
getCompanyEntriesRSS(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
static com.liferay.blogs.kernel.model.BlogsEntry |
getEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long entryId) |
static com.liferay.blogs.kernel.model.BlogsEntry |
getEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String urlTitle) |
static List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status,
int max) |
static List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status,
int start,
int end) |
static List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
int status,
int max) |
static List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
int status,
int start,
int end) |
static List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) |
static int |
getGroupEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status) |
static int |
getGroupEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
int status) |
static String |
getGroupEntriesRSS(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
static List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupsEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
long groupId,
Date displayDate,
int status,
int max) |
static List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupUserEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) |
static List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupUserEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) |
static int |
getGroupUserEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
int status) |
static int |
getGroupUserEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
int[] statuses) |
static List<com.liferay.blogs.kernel.model.BlogsEntry> |
getOrganizationEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long organizationId,
Date displayDate,
int status,
int max) |
static String |
getOrganizationEntriesRSS(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long organizationId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
static com.liferay.blogs.kernel.model.BlogsEntry |
moveEntryToTrash(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long entryId) |
static void |
restoreEntryFromTrash(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long entryId) |
static void |
subscribe(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId) |
static void |
unsubscribe(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId) |
static com.liferay.blogs.kernel.model.BlogsEntry |
updateEntry(com.liferay.portal.kernel.security.auth.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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.blogs.kernel.model.BlogsEntry |
updateEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long entryId,
String title,
String subtitle,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
String coverImageCaption,
com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static com.liferay.blogs.kernel.model.BlogsEntry addEntry(com.liferay.portal.kernel.security.auth.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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.blogs.kernel.model.BlogsEntry addEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.blogs.kernel.model.BlogsEntry> getCompanyEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static String getCompanyEntriesRSS(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.blogs.kernel.model.BlogsEntry getEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.blogs.kernel.model.BlogsEntry getEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, Date displayDate, int status, int max)
public static List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, Date displayDate, int status, int start, int end)
public static List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status, int max)
public static List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status, int start, int end)
public static List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc)
public static int getGroupEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, Date displayDate, int status)
public static int getGroupEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status)
public static String getGroupEntriesRSS(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupsEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, long groupId, Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupUserEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc)
public static List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupUserEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc)
public static int getGroupUserEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, int status)
public static int getGroupUserEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, int[] statuses)
public static List<com.liferay.blogs.kernel.model.BlogsEntry> getOrganizationEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static String getOrganizationEntriesRSS(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.blogs.kernel.model.BlogsEntry moveEntryToTrash(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void restoreEntryFromTrash(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void subscribe(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsubscribe(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.blogs.kernel.model.BlogsEntry updateEntry(com.liferay.portal.kernel.security.auth.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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.blogs.kernel.model.BlogsEntry updateEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long entryId, String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException