public class BlogsEntryLocalServiceImpl extends BlogsEntryLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, companyLocalService, companyPersistence, companyService, counterLocalService, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, persistedModelLocalServiceRegistry, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialActivityService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence| Constructor and Description |
|---|
BlogsEntryLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.blogs.model.BlogsEntry |
addEntry(long userId,
java.lang.String title,
java.lang.String description,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
boolean smallImage,
java.lang.String smallImageURL,
java.lang.String smallImageFileName,
java.io.InputStream smallImageInputStream,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
addEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addEntryResources(long entryId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addEntryResources(long entryId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
checkEntries() |
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,
java.util.Date displayDate,
int status,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getCompanyEntries(long,
Date, QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getCompanyEntries(long companyId,
java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getCompanyEntries(long,
Date, QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getCompanyEntries(long companyId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
int |
getCompanyEntriesCount(long companyId,
java.util.Date displayDate,
int status)
Deprecated.
As of 6.2.0, replaced by
getCompanyEntriesCount(long,
Date, QueryDefinition) |
int |
getCompanyEntriesCount(long companyId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
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,
java.util.Date displayDate,
int status,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getGroupEntries(long, Date,
QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupEntries(long groupId,
java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getGroupEntries(long, Date,
QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupEntries(long groupId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getGroupEntries(long,
QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getGroupEntries(long,
QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupEntries(long groupId,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
int |
getGroupEntriesCount(long groupId,
java.util.Date displayDate,
int status)
Deprecated.
As of 6.2.0, replaced by
getGroupEntriesCount(long,
Date, QueryDefinition) |
int |
getGroupEntriesCount(long groupId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
int |
getGroupEntriesCount(long groupId,
int status)
Deprecated.
As of 6.2.0, replaced by
getGroupEntriesCount(long,
QueryDefinition) |
int |
getGroupEntriesCount(long groupId,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
java.util.Date displayDate,
int status,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getGroupsEntries(long, long,
Date, QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
java.util.Date displayDate,
int status,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getGroupUserEntries(long,
long, Date, QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getGroupUserEntries(long,
long, Date, QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
int |
getGroupUserEntriesCount(long groupId,
long userId,
java.util.Date displayDate,
int status)
Deprecated.
As of 6.2.0, replaced by
getGroupUserEntriesCount(long, long, Date, QueryDefinition) |
int |
getGroupUserEntriesCount(long groupId,
long userId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getNoAssetEntries() |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getOrganizationEntries(long organizationId,
java.util.Date displayDate,
int status,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getOrganizationEntries(long,
Date, QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getOrganizationEntries(long organizationId,
java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getOrganizationEntries(long,
Date, QueryDefinition) |
java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> |
getOrganizationEntries(long organizationId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
int |
getOrganizationEntriesCount(long organizationId,
java.util.Date displayDate,
int status)
Deprecated.
As of 6.2.0, replaced by
getOrganizationEntriesCount(long, Date, QueryDefinition) |
int |
getOrganizationEntriesCount(long organizationId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) |
protected java.lang.String |
getUniqueUrlTitle(long entryId,
long groupId,
java.lang.String title) |
protected java.lang.String |
getUniqueUrlTitle(long entryId,
java.lang.String title,
java.lang.String oldUrlTitle,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
moveEntriesToTrash(long groupId,
long userId) |
com.liferay.portlet.blogs.model.BlogsEntry |
moveEntryToTrash(long userId,
com.liferay.portlet.blogs.model.BlogsEntry entry)
Moves the blogs entry to the recycle bin.
|
com.liferay.portlet.blogs.model.BlogsEntry |
moveEntryToTrash(long userId,
long entryId)
Moves the blogs entry with the ID to the recycle bin.
|
protected void |
notifySubscribers(com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portal.service.ServiceContext serviceContext) |
protected void |
pingGoogle(com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portal.service.ServiceContext serviceContext) |
protected void |
pingPingback(com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portal.service.ServiceContext serviceContext) |
protected void |
pingTrackbacks(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] trackbacks,
boolean pingOldTrackbacks,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
restoreEntryFromTrash(long userId,
long entryId)
Restores the blogs entry with the ID from the recycle bin.
|
protected void |
saveImages(boolean smallImage,
long smallImageId,
byte[] smallImageBytes) |
void |
subscribe(long userId,
long groupId) |
void |
unsubscribe(long userId,
long groupId) |
void |
updateAsset(long userId,
com.liferay.portlet.blogs.model.BlogsEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
com.liferay.portlet.blogs.model.BlogsEntry |
updateEntry(long userId,
long entryId,
java.lang.String title,
java.lang.String description,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
boolean smallImage,
java.lang.String smallImageURL,
java.lang.String smallImageFileName,
java.io.InputStream smallImageInputStream,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
updateEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
com.liferay.portlet.blogs.model.BlogsEntry |
updateStatus(long userId,
long entryId,
int status,
com.liferay.portal.service.ServiceContext serviceContext) |
protected void |
validate(java.lang.String title,
java.lang.String content,
boolean smallImage,
java.lang.String smallImageURL,
java.lang.String smallImageFileName,
byte[] smallImageBytes) |
addBlogsEntry, afterPropertiesSet, createBlogsEntry, deleteBlogsEntry, deleteBlogsEntry, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchBlogsEntry, fetchBlogsEntryByUuidAndCompanyId, fetchBlogsEntryByUuidAndGroupId, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getBlogsEntries, getBlogsEntriesCount, getBlogsEntry, getBlogsEntryByUuidAndCompanyId, getBlogsEntryByUuidAndGroupId, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getExpandoRowLocalService, getExpandoRowPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getModelClass, getModelClassName, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getPersistedModel, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, 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, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateBlogsEntry@Indexable(type=REINDEX)
public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
java.lang.String title,
java.lang.String description,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
boolean smallImage,
java.lang.String smallImageURL,
java.lang.String smallImageFileName,
java.io.InputStream smallImageInputStream,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addEntryResources(long entryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addEntryResources(long entryId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void checkEntries()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteEntries(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(long companyId,
java.util.Date displayDate,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
getCompanyEntries(long,
Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(long companyId,
java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
getCompanyEntries(long,
Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(long companyId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getCompanyEntriesCount(long companyId,
java.util.Date displayDate,
int status)
throws com.liferay.portal.kernel.exception.SystemException
getCompanyEntriesCount(long,
Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic int getCompanyEntriesCount(long companyId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
java.lang.String urlTitle)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
java.util.Date displayDate,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
getGroupEntries(long, Date,
QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
getGroupEntries(long, Date,
QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
getGroupEntries(long,
QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
getGroupEntries(long,
QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getGroupEntriesCount(long groupId,
java.util.Date displayDate,
int status)
throws com.liferay.portal.kernel.exception.SystemException
getGroupEntriesCount(long,
Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic int getGroupEntriesCount(long groupId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getGroupEntriesCount(long groupId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
getGroupEntriesCount(long,
QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic int getGroupEntriesCount(long groupId,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(long companyId,
long groupId,
java.util.Date displayDate,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
getGroupsEntries(long, long,
Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(long companyId,
long groupId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(long groupId,
long userId,
java.util.Date displayDate,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
getGroupUserEntries(long,
long, Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(long groupId,
long userId,
java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
getGroupUserEntries(long,
long, Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(long groupId,
long userId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getGroupUserEntriesCount(long groupId,
long userId,
java.util.Date displayDate,
int status)
throws com.liferay.portal.kernel.exception.SystemException
getGroupUserEntriesCount(long, long, Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic int getGroupUserEntriesCount(long groupId,
long userId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(long organizationId,
java.util.Date displayDate,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
getOrganizationEntries(long,
Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(long organizationId,
java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
getOrganizationEntries(long,
Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(long organizationId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getOrganizationEntriesCount(long organizationId,
java.util.Date displayDate,
int status)
throws com.liferay.portal.kernel.exception.SystemException
getOrganizationEntriesCount(long, Date, QueryDefinition)com.liferay.portal.kernel.exception.SystemExceptionpublic int getOrganizationEntriesCount(long organizationId,
java.util.Date displayDate,
com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void moveEntriesToTrash(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=REINDEX)
public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(long userId,
com.liferay.portlet.blogs.model.BlogsEntry entry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
userId - the primary key of the user moving the blogs entryentry - the blogs entry to be movedcom.liferay.portal.kernel.exception.PortalException - if a user with the primary key could not be found
or if the blogs entry owner's social activity counter could not
be updatedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(long userId,
long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
userId - the primary key of the user moving the blogs entryentryId - the primary key of the blogs entry to be movedcom.liferay.portal.kernel.exception.PortalException - if a user or blogs entry with the primary key
could not be found or if the blogs entry owner's social activity
counter could not be updatedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void restoreEntryFromTrash(long userId,
long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
userId - the primary key of the user restoring the blogs entryentryId - the primary key of the blogs entry to be restoredcom.liferay.portal.kernel.exception.PortalException - if a user or blogs entry with the primary key
could not be found or if the blogs entry owner's social activity
counter could not be updatedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void subscribe(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void unsubscribe(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void updateAsset(long userId,
com.liferay.portlet.blogs.model.BlogsEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=REINDEX)
public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
long entryId,
java.lang.String title,
java.lang.String description,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
boolean smallImage,
java.lang.String smallImageURL,
java.lang.String smallImageFileName,
java.io.InputStream smallImageInputStream,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void updateEntryResources(com.liferay.portlet.blogs.model.BlogsEntry entry,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=REINDEX)
public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(long userId,
long entryId,
int status,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected java.lang.String getUniqueUrlTitle(long entryId,
long groupId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected java.lang.String getUniqueUrlTitle(long entryId,
java.lang.String title,
java.lang.String oldUrlTitle,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected void notifySubscribers(com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected void pingGoogle(com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void pingPingback(com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected 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.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void saveImages(boolean smallImage,
long smallImageId,
byte[] smallImageBytes)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void validate(java.lang.String title,
java.lang.String content,
boolean smallImage,
java.lang.String smallImageURL,
java.lang.String smallImageFileName,
byte[] smallImageBytes)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException