@ProviderType
public class BlogsEntryServiceUtil
extends java.lang.Object
com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.BlogsEntryService,
com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl,
com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl| Constructor and Description |
|---|
BlogsEntryServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static BlogsEntry |
addEntry(java.lang.String title,
java.lang.String description,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
boolean smallImage,
java.lang.String smallImageURL,
java.lang.String smallImageFileName,
java.io.InputStream smallImageInputStream,
ServiceContext serviceContext) |
static void |
deleteEntry(long entryId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static java.util.List<BlogsEntry> |
getCompanyEntries(long companyId,
java.util.Date displayDate,
int status,
int max) |
static java.lang.String |
getCompanyEntriesRSS(long companyId,
java.util.Date displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay) |
static BlogsEntry |
getEntry(long entryId) |
static BlogsEntry |
getEntry(long groupId,
java.lang.String urlTitle) |
static java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
java.util.Date displayDate,
int status,
int max) |
static java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
java.util.Date displayDate,
int status,
int start,
int end) |
static java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int max) |
static java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end) |
static int |
getGroupEntriesCount(long groupId,
java.util.Date displayDate,
int status) |
static int |
getGroupEntriesCount(long groupId,
int status) |
static java.lang.String |
getGroupEntriesRSS(long groupId,
java.util.Date displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay) |
static java.util.List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
java.util.Date displayDate,
int status,
int max) |
static java.util.List<BlogsEntry> |
getOrganizationEntries(long organizationId,
java.util.Date displayDate,
int status,
int max) |
static java.lang.String |
getOrganizationEntriesRSS(long organizationId,
java.util.Date displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay) |
static BlogsEntryService |
getService() |
static BlogsEntry |
moveEntryToTrash(long entryId) |
static void |
restoreEntryFromTrash(long entryId) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(BlogsEntryService service)
Deprecated.
As of 6.2.0
|
static void |
subscribe(long groupId) |
static void |
unsubscribe(long groupId) |
static BlogsEntry |
updateEntry(long entryId,
java.lang.String title,
java.lang.String description,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
boolean smallImage,
java.lang.String smallImageURL,
java.lang.String smallImageFileName,
java.io.InputStream smallImageInputStream,
ServiceContext serviceContext) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static BlogsEntry addEntry(java.lang.String title, java.lang.String description, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, java.lang.String[] trackbacks, boolean smallImage, java.lang.String smallImageURL, java.lang.String smallImageFileName, java.io.InputStream smallImageInputStream, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteEntry(long entryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<BlogsEntry> getCompanyEntries(long companyId, java.util.Date displayDate, int status, int max) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.lang.String getCompanyEntriesRSS(long companyId,
java.util.Date displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static BlogsEntry getEntry(long entryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static BlogsEntry getEntry(long groupId, java.lang.String urlTitle) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<BlogsEntry> getGroupEntries(long groupId, java.util.Date displayDate, int status, int max) throws SystemException
SystemExceptionpublic static java.util.List<BlogsEntry> getGroupEntries(long groupId, java.util.Date displayDate, int status, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<BlogsEntry> getGroupEntries(long groupId, int status, int max) throws SystemException
SystemExceptionpublic static java.util.List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end) throws SystemException
SystemExceptionpublic static int getGroupEntriesCount(long groupId,
java.util.Date displayDate,
int status)
throws SystemException
SystemExceptionpublic static int getGroupEntriesCount(long groupId,
int status)
throws SystemException
SystemExceptionpublic static java.lang.String getGroupEntriesRSS(long groupId,
java.util.Date displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<BlogsEntry> getGroupsEntries(long companyId, long groupId, java.util.Date displayDate, int status, int max) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<BlogsEntry> getOrganizationEntries(long organizationId, java.util.Date displayDate, int status, int max) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.lang.String getOrganizationEntriesRSS(long organizationId,
java.util.Date displayDate,
int status,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static BlogsEntry moveEntryToTrash(long entryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void restoreEntryFromTrash(long entryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void subscribe(long groupId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void unsubscribe(long groupId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static BlogsEntry updateEntry(long entryId, java.lang.String title, java.lang.String description, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, java.lang.String[] trackbacks, boolean smallImage, java.lang.String smallImageURL, java.lang.String smallImageFileName, java.io.InputStream smallImageInputStream, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static BlogsEntryService getService()
public void setService(BlogsEntryService service)