Package com.liferay.blogs.service
Class BlogsEntryServiceUtil
java.lang.Object
com.liferay.blogs.service.BlogsEntryServiceUtil
Provides the remote service utility for BlogsEntry. This utility wraps
com.liferay.blogs.service.impl.BlogsEntryServiceImpl
and is an
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.portal.kernel.repository.model.FileEntry
addAttachmentFileEntry
(String externalReferenceCode, long groupId, String fileName, String mimeType, InputStream inputStream) static com.liferay.portal.kernel.repository.model.Folder
addAttachmentsFolder
(long groupId) static BlogsEntry
addEntry
(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 BlogsEntry
addEntry
(String externalReferenceCode, String title, String subtitle, String urlTitle, 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
deleteAttachmentFileEntry
(long fileEntryId) static void
deleteEntry
(long entryId) static BlogsEntry
fetchBlogsEntryByExternalReferenceCode
(long groupId, String externalReferenceCode) static com.liferay.portal.kernel.repository.model.FileEntry
getAttachmentFileEntry
(long fileEntryId) static com.liferay.portal.kernel.repository.model.FileEntry
getAttachmentFileEntryByExternalReferenceCode
(String externalReferenceCode, long groupId) static BlogsEntry
getBlogsEntryByExternalReferenceCode
(long groupId, String externalReferenceCode) static List<BlogsEntry>
getCompanyEntries
(long companyId, Date displayDate, int status, int max) static String
getCompanyEntriesRSS
(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 BlogsEntry[]
getEntriesPrevAndNext
(long entryId) static BlogsEntry
getEntry
(long entryId) static BlogsEntry
static List<BlogsEntry>
getGroupEntries
(long groupId, int status, int max) static List<BlogsEntry>
getGroupEntries
(long groupId, int status, int start, int end) static List<BlogsEntry>
getGroupEntries
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BlogsEntry> orderByComparator) static List<BlogsEntry>
getGroupEntries
(long groupId, Date displayDate, int status, int max) static List<BlogsEntry>
getGroupEntries
(long groupId, Date displayDate, int status, int start, int end) static int
getGroupEntriesCount
(long groupId, int status) static int
getGroupEntriesCount
(long groupId, Date displayDate, int status) static String
getGroupEntriesRSS
(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<BlogsEntry>
getGroupsEntries
(long companyId, long groupId, Date displayDate, int status, int max) static List<BlogsEntry>
getGroupUserEntries
(long groupId, long userId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BlogsEntry> orderByComparator) static List<BlogsEntry>
getGroupUserEntries
(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BlogsEntry> orderByComparator) static int
getGroupUserEntriesCount
(long groupId, long userId, int status) static int
getGroupUserEntriesCount
(long groupId, long userId, int[] statuses) static List<BlogsEntry>
getOrganizationEntries
(long organizationId, Date displayDate, int status, int max) static String
getOrganizationEntriesRSS
(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 String
Returns the OSGi service identifier.static BlogsEntryService
static BlogsEntry
moveEntryToTrash
(long entryId) static void
restoreEntryFromTrash
(long entryId) static void
subscribe
(long groupId) static void
unsubscribe
(long groupId) static BlogsEntry
updateEntry
(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) static BlogsEntry
updateEntry
(long entryId, String title, String subtitle, String urlTitle, 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)
-
Constructor Details
-
BlogsEntryServiceUtil
public BlogsEntryServiceUtil()
-
-
Method Details
-
addAttachmentFileEntry
public static com.liferay.portal.kernel.repository.model.FileEntry addAttachmentFileEntry(String externalReferenceCode, long groupId, String fileName, String mimeType, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addAttachmentsFolder
public static com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addEntry
public static BlogsEntry addEntry(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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addEntry
public static BlogsEntry addEntry(String externalReferenceCode, String title, String subtitle, String urlTitle, 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAttachmentFileEntry
public static void deleteAttachmentFileEntry(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteEntry
public static void deleteEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchBlogsEntryByExternalReferenceCode
public static BlogsEntry fetchBlogsEntryByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentFileEntry
public static com.liferay.portal.kernel.repository.model.FileEntry getAttachmentFileEntry(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentFileEntryByExternalReferenceCode
public static com.liferay.portal.kernel.repository.model.FileEntry getAttachmentFileEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBlogsEntryByExternalReferenceCode
public static BlogsEntry getBlogsEntryByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyEntries
public static List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyEntriesRSS
public static String getCompanyEntriesRSS(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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getEntriesPrevAndNext
public static BlogsEntry[] getEntriesPrevAndNext(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getEntry
public static BlogsEntry getEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getEntry
public static BlogsEntry getEntry(long groupId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntries
-
getGroupEntries
public static List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end) -
getGroupEntries
-
getGroupEntries
-
getGroupEntries
public static List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BlogsEntry> orderByComparator) -
getGroupEntriesCount
-
getGroupEntriesCount
public static int getGroupEntriesCount(long groupId, int status) -
getGroupEntriesRSS
public static String getGroupEntriesRSS(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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupsEntries
public static List<BlogsEntry> getGroupsEntries(long companyId, long groupId, Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupUserEntries
public static List<BlogsEntry> getGroupUserEntries(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BlogsEntry> orderByComparator) -
getGroupUserEntries
public static List<BlogsEntry> getGroupUserEntries(long groupId, long userId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BlogsEntry> orderByComparator) -
getGroupUserEntriesCount
public static int getGroupUserEntriesCount(long groupId, long userId, int status) -
getGroupUserEntriesCount
public static int getGroupUserEntriesCount(long groupId, long userId, int[] statuses) -
getOrganizationEntries
public static List<BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizationEntriesRSS
public static String getOrganizationEntriesRSS(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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
moveEntryToTrash
public static BlogsEntry moveEntryToTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreEntryFromTrash
public static void restoreEntryFromTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribe
public static void subscribe(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribe
public static void unsubscribe(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateEntry
public static BlogsEntry updateEntry(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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateEntry
public static BlogsEntry updateEntry(long entryId, String title, String subtitle, String urlTitle, 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-