@ProviderType public class BlogsEntryLocalServiceWrapper extends Object implements BlogsEntryLocalService, ServiceWrapper<BlogsEntryLocalService>
BlogsEntryLocalService
.BlogsEntryLocalService
Constructor and Description |
---|
BlogsEntryLocalServiceWrapper(BlogsEntryLocalService blogsEntryLocalService) |
Modifier and Type | Method and Description |
---|---|
Folder |
addAttachmentsFolder(long userId,
long groupId) |
BlogsEntry |
addBlogsEntry(BlogsEntry blogsEntry)
Adds the blogs entry to the database.
|
void |
addCoverImage(long entryId,
ImageSelector imageSelector) |
BlogsEntry |
addEntry(long userId,
String title,
String content,
Date displayDate,
ServiceContext serviceContext) |
BlogsEntry |
addEntry(long userId,
String title,
String content,
ServiceContext serviceContext) |
BlogsEntry |
addEntry(long userId,
String title,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
boolean smallImage,
String smallImageURL,
String smallImageFileName,
InputStream smallImageInputStream,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
addEntry(long,
String, String, String, String, int, int, int, int, int,
boolean, boolean, String[], String, ImageSelector,
ImageSelector, ServiceContext) |
BlogsEntry |
addEntry(long userId,
String title,
String subtitle,
String description,
String content,
Date displayDate,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
String coverImageCaption,
ImageSelector coverImageImageSelector,
ImageSelector smallImageImageSelector,
ServiceContext serviceContext) |
BlogsEntry |
addEntry(long userId,
String title,
String subtitle,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
String coverImageCaption,
ImageSelector coverImageImageSelector,
ImageSelector smallImageImageSelector,
ServiceContext serviceContext) |
void |
addEntryResources(BlogsEntry entry,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addEntryResources(BlogsEntry entry,
ModelPermissions modelPermissions) |
void |
addEntryResources(long entryId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addEntryResources(long entryId,
ModelPermissions modelPermissions) |
long |
addOriginalImageFileEntry(long userId,
long groupId,
long entryId,
ImageSelector imageSelector) |
void |
addSmallImage(long entryId,
ImageSelector imageSelector) |
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) |
BlogsEntry |
deleteEntry(BlogsEntry entry) |
void |
deleteEntry(long entryId) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> 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 matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
Folder |
fetchAttachmentsFolder(long userId,
long groupId) |
BlogsEntry |
fetchBlogsEntry(long entryId) |
BlogsEntry |
fetchBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
Returns the blogs entry matching the UUID and group.
|
ActionableDynamicQuery |
getActionableDynamicQuery() |
List<BlogsEntry> |
getBlogsEntries(int start,
int end)
Returns a range of all the blogs entries.
|
List<BlogsEntry> |
getBlogsEntriesByUuidAndCompanyId(String uuid,
long companyId)
Returns all the blogs entries matching the UUID and company.
|
List<BlogsEntry> |
getBlogsEntriesByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<BlogsEntry> orderByComparator)
Returns a range of blogs entries matching the UUID and company.
|
int |
getBlogsEntriesCount()
Returns the number of blogs entries.
|
BlogsEntry |
getBlogsEntry(long entryId)
Returns the blogs entry with the primary key.
|
BlogsEntry |
getBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
Returns the blogs entry matching the UUID and group.
|
List<BlogsEntry> |
getCompanyEntries(long companyId,
Date displayDate,
QueryDefinition<BlogsEntry> queryDefinition) |
int |
getCompanyEntriesCount(long companyId,
Date displayDate,
QueryDefinition<BlogsEntry> queryDefinition) |
BlogsEntry[] |
getEntriesPrevAndNext(long entryId) |
BlogsEntry |
getEntry(long entryId) |
BlogsEntry |
getEntry(long groupId,
String urlTitle) |
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext) |
List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
QueryDefinition<BlogsEntry> queryDefinition) |
List<BlogsEntry> |
getGroupEntries(long groupId,
QueryDefinition<BlogsEntry> queryDefinition) |
int |
getGroupEntriesCount(long groupId,
Date displayDate,
QueryDefinition<BlogsEntry> queryDefinition) |
int |
getGroupEntriesCount(long groupId,
QueryDefinition<BlogsEntry> queryDefinition) |
List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
Date displayDate,
QueryDefinition<BlogsEntry> queryDefinition) |
List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
Date displayDate,
QueryDefinition<BlogsEntry> queryDefinition) |
int |
getGroupUserEntriesCount(long groupId,
long userId,
Date displayDate,
QueryDefinition<BlogsEntry> queryDefinition) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
List<BlogsEntry> |
getNoAssetEntries() |
List<BlogsEntry> |
getOrganizationEntries(long organizationId,
Date displayDate,
QueryDefinition<BlogsEntry> queryDefinition) |
int |
getOrganizationEntriesCount(long organizationId,
Date displayDate,
QueryDefinition<BlogsEntry> queryDefinition) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
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.
|
BlogsEntry |
restoreEntryFromTrash(long userId,
long entryId)
Restores the blogs entry with the ID from the recycle bin.
|
void |
setWrappedService(BlogsEntryLocalService blogsEntryLocalService) |
void |
subscribe(long userId,
long groupId) |
void |
unsubscribe(long userId,
long groupId) |
void |
updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds,
Double priority) |
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,
String title,
String content,
ServiceContext serviceContext) |
BlogsEntry |
updateEntry(long userId,
long entryId,
String title,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
boolean smallImage,
String smallImageURL,
String smallImageFileName,
InputStream smallImageInputStream,
ServiceContext serviceContext)
Deprecated.
|
BlogsEntry |
updateEntry(long userId,
long entryId,
String title,
String subtitle,
String description,
String content,
Date displayDate,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
String coverImageCaption,
ImageSelector coverImageImageSelector,
ImageSelector smallImageImageSelector,
ServiceContext serviceContext) |
BlogsEntry |
updateEntry(long userId,
long entryId,
String title,
String subtitle,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
String coverImageCaption,
ImageSelector coverImageImageSelector,
ImageSelector smallImageImageSelector,
ServiceContext serviceContext) |
void |
updateEntryResources(BlogsEntry entry,
ModelPermissions modelPermissions) |
void |
updateEntryResources(BlogsEntry entry,
String[] groupPermissions,
String[] guestPermissions) |
BlogsEntry |
updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateStatus(long, long, int, ServiceContext, Map) |
BlogsEntry |
updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext) |
public BlogsEntryLocalServiceWrapper(BlogsEntryLocalService blogsEntryLocalService)
public Folder addAttachmentsFolder(long userId, long groupId) throws PortalException
addAttachmentsFolder
in interface BlogsEntryLocalService
PortalException
public BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
addBlogsEntry
in interface BlogsEntryLocalService
blogsEntry
- the blogs entrypublic void addCoverImage(long entryId, ImageSelector imageSelector) throws PortalException
addCoverImage
in interface BlogsEntryLocalService
PortalException
public BlogsEntry addEntry(long userId, String title, String content, Date displayDate, ServiceContext serviceContext) throws PortalException
addEntry
in interface BlogsEntryLocalService
PortalException
public BlogsEntry addEntry(long userId, String title, String content, ServiceContext serviceContext) throws PortalException
addEntry
in interface BlogsEntryLocalService
PortalException
@Deprecated public BlogsEntry addEntry(long userId, String title, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, boolean smallImage, String smallImageURL, String smallImageFileName, InputStream smallImageInputStream, ServiceContext serviceContext) throws PortalException
addEntry(long,
String, String, String, String, int, int, int, int, int,
boolean, boolean, String[], String, ImageSelector,
ImageSelector, ServiceContext)
addEntry
in interface BlogsEntryLocalService
PortalException
public BlogsEntry addEntry(long userId, String title, String subtitle, String description, String content, Date displayDate, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, ImageSelector coverImageImageSelector, ImageSelector smallImageImageSelector, ServiceContext serviceContext) throws PortalException
addEntry
in interface BlogsEntryLocalService
PortalException
public BlogsEntry addEntry(long userId, String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, ImageSelector coverImageImageSelector, ImageSelector smallImageImageSelector, ServiceContext serviceContext) throws PortalException
addEntry
in interface BlogsEntryLocalService
PortalException
public void addEntryResources(BlogsEntry entry, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException
addEntryResources
in interface BlogsEntryLocalService
PortalException
public void addEntryResources(BlogsEntry entry, ModelPermissions modelPermissions) throws PortalException
addEntryResources
in interface BlogsEntryLocalService
PortalException
public void addEntryResources(long entryId, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException
addEntryResources
in interface BlogsEntryLocalService
PortalException
public void addEntryResources(long entryId, ModelPermissions modelPermissions) throws PortalException
addEntryResources
in interface BlogsEntryLocalService
PortalException
public long addOriginalImageFileEntry(long userId, long groupId, long entryId, ImageSelector imageSelector) throws PortalException
addOriginalImageFileEntry
in interface BlogsEntryLocalService
PortalException
public void addSmallImage(long entryId, ImageSelector imageSelector) throws PortalException
addSmallImage
in interface BlogsEntryLocalService
PortalException
public void checkEntries() throws PortalException
checkEntries
in interface BlogsEntryLocalService
PortalException
public BlogsEntry createBlogsEntry(long entryId)
createBlogsEntry
in interface BlogsEntryLocalService
entryId
- the primary key for the new blogs entrypublic BlogsEntry deleteBlogsEntry(BlogsEntry blogsEntry)
deleteBlogsEntry
in interface BlogsEntryLocalService
blogsEntry
- the blogs entrypublic BlogsEntry deleteBlogsEntry(long entryId) throws PortalException
deleteBlogsEntry
in interface BlogsEntryLocalService
entryId
- the primary key of the blogs entryPortalException
- if a blogs entry with the primary key could not be foundpublic void deleteEntries(long groupId) throws PortalException
deleteEntries
in interface BlogsEntryLocalService
PortalException
public BlogsEntry deleteEntry(BlogsEntry entry) throws PortalException
deleteEntry
in interface BlogsEntryLocalService
PortalException
public void deleteEntry(long entryId) throws PortalException
deleteEntry
in interface BlogsEntryLocalService
PortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface BlogsEntryLocalService
deletePersistedModel
in interface PersistedModelLocalService
PortalException
public DynamicQuery dynamicQuery()
dynamicQuery
in interface BlogsEntryLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface BlogsEntryLocalService
dynamicQuery
- the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
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 BlogsEntryLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
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 BlogsEntryLocalService
dynamicQuery
- 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
)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount
in interface BlogsEntryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface BlogsEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic Folder fetchAttachmentsFolder(long userId, long groupId)
fetchAttachmentsFolder
in interface BlogsEntryLocalService
public BlogsEntry fetchBlogsEntry(long entryId)
fetchBlogsEntry
in interface BlogsEntryLocalService
public BlogsEntry fetchBlogsEntryByUuidAndGroupId(String uuid, long groupId)
fetchBlogsEntryByUuidAndGroupId
in interface BlogsEntryLocalService
uuid
- the blogs entry's UUIDgroupId
- the primary key of the groupnull
if a matching blogs entry could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface BlogsEntryLocalService
public List<BlogsEntry> getBlogsEntries(int start, int end)
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 BlogsEntryLocalService
start
- the lower bound of the range of blogs entriesend
- the upper bound of the range of blogs entries (not inclusive)public List<BlogsEntry> getBlogsEntriesByUuidAndCompanyId(String uuid, long companyId)
getBlogsEntriesByUuidAndCompanyId
in interface BlogsEntryLocalService
uuid
- the UUID of the blogs entriescompanyId
- the primary key of the companypublic List<BlogsEntry> getBlogsEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<BlogsEntry> orderByComparator)
getBlogsEntriesByUuidAndCompanyId
in interface BlogsEntryLocalService
uuid
- the UUID of the blogs entriescompanyId
- the primary key of the companystart
- the lower bound of the range of blogs entriesend
- the upper bound of the range of blogs entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getBlogsEntriesCount()
getBlogsEntriesCount
in interface BlogsEntryLocalService
public BlogsEntry getBlogsEntry(long entryId) throws PortalException
getBlogsEntry
in interface BlogsEntryLocalService
entryId
- the primary key of the blogs entryPortalException
- if a blogs entry with the primary key could not be foundpublic BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException
getBlogsEntryByUuidAndGroupId
in interface BlogsEntryLocalService
uuid
- the blogs entry's UUIDgroupId
- the primary key of the groupPortalException
- if a matching blogs entry could not be foundpublic List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, QueryDefinition<BlogsEntry> queryDefinition)
getCompanyEntries
in interface BlogsEntryLocalService
public int getCompanyEntriesCount(long companyId, Date displayDate, QueryDefinition<BlogsEntry> queryDefinition)
getCompanyEntriesCount
in interface BlogsEntryLocalService
public BlogsEntry[] getEntriesPrevAndNext(long entryId) throws PortalException
getEntriesPrevAndNext
in interface BlogsEntryLocalService
PortalException
public BlogsEntry getEntry(long entryId) throws PortalException
getEntry
in interface BlogsEntryLocalService
PortalException
public BlogsEntry getEntry(long groupId, String urlTitle) throws PortalException
getEntry
in interface BlogsEntryLocalService
PortalException
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface BlogsEntryLocalService
public List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, QueryDefinition<BlogsEntry> queryDefinition)
getGroupEntries
in interface BlogsEntryLocalService
public List<BlogsEntry> getGroupEntries(long groupId, QueryDefinition<BlogsEntry> queryDefinition)
getGroupEntries
in interface BlogsEntryLocalService
public int getGroupEntriesCount(long groupId, Date displayDate, QueryDefinition<BlogsEntry> queryDefinition)
getGroupEntriesCount
in interface BlogsEntryLocalService
public int getGroupEntriesCount(long groupId, QueryDefinition<BlogsEntry> queryDefinition)
getGroupEntriesCount
in interface BlogsEntryLocalService
public List<BlogsEntry> getGroupsEntries(long companyId, long groupId, Date displayDate, QueryDefinition<BlogsEntry> queryDefinition)
getGroupsEntries
in interface BlogsEntryLocalService
public List<BlogsEntry> getGroupUserEntries(long groupId, long userId, Date displayDate, QueryDefinition<BlogsEntry> queryDefinition)
getGroupUserEntries
in interface BlogsEntryLocalService
public int getGroupUserEntriesCount(long groupId, long userId, Date displayDate, QueryDefinition<BlogsEntry> queryDefinition)
getGroupUserEntriesCount
in interface BlogsEntryLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface BlogsEntryLocalService
public List<BlogsEntry> getNoAssetEntries()
getNoAssetEntries
in interface BlogsEntryLocalService
public List<BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, QueryDefinition<BlogsEntry> queryDefinition)
getOrganizationEntries
in interface BlogsEntryLocalService
public int getOrganizationEntriesCount(long organizationId, Date displayDate, QueryDefinition<BlogsEntry> queryDefinition)
getOrganizationEntriesCount
in interface BlogsEntryLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface BlogsEntryLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface BlogsEntryLocalService
getPersistedModel
in interface PersistedModelLocalService
PortalException
public void moveEntriesToTrash(long groupId, long userId) throws PortalException
moveEntriesToTrash
in interface BlogsEntryLocalService
PortalException
public BlogsEntry moveEntryToTrash(long userId, BlogsEntry entry) throws PortalException
moveEntryToTrash
in interface BlogsEntryLocalService
userId
- the primary key of the user moving the blogs entryentry
- the blogs entry to be movedPortalException
public BlogsEntry moveEntryToTrash(long userId, long entryId) throws PortalException
moveEntryToTrash
in interface BlogsEntryLocalService
userId
- the primary key of the user moving the blogs entryentryId
- the primary key of the blogs entry to be movedPortalException
public BlogsEntry restoreEntryFromTrash(long userId, long entryId) throws PortalException
restoreEntryFromTrash
in interface BlogsEntryLocalService
userId
- the primary key of the user restoring the blogs entryentryId
- the primary key of the blogs entry to be restoredPortalException
public void subscribe(long userId, long groupId) throws PortalException
subscribe
in interface BlogsEntryLocalService
PortalException
public void unsubscribe(long userId, long groupId) throws PortalException
unsubscribe
in interface BlogsEntryLocalService
PortalException
public void updateAsset(long userId, BlogsEntry entry, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) throws PortalException
updateAsset
in interface BlogsEntryLocalService
PortalException
public BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
updateBlogsEntry
in interface BlogsEntryLocalService
blogsEntry
- the blogs entrypublic BlogsEntry updateEntry(long userId, long entryId, String title, String content, ServiceContext serviceContext) throws PortalException
updateEntry
in interface BlogsEntryLocalService
PortalException
@Deprecated public BlogsEntry updateEntry(long userId, long entryId, String title, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, boolean smallImage, String smallImageURL, String smallImageFileName, InputStream smallImageInputStream, ServiceContext serviceContext) throws PortalException
updateEntry(long, long, String, String, String, String, int,
int, int, int, int, boolean, boolean, String[], String,
ImageSelector, ImageSelector, ServiceContext)
updateEntry
in interface BlogsEntryLocalService
PortalException
public BlogsEntry updateEntry(long userId, long entryId, String title, String subtitle, String description, String content, Date displayDate, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, ImageSelector coverImageImageSelector, ImageSelector smallImageImageSelector, ServiceContext serviceContext) throws PortalException
updateEntry
in interface BlogsEntryLocalService
PortalException
public BlogsEntry updateEntry(long userId, long entryId, String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, ImageSelector coverImageImageSelector, ImageSelector smallImageImageSelector, ServiceContext serviceContext) throws PortalException
updateEntry
in interface BlogsEntryLocalService
PortalException
public void updateEntryResources(BlogsEntry entry, ModelPermissions modelPermissions) throws PortalException
updateEntryResources
in interface BlogsEntryLocalService
PortalException
public void updateEntryResources(BlogsEntry entry, String[] groupPermissions, String[] guestPermissions) throws PortalException
updateEntryResources
in interface BlogsEntryLocalService
PortalException
@Deprecated public BlogsEntry updateStatus(long userId, long entryId, int status, ServiceContext serviceContext) throws PortalException
updateStatus(long, long, int, ServiceContext, Map)
updateStatus
in interface BlogsEntryLocalService
PortalException
public BlogsEntry updateStatus(long userId, long entryId, int status, ServiceContext serviceContext, Map<String,Serializable> workflowContext) throws PortalException
updateStatus
in interface BlogsEntryLocalService
PortalException
public BlogsEntryLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<BlogsEntryLocalService>
public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService)
setWrappedService
in interface ServiceWrapper<BlogsEntryLocalService>