com.liferay.portlet.blogs.service.impl
Class BlogsEntryServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl
com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, BlogsEntryService
public class BlogsEntryServiceImpl
- extends BlogsEntryServiceBaseImpl
Fields inherited from class com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, companyLocalService, companyPersistence, companyService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
Method Summary |
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,
ServiceContext serviceContext)
|
void |
deleteEntry(long entryId)
|
protected String |
exportToRSS(String name,
String description,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
List<BlogsEntry> blogsEntries,
ThemeDisplay themeDisplay)
|
List<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,
ThemeDisplay themeDisplay)
|
BlogsEntry |
getEntry(long entryId)
|
BlogsEntry |
getEntry(long groupId,
String urlTitle)
|
List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
int status,
int max)
|
List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end)
|
List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int max)
|
List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end)
|
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,
ThemeDisplay themeDisplay)
|
List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
Date displayDate,
int status,
int max)
|
List<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,
ThemeDisplay themeDisplay)
|
void |
subscribe(long groupId)
|
void |
unsubscribe(long groupId)
|
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,
ServiceContext serviceContext)
|
Methods inherited from class com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl |
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getModelClass, getModelClassName, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogsEntryServiceImpl
public BlogsEntryServiceImpl()
addEntry
public 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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntry
public void deleteEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntries
public List<BlogsEntry> getCompanyEntries(long companyId,
Date displayDate,
int status,
int max)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntriesRSS
public String getCompanyEntriesRSS(long companyId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntry
public BlogsEntry getEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntry
public BlogsEntry getEntry(long groupId,
String urlTitle)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupEntries
public List<BlogsEntry> getGroupEntries(long groupId,
Date displayDate,
int status,
int max)
throws SystemException
- Throws:
SystemException
getGroupEntries
public List<BlogsEntry> getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupEntries
public List<BlogsEntry> getGroupEntries(long groupId,
int status,
int max)
throws SystemException
- Throws:
SystemException
getGroupEntries
public List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupEntriesCount
public int getGroupEntriesCount(long groupId,
Date displayDate,
int status)
throws SystemException
- Throws:
SystemException
getGroupEntriesCount
public int getGroupEntriesCount(long groupId,
int status)
throws SystemException
- Throws:
SystemException
getGroupEntriesRSS
public String getGroupEntriesRSS(long groupId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupsEntries
public List<BlogsEntry> getGroupsEntries(long companyId,
long groupId,
Date displayDate,
int status,
int max)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOrganizationEntries
public List<BlogsEntry> getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int max)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOrganizationEntriesRSS
public String getOrganizationEntriesRSS(long organizationId,
Date displayDate,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
subscribe
public void subscribe(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribe
public void unsubscribe(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntry
public 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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportToRSS
protected String exportToRSS(String name,
String description,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
List<BlogsEntry> blogsEntries,
ThemeDisplay themeDisplay)
throws SystemException
- Throws:
SystemException