public class BlogsEntryServiceImpl extends BlogsEntryServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, companyLocalService, companyPersistence, companyService, counterLocalService, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
Constructor and Description |
---|
BlogsEntryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.blogs.kernel.model.BlogsEntry |
addEntry(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)
Deprecated.
As of Wilberforce (7.0.x), replaced by
addEntry(String, String, String, String, int, int, int, int,
int, boolean, boolean, String[], String, ImageSelector,
ImageSelector, ServiceContext) |
com.liferay.blogs.kernel.model.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) |
void |
deleteEntry(long entryId) |
protected String |
exportToRSS(String name,
String description,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
List<com.liferay.blogs.kernel.model.BlogsEntry> blogsEntries,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
List<com.liferay.blogs.kernel.model.BlogsEntry> |
getCompanyEntries(long companyId,
Date displayDate,
int status,
int max) |
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) |
com.liferay.blogs.kernel.model.BlogsEntry[] |
getEntriesPrevAndNext(long entryId) |
com.liferay.blogs.kernel.model.BlogsEntry |
getEntry(long entryId) |
com.liferay.blogs.kernel.model.BlogsEntry |
getEntry(long groupId,
String urlTitle) |
List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
int status,
int max) |
List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end) |
List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupEntries(long groupId,
int status,
int max) |
List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end) |
List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) |
int |
getGroupEntriesCount(long groupId,
Date displayDate,
int status) |
int |
getGroupEntriesCount(long groupId,
int status) |
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) |
List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
Date displayDate,
int status,
int max) |
List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) |
List<com.liferay.blogs.kernel.model.BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) |
int |
getGroupUserEntriesCount(long groupId,
long userId,
int status) |
int |
getGroupUserEntriesCount(long groupId,
long userId,
int[] statuses) |
List<com.liferay.blogs.kernel.model.BlogsEntry> |
getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int max) |
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) |
com.liferay.blogs.kernel.model.BlogsEntry |
moveEntryToTrash(long entryId) |
void |
restoreEntryFromTrash(long entryId) |
void |
subscribe(long groupId) |
void |
unsubscribe(long groupId) |
com.liferay.blogs.kernel.model.BlogsEntry |
updateEntry(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)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateEntry(long, String, String, String, String, int, int,
int, int, int, boolean, boolean, String[], String,
ImageSelector, ImageSelector, ServiceContext) |
com.liferay.blogs.kernel.model.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) |
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getExpandoRowLocalService, getExpandoRowPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getModelClass, getModelClassName, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getOSGiServiceIdentifier, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
@Deprecated public com.liferay.blogs.kernel.model.BlogsEntry addEntry(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
addEntry(String, String, String, String, int, int, int, int,
int, boolean, boolean, String[], String, ImageSelector,
ImageSelector, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
public com.liferay.blogs.kernel.model.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
com.liferay.portal.kernel.exception.PortalException
public void deleteEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.blogs.kernel.model.BlogsEntry> getCompanyEntries(long companyId, Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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
com.liferay.portal.kernel.exception.PortalException
public com.liferay.blogs.kernel.model.BlogsEntry[] getEntriesPrevAndNext(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.blogs.kernel.model.BlogsEntry getEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.blogs.kernel.model.BlogsEntry getEntry(long groupId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int max)
public List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end)
public List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(long groupId, int status, int max)
public List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(long groupId, int status, int start, int end)
public List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc)
public int getGroupEntriesCount(long groupId, Date displayDate, int status)
public int getGroupEntriesCount(long groupId, int status)
public 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
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupsEntries(long companyId, long groupId, Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupUserEntries(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc)
public List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupUserEntries(long groupId, long userId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc)
public int getGroupUserEntriesCount(long groupId, long userId, int status)
public int getGroupUserEntriesCount(long groupId, long userId, int[] statuses)
public List<com.liferay.blogs.kernel.model.BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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
com.liferay.portal.kernel.exception.PortalException
public com.liferay.blogs.kernel.model.BlogsEntry moveEntryToTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void restoreEntryFromTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void subscribe(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void unsubscribe(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.blogs.kernel.model.BlogsEntry updateEntry(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
updateEntry(long, String, String, String, String, int, int,
int, int, int, boolean, boolean, String[], String,
ImageSelector, ImageSelector, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
public com.liferay.blogs.kernel.model.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
com.liferay.portal.kernel.exception.PortalException
protected String exportToRSS(String name, String description, String type, double version, String displayStyle, String feedURL, String entryURL, List<com.liferay.blogs.kernel.model.BlogsEntry> blogsEntries, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)