com.liferay.portlet.blogs.service.impl
Class BlogsEntryLocalServiceImpl
java.lang.Object
com.liferay.portlet.blogs.service.base.BlogsEntryLocalServiceBaseImpl
com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl
- All Implemented Interfaces:
- BlogsEntryLocalService
public class BlogsEntryLocalServiceImpl
- extends BlogsEntryLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.blogs.service.base.BlogsEntryLocalServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, companyLocalService, companyPersistence, companyService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialEquityLogLocalService, socialEquityLogPersistence, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
Method Summary |
BlogsEntry |
addEntry(long userId,
String title,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
ServiceContext serviceContext)
|
void |
addEntryResources(BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(BlogsEntry entry,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(long entryId,
String[] communityPermissions,
String[] guestPermissions)
|
void |
deleteEntries(long groupId)
|
void |
deleteEntry(BlogsEntry entry)
|
void |
deleteEntry(long entryId)
|
List<BlogsEntry> |
getCompanyEntries(long companyId,
int status,
int start,
int end)
|
List<BlogsEntry> |
getCompanyEntries(long companyId,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getCompanyEntriesCount(long companyId,
int status)
|
BlogsEntry[] |
getEntriesPrevAndNext(long entryId)
|
BlogsEntry |
getEntry(long entryId)
|
BlogsEntry |
getEntry(long groupId,
String urlTitle)
|
List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end)
|
List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getGroupEntriesCount(long groupId,
int status)
|
List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
int status,
int start,
int end)
|
List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end)
|
List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getGroupUserEntriesCount(long groupId,
long userId,
int status)
|
List<BlogsEntry> |
getNoAssetEntries()
|
List<BlogsEntry> |
getOrganizationEntries(long organizationId,
int status,
int start,
int end)
|
int |
getOrganizationEntriesCount(long organizationId,
int status)
|
protected String |
getUniqueUrlTitle(long entryId,
long groupId,
String title)
|
protected void |
notifySubscribers(BlogsEntry entry,
ServiceContext serviceContext)
|
protected void |
pingGoogle(BlogsEntry entry,
ServiceContext serviceContext)
|
protected void |
pingPingback(BlogsEntry entry,
ServiceContext serviceContext)
|
protected void |
pingTrackbacks(BlogsEntry entry,
String[] trackbacks,
boolean pingOldTrackbacks,
ServiceContext serviceContext)
|
void |
updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
String[] assetTagNames)
|
BlogsEntry |
updateEntry(long userId,
long entryId,
String title,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
ServiceContext serviceContext)
|
void |
updateEntryResources(BlogsEntry entry,
String[] communityPermissions,
String[] guestPermissions)
|
BlogsEntry |
updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext)
|
protected void |
validate(String title,
String content)
|
Methods inherited from class com.liferay.portlet.blogs.service.base.BlogsEntryLocalServiceBaseImpl |
addBlogsEntry, createBlogsEntry, deleteBlogsEntry, deleteBlogsEntry, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBlogsEntries, getBlogsEntriesCount, getBlogsEntry, getBlogsEntryByUuidAndGroupId, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialEquityLogLocalService, getSocialEquityLogPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialEquityLogLocalService, setSocialEquityLogPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateBlogsEntry, updateBlogsEntry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogsEntryLocalServiceImpl
public BlogsEntryLocalServiceImpl()
addEntry
public BlogsEntry addEntry(long userId,
String title,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEntryResources
public void addEntryResources(BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEntryResources
public void addEntryResources(BlogsEntry entry,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEntryResources
public void addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEntryResources
public void addEntryResources(long entryId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntries
public void deleteEntries(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntry
public void deleteEntry(BlogsEntry entry)
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,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyEntries
public List<BlogsEntry> getCompanyEntries(long companyId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getCompanyEntriesCount
public int getCompanyEntriesCount(long companyId,
int status)
throws SystemException
- Throws:
SystemException
getEntriesPrevAndNext
public BlogsEntry[] getEntriesPrevAndNext(long entryId)
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,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupEntries
public List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getGroupEntriesCount
public int getGroupEntriesCount(long groupId,
int status)
throws SystemException
- Throws:
SystemException
getGroupsEntries
public List<BlogsEntry> getGroupsEntries(long companyId,
long groupId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupUserEntries
public List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupUserEntries
public List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getGroupUserEntriesCount
public int getGroupUserEntriesCount(long groupId,
long userId,
int status)
throws SystemException
- Throws:
SystemException
getNoAssetEntries
public List<BlogsEntry> getNoAssetEntries()
throws SystemException
- Throws:
SystemException
getOrganizationEntries
public List<BlogsEntry> getOrganizationEntries(long organizationId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getOrganizationEntriesCount
public int getOrganizationEntriesCount(long organizationId,
int status)
throws SystemException
- Throws:
SystemException
updateAsset
public void updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
String[] assetTagNames)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntry
public BlogsEntry updateEntry(long userId,
long entryId,
String title,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntryResources
public void updateEntryResources(BlogsEntry entry,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateStatus
public BlogsEntry updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUniqueUrlTitle
protected String getUniqueUrlTitle(long entryId,
long groupId,
String title)
throws SystemException
- Throws:
SystemException
notifySubscribers
protected void notifySubscribers(BlogsEntry entry,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
pingGoogle
protected void pingGoogle(BlogsEntry entry,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
pingPingback
protected void pingPingback(BlogsEntry entry,
ServiceContext serviceContext)
pingTrackbacks
protected void pingTrackbacks(BlogsEntry entry,
String[] trackbacks,
boolean pingOldTrackbacks,
ServiceContext serviceContext)
throws SystemException
- Throws:
SystemException
validate
protected void validate(String title,
String content)
throws PortalException
- Throws:
PortalException