@ProviderType public class BlogsEntryLocalServiceWrapper extends java.lang.Object implements BlogsEntryLocalService, ServiceWrapper<BlogsEntryLocalService>
BlogsEntryLocalService.BlogsEntryLocalService| Constructor and Description |
|---|
BlogsEntryLocalServiceWrapper(BlogsEntryLocalService blogsEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
BlogsEntry |
addBlogsEntry(BlogsEntry blogsEntry)
Adds the blogs entry to the database.
|
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,
ServiceContext serviceContext) |
void |
addEntryResources(BlogsEntry entry,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addEntryResources(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() |
BlogsEntry |
createBlogsEntry(long entryId)
Creates a new blogs entry with the primary key.
|
BlogsEntry |
deleteBlogsEntry(BlogsEntry blogsEntry)
Deletes the blogs entry from the database.
|
BlogsEntry |
deleteBlogsEntry(long entryId)
Deletes the blogs entry with the primary key from the database.
|
void |
deleteEntries(long groupId) |
void |
deleteEntry(BlogsEntry entry) |
void |
deleteEntry(long entryId) |
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
BlogsEntry |
fetchBlogsEntry(long entryId) |
BlogsEntry |
fetchBlogsEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the blogs entry with the matching UUID and company.
|
BlogsEntry |
fetchBlogsEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the blogs entry matching the UUID and group.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<BlogsEntry> |
getBlogsEntries(int start,
int end)
Returns a range of all the blogs entries.
|
int |
getBlogsEntriesCount()
Returns the number of blogs entries.
|
BlogsEntry |
getBlogsEntry(long entryId)
Returns the blogs entry with the primary key.
|
BlogsEntry |
getBlogsEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the blogs entry with the matching UUID and company.
|
BlogsEntry |
getBlogsEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the blogs entry matching the UUID and group.
|
java.util.List<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<BlogsEntry> |
getCompanyEntries(long companyId,
java.util.Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getCompanyEntries(long,
Date, QueryDefinition) |
java.util.List<BlogsEntry> |
getCompanyEntries(long companyId,
java.util.Date displayDate,
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,
QueryDefinition queryDefinition) |
BlogsEntry[] |
getEntriesPrevAndNext(long entryId) |
BlogsEntry |
getEntry(long entryId) |
BlogsEntry |
getEntry(long groupId,
java.lang.String urlTitle) |
java.util.List<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<BlogsEntry> |
getGroupEntries(long groupId,
java.util.Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getGroupEntries(long, Date,
QueryDefinition) |
java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
java.util.Date displayDate,
QueryDefinition queryDefinition) |
java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getGroupEntries(long,
QueryDefinition) |
java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getGroupEntries(long,
QueryDefinition) |
java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
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,
QueryDefinition queryDefinition) |
int |
getGroupEntriesCount(long groupId,
int status)
Deprecated.
As of 6.2.0, replaced by
getGroupEntriesCount(long,
QueryDefinition) |
int |
getGroupEntriesCount(long groupId,
QueryDefinition queryDefinition) |
java.util.List<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<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
java.util.Date displayDate,
QueryDefinition queryDefinition) |
java.util.List<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<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
java.util.Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getGroupUserEntries(long,
long, Date, QueryDefinition) |
java.util.List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
java.util.Date displayDate,
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,
QueryDefinition queryDefinition) |
java.util.List<BlogsEntry> |
getNoAssetEntries() |
java.util.List<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<BlogsEntry> |
getOrganizationEntries(long organizationId,
java.util.Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getOrganizationEntries(long,
Date, QueryDefinition) |
java.util.List<BlogsEntry> |
getOrganizationEntries(long organizationId,
java.util.Date displayDate,
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,
QueryDefinition queryDefinition) |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
BlogsEntryLocalService |
getWrappedBlogsEntryLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
BlogsEntryLocalService |
getWrappedService() |
void |
moveEntriesToTrash(long groupId,
long userId) |
BlogsEntry |
moveEntryToTrash(long userId,
BlogsEntry entry)
Moves the blogs entry to the recycle bin.
|
BlogsEntry |
moveEntryToTrash(long userId,
long entryId)
Moves the blogs entry with the ID to the recycle bin.
|
void |
restoreEntryFromTrash(long userId,
long entryId)
Restores the blogs entry with the ID from the recycle bin.
|
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedBlogsEntryLocalService(BlogsEntryLocalService blogsEntryLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.blogs.service.BlogsEntryLocalService) |
void |
setWrappedService(BlogsEntryLocalService blogsEntryLocalService) |
void |
subscribe(long userId,
long groupId) |
void |
unsubscribe(long userId,
long groupId) |
void |
updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry)
Updates the blogs entry in the database or adds it if it does not yet exist.
|
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,
ServiceContext serviceContext) |
void |
updateEntryResources(BlogsEntry entry,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
BlogsEntry |
updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext) |
public BlogsEntryLocalServiceWrapper(BlogsEntryLocalService blogsEntryLocalService)
public BlogsEntry addBlogsEntry(BlogsEntry blogsEntry) throws SystemException
addBlogsEntry in interface BlogsEntryLocalServiceblogsEntry - the blogs entrySystemException - if a system exception occurredpublic BlogsEntry createBlogsEntry(long entryId)
createBlogsEntry in interface BlogsEntryLocalServiceentryId - the primary key for the new blogs entrypublic BlogsEntry deleteBlogsEntry(long entryId) throws PortalException, SystemException
deleteBlogsEntry in interface BlogsEntryLocalServiceentryId - the primary key of the blogs entryPortalException - if a blogs entry with the primary key could not be foundSystemException - if a system exception occurredpublic BlogsEntry deleteBlogsEntry(BlogsEntry blogsEntry) throws SystemException
deleteBlogsEntry in interface BlogsEntryLocalServiceblogsEntry - the blogs entrySystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface BlogsEntryLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface BlogsEntryLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from BlogsEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface BlogsEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from BlogsEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface BlogsEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface BlogsEntryLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface BlogsEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic BlogsEntry fetchBlogsEntry(long entryId) throws SystemException
fetchBlogsEntry in interface BlogsEntryLocalServiceSystemExceptionpublic BlogsEntry fetchBlogsEntryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchBlogsEntryByUuidAndCompanyId in interface BlogsEntryLocalServiceuuid - the blogs entry's UUIDcompanyId - the primary key of the companynull if a matching blogs entry could not be foundSystemException - if a system exception occurredpublic BlogsEntry fetchBlogsEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
fetchBlogsEntryByUuidAndGroupId in interface BlogsEntryLocalServiceuuid - the blogs entry's UUIDgroupId - the primary key of the groupnull if a matching blogs entry could not be foundSystemException - if a system exception occurredpublic BlogsEntry getBlogsEntry(long entryId) throws PortalException, SystemException
getBlogsEntry in interface BlogsEntryLocalServiceentryId - the primary key of the blogs entryPortalException - if a blogs entry with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic BlogsEntry getBlogsEntryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getBlogsEntryByUuidAndCompanyId in interface BlogsEntryLocalServiceuuid - the blogs entry's UUIDcompanyId - the primary key of the companyPortalException - if a matching blogs entry could not be foundSystemException - if a system exception occurredpublic BlogsEntry getBlogsEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getBlogsEntryByUuidAndGroupId in interface BlogsEntryLocalServiceuuid - the blogs entry's UUIDgroupId - the primary key of the groupPortalException - if a matching blogs entry could not be foundSystemException - if a system exception occurredpublic java.util.List<BlogsEntry> getBlogsEntries(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from BlogsEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getBlogsEntries in interface BlogsEntryLocalServicestart - the lower bound of the range of blogs entriesend - the upper bound of the range of blogs entries (not inclusive)SystemException - if a system exception occurredpublic int getBlogsEntriesCount()
throws SystemException
getBlogsEntriesCount in interface BlogsEntryLocalServiceSystemException - if a system exception occurredpublic BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry) throws SystemException
updateBlogsEntry in interface BlogsEntryLocalServiceblogsEntry - the blogs entrySystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface BlogsEntryLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface BlogsEntryLocalServicebeanIdentifier - the Spring bean ID for this beanpublic 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, ServiceContext serviceContext) throws PortalException, SystemException
addEntry in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void addEntryResources(BlogsEntry entry, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addEntryResources in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void addEntryResources(BlogsEntry entry, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws PortalException, SystemException
addEntryResources in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void addEntryResources(long entryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addEntryResources in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void addEntryResources(long entryId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
addEntryResources in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void checkEntries()
throws PortalException,
SystemException
checkEntries in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void deleteEntries(long groupId)
throws PortalException,
SystemException
deleteEntries in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void deleteEntry(BlogsEntry entry) throws PortalException, SystemException
deleteEntry in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void deleteEntry(long entryId)
throws PortalException,
SystemException
deleteEntry in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic java.util.List<BlogsEntry> getCompanyEntries(long companyId, java.util.Date displayDate, int status, int start, int end) throws SystemException
getCompanyEntries(long,
Date, QueryDefinition)getCompanyEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getCompanyEntries(long companyId, java.util.Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getCompanyEntries(long,
Date, QueryDefinition)getCompanyEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getCompanyEntries(long companyId, java.util.Date displayDate, QueryDefinition queryDefinition) throws SystemException
getCompanyEntries in interface BlogsEntryLocalServiceSystemExceptionpublic int getCompanyEntriesCount(long companyId,
java.util.Date displayDate,
int status)
throws SystemException
getCompanyEntriesCount(long,
Date, QueryDefinition)getCompanyEntriesCount in interface BlogsEntryLocalServiceSystemExceptionpublic int getCompanyEntriesCount(long companyId,
java.util.Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
getCompanyEntriesCount in interface BlogsEntryLocalServiceSystemExceptionpublic BlogsEntry[] getEntriesPrevAndNext(long entryId) throws PortalException, SystemException
getEntriesPrevAndNext in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic BlogsEntry getEntry(long entryId) throws PortalException, SystemException
getEntry in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic BlogsEntry getEntry(long groupId, java.lang.String urlTitle) throws PortalException, SystemException
getEntry in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic java.util.List<BlogsEntry> getGroupEntries(long groupId, java.util.Date displayDate, int status, int start, int end) throws SystemException
getGroupEntries(long, Date,
QueryDefinition)getGroupEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getGroupEntries(long groupId, java.util.Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupEntries(long, Date,
QueryDefinition)getGroupEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getGroupEntries(long groupId, java.util.Date displayDate, QueryDefinition queryDefinition) throws SystemException
getGroupEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end) throws SystemException
getGroupEntries(long,
QueryDefinition)getGroupEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupEntries(long,
QueryDefinition)getGroupEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getGroupEntries(long groupId, QueryDefinition queryDefinition) throws SystemException
getGroupEntries in interface BlogsEntryLocalServiceSystemExceptionpublic int getGroupEntriesCount(long groupId,
java.util.Date displayDate,
int status)
throws SystemException
getGroupEntriesCount(long,
Date, QueryDefinition)getGroupEntriesCount in interface BlogsEntryLocalServiceSystemExceptionpublic int getGroupEntriesCount(long groupId,
java.util.Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
getGroupEntriesCount in interface BlogsEntryLocalServiceSystemExceptionpublic int getGroupEntriesCount(long groupId,
int status)
throws SystemException
getGroupEntriesCount(long,
QueryDefinition)getGroupEntriesCount in interface BlogsEntryLocalServiceSystemExceptionpublic int getGroupEntriesCount(long groupId,
QueryDefinition queryDefinition)
throws SystemException
getGroupEntriesCount in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getGroupsEntries(long companyId, long groupId, java.util.Date displayDate, int status, int start, int end) throws SystemException
getGroupsEntries(long, long,
Date, QueryDefinition)getGroupsEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getGroupsEntries(long companyId, long groupId, java.util.Date displayDate, QueryDefinition queryDefinition) throws SystemException
getGroupsEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getGroupUserEntries(long groupId, long userId, java.util.Date displayDate, int status, int start, int end) throws SystemException
getGroupUserEntries(long,
long, Date, QueryDefinition)getGroupUserEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getGroupUserEntries(long groupId, long userId, java.util.Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupUserEntries(long,
long, Date, QueryDefinition)getGroupUserEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getGroupUserEntries(long groupId, long userId, java.util.Date displayDate, QueryDefinition queryDefinition) throws SystemException
getGroupUserEntries in interface BlogsEntryLocalServiceSystemExceptionpublic int getGroupUserEntriesCount(long groupId,
long userId,
java.util.Date displayDate,
int status)
throws SystemException
getGroupUserEntriesCount(long, long, Date, QueryDefinition)getGroupUserEntriesCount in interface BlogsEntryLocalServiceSystemExceptionpublic int getGroupUserEntriesCount(long groupId,
long userId,
java.util.Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
getGroupUserEntriesCount in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getNoAssetEntries() throws SystemException
getNoAssetEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getOrganizationEntries(long organizationId, java.util.Date displayDate, int status, int start, int end) throws SystemException
getOrganizationEntries(long,
Date, QueryDefinition)getOrganizationEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getOrganizationEntries(long organizationId, java.util.Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getOrganizationEntries(long,
Date, QueryDefinition)getOrganizationEntries in interface BlogsEntryLocalServiceSystemExceptionpublic java.util.List<BlogsEntry> getOrganizationEntries(long organizationId, java.util.Date displayDate, QueryDefinition queryDefinition) throws SystemException
getOrganizationEntries in interface BlogsEntryLocalServiceSystemExceptionpublic int getOrganizationEntriesCount(long organizationId,
java.util.Date displayDate,
int status)
throws SystemException
getOrganizationEntriesCount(long, Date, QueryDefinition)getOrganizationEntriesCount in interface BlogsEntryLocalServiceSystemExceptionpublic int getOrganizationEntriesCount(long organizationId,
java.util.Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
getOrganizationEntriesCount in interface BlogsEntryLocalServiceSystemExceptionpublic void moveEntriesToTrash(long groupId,
long userId)
throws PortalException,
SystemException
moveEntriesToTrash in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic BlogsEntry moveEntryToTrash(long userId, BlogsEntry entry) throws PortalException, SystemException
moveEntryToTrash in interface BlogsEntryLocalServiceuserId - the primary key of the user moving the blogs entryentry - the blogs entry to be movedPortalException - if a user with the primary key could not be found
or if the blogs entry owner's social activity counter could not
be updatedSystemException - if a system exception occurredpublic BlogsEntry moveEntryToTrash(long userId, long entryId) throws PortalException, SystemException
moveEntryToTrash in interface BlogsEntryLocalServiceuserId - the primary key of the user moving the blogs entryentryId - the primary key of the blogs entry to be movedPortalException - 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 updatedSystemException - if a system exception occurredpublic void restoreEntryFromTrash(long userId,
long entryId)
throws PortalException,
SystemException
restoreEntryFromTrash in interface BlogsEntryLocalServiceuserId - the primary key of the user restoring the blogs entryentryId - the primary key of the blogs entry to be restoredPortalException - 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 updatedSystemException - if a system exception occurredpublic void subscribe(long userId,
long groupId)
throws PortalException,
SystemException
subscribe in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void unsubscribe(long userId,
long groupId)
throws PortalException,
SystemException
unsubscribe in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
updateAsset in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic 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, ServiceContext serviceContext) throws PortalException, SystemException
updateEntry in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic void updateEntryResources(BlogsEntry entry, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws PortalException, SystemException
updateEntryResources in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic BlogsEntry updateStatus(long userId, long entryId, int status, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus in interface BlogsEntryLocalServicePortalExceptionSystemExceptionpublic BlogsEntryLocalService getWrappedBlogsEntryLocalService()
getWrappedService()public void setWrappedBlogsEntryLocalService(BlogsEntryLocalService blogsEntryLocalService)
setWrappedService(com.liferay.portlet.blogs.service.BlogsEntryLocalService)public BlogsEntryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<BlogsEntryLocalService>public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService)
setWrappedService in interface ServiceWrapper<BlogsEntryLocalService>