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:
- com.liferay.portlet.blogs.service.BlogsEntryLocalService
public class BlogsEntryLocalServiceImpl
- extends BlogsEntryLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan, Wilson S. Man, Raymond Augé
Fields inherited from class com.liferay.portlet.blogs.service.base.BlogsEntryLocalServiceBaseImpl |
blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, companyLocalService, companyPersistence, companyService, counterLocalService, counterService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsEntryService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
com.liferay.portlet.blogs.model.BlogsEntry |
addEntry(long userId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portlet.blogs.model.BlogsEntry |
addEntry(java.lang.String uuid,
long userId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
addEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(long entryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteEntries(long groupId)
|
void |
deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
|
void |
deleteEntry(long entryId)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getCompanyEntries(long companyId,
boolean draft,
int start,
int end)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getCompanyEntries(long companyId,
boolean draft,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getCompanyEntries(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getCompanyEntriesCount(long companyId)
|
int |
getCompanyEntriesCount(long companyId,
boolean draft)
|
com.liferay.portlet.blogs.model.BlogsEntry[] |
getEntriesPrevAndNext(long entryId)
|
com.liferay.portlet.blogs.model.BlogsEntry |
getEntry(long entryId)
|
com.liferay.portlet.blogs.model.BlogsEntry |
getEntry(long groupId,
java.lang.String urlTitle)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupEntries(long groupId,
boolean draft,
int start,
int end)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupEntries(long groupId,
boolean draft,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupEntries(long groupId,
int start,
int end)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupEntries(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupEntriesCount(long groupId)
|
int |
getGroupEntriesCount(long groupId,
boolean draft)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
boolean draft,
int start,
int end)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
boolean draft,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int start,
int end)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupUserEntriesCount(long groupId,
long userId)
|
int |
getGroupUserEntriesCount(long groupId,
long userId,
boolean draft)
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getNoAssetEntries()
|
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getOrganizationEntries(long organizationId,
boolean draft,
int start,
int end)
|
int |
getOrganizationEntriesCount(long organizationId,
boolean draft)
|
protected java.lang.String |
getUniqueUrlTitle(long entryId,
long groupId,
java.lang.String title)
|
java.lang.String |
getUrlTitle(long entryId,
java.lang.String title)
|
protected void |
pingGoogle(com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portal.service.ServiceContext serviceContext)
|
protected boolean |
pingTrackback(java.lang.String trackback,
java.util.Map<java.lang.String,java.lang.String> parts)
|
protected void |
pingTrackbacks(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] trackbacks,
boolean pingOldTrackbacks,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
reIndex(com.liferay.portlet.blogs.model.BlogsEntry entry)
|
void |
reIndex(long entryId)
|
void |
reIndex(java.lang.String[] ids)
|
protected void |
reIndexEntries(long companyId)
|
protected void |
reIndexEntries(long companyId,
int start,
int end)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long groupId,
long userId,
long ownerUserId,
java.lang.String keywords,
int start,
int end)
|
com.liferay.portlet.blogs.model.BlogsEntry |
updateEntry(long userId,
long entryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
updateEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
updateTagsAsset(long userId,
com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] tagsEntries)
|
protected void |
validate(java.lang.String title,
java.lang.String content)
|
Methods inherited from class com.liferay.portlet.blogs.service.base.BlogsEntryLocalServiceBaseImpl |
addBlogsEntry, createBlogsEntry, deleteBlogsEntry, deleteBlogsEntry, dynamicQuery, dynamicQuery, getBlogsEntries, getBlogsEntriesCount, getBlogsEntry, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getCounterService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setCounterService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsEntryService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, 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 com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntry
public com.liferay.portlet.blogs.model.BlogsEntry addEntry(java.lang.String uuid,
long userId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntryResources
public void addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntryResources
public void addEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntryResources
public void addEntryResources(long entryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntryResources
public void addEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEntries
public void deleteEntries(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEntry
public void deleteEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEntry
public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanyEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(long companyId,
boolean draft,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(long companyId,
boolean draft,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyEntriesCount
public int getCompanyEntriesCount(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyEntriesCount
public int getCompanyEntriesCount(long companyId,
boolean draft)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntriesPrevAndNext
public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntry
public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntry
public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
java.lang.String urlTitle)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
boolean draft,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
boolean draft,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntriesCount
public int getGroupEntriesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntriesCount
public int getGroupEntriesCount(long groupId,
boolean draft)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupUserEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupUserEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupUserEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(long groupId,
long userId,
boolean draft,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupUserEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(long groupId,
long userId,
boolean draft,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupUserEntriesCount
public int getGroupUserEntriesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupUserEntriesCount
public int getGroupUserEntriesCount(long groupId,
long userId,
boolean draft)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNoAssetEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationEntries
public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(long organizationId,
boolean draft,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationEntriesCount
public int getOrganizationEntriesCount(long organizationId,
boolean draft)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUrlTitle
public java.lang.String getUrlTitle(long entryId,
java.lang.String title)
reIndex
public void reIndex(long entryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reIndex
public void reIndex(com.liferay.portlet.blogs.model.BlogsEntry entry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reIndex
public void reIndex(java.lang.String[] ids)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long groupId,
long userId,
long ownerUserId,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateEntry
public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
long entryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateEntryResources
public void updateEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateTagsAsset
public void updateTagsAsset(long userId,
com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] tagsEntries)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUniqueUrlTitle
protected java.lang.String getUniqueUrlTitle(long entryId,
long groupId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
pingGoogle
protected void pingGoogle(com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
pingTrackback
protected boolean pingTrackback(java.lang.String trackback,
java.util.Map<java.lang.String,java.lang.String> parts)
throws java.lang.Exception
- Throws:
java.lang.Exception
pingTrackbacks
protected void pingTrackbacks(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] trackbacks,
boolean pingOldTrackbacks,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reIndexEntries
protected void reIndexEntries(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reIndexEntries
protected void reIndexEntries(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
validate
protected void validate(java.lang.String title,
java.lang.String content)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException