com.liferay.portlet.blogs.service
Class BlogsEntryServiceUtil
java.lang.Object
com.liferay.portlet.blogs.service.BlogsEntryServiceUtil
public class BlogsEntryServiceUtil
- extends java.lang.Object
The utility for the blogs entry remote service. This utility wraps 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.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
BlogsEntryService,
com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl,
com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl- Generated:
|
Method Summary |
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.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()
|
void |
setService(BlogsEntryService service)
|
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogsEntryServiceUtil
public BlogsEntryServiceUtil()
addEntry
public 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
- Throws:
PortalException
SystemException
deleteEntry
public static void deleteEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntries
public static java.util.List<BlogsEntry> getCompanyEntries(long companyId,
java.util.Date displayDate,
int status,
int max)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntriesRSS
public 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
- Throws:
PortalException
SystemException
getEntry
public static BlogsEntry getEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntry
public static BlogsEntry getEntry(long groupId,
java.lang.String urlTitle)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupEntries
public static java.util.List<BlogsEntry> getGroupEntries(long groupId,
java.util.Date displayDate,
int status,
int max)
throws SystemException
- Throws:
SystemException
getGroupEntries
public static java.util.List<BlogsEntry> getGroupEntries(long groupId,
java.util.Date displayDate,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupEntries
public static java.util.List<BlogsEntry> getGroupEntries(long groupId,
int status,
int max)
throws SystemException
- Throws:
SystemException
getGroupEntries
public static java.util.List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupEntriesCount
public static int getGroupEntriesCount(long groupId,
java.util.Date displayDate,
int status)
throws SystemException
- Throws:
SystemException
getGroupEntriesCount
public static int getGroupEntriesCount(long groupId,
int status)
throws SystemException
- Throws:
SystemException
getGroupEntriesRSS
public 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
- Throws:
PortalException
SystemException
getGroupsEntries
public static java.util.List<BlogsEntry> getGroupsEntries(long companyId,
long groupId,
java.util.Date displayDate,
int status,
int max)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOrganizationEntries
public static java.util.List<BlogsEntry> getOrganizationEntries(long organizationId,
java.util.Date displayDate,
int status,
int max)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOrganizationEntriesRSS
public 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
- Throws:
PortalException
SystemException
subscribe
public static void subscribe(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribe
public static void unsubscribe(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntry
public 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
- Throws:
PortalException
SystemException
getService
public static BlogsEntryService getService()
setService
public void setService(BlogsEntryService service)