|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.blogs.service.BlogsEntryLocalServiceWrapper
@ProviderType public class BlogsEntryLocalServiceWrapper
Provides a wrapper for BlogsEntryLocalService.
BlogsEntryLocalService| Constructor Summary | |
|---|---|
BlogsEntryLocalServiceWrapper(BlogsEntryLocalService blogsEntryLocalService)
|
|
| Method Summary | ||
|---|---|---|
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 7.0.0, 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()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
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. As of 7.0.0, replaced by updateEntry(long, long,
String, String, String, String, int, int, int, int, int,
boolean, boolean, String[], String, ImageSelector,
ImageSelector, ServiceContext) |
|
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 7.0.0, replaced by updateStatus(long, long,
int, ServiceContext, Map) |
|
BlogsEntry |
updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlogsEntryLocalServiceWrapper(BlogsEntryLocalService blogsEntryLocalService)
| Method Detail |
|---|
public Folder addAttachmentsFolder(long userId,
long groupId)
throws PortalException
addAttachmentsFolder in interface BlogsEntryLocalServicePortalExceptionpublic BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
addBlogsEntry in interface BlogsEntryLocalServiceblogsEntry - the blogs entry
public void addCoverImage(long entryId,
ImageSelector imageSelector)
throws PortalException
addCoverImage in interface BlogsEntryLocalServicePortalException
public BlogsEntry addEntry(long userId,
String title,
String content,
Date displayDate,
ServiceContext serviceContext)
throws PortalException
addEntry in interface BlogsEntryLocalServicePortalException
public BlogsEntry addEntry(long userId,
String title,
String content,
ServiceContext serviceContext)
throws PortalException
addEntry in interface BlogsEntryLocalServicePortalException
@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 BlogsEntryLocalServicePortalException
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 BlogsEntryLocalServicePortalException
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 BlogsEntryLocalServicePortalException
public void addEntryResources(BlogsEntry entry,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addEntryResources in interface BlogsEntryLocalServicePortalException
public void addEntryResources(BlogsEntry entry,
ModelPermissions modelPermissions)
throws PortalException
addEntryResources in interface BlogsEntryLocalServicePortalException
public void addEntryResources(long entryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addEntryResources in interface BlogsEntryLocalServicePortalException
public void addEntryResources(long entryId,
ModelPermissions modelPermissions)
throws PortalException
addEntryResources in interface BlogsEntryLocalServicePortalException
public long addOriginalImageFileEntry(long userId,
long groupId,
long entryId,
ImageSelector imageSelector)
throws PortalException
addOriginalImageFileEntry in interface BlogsEntryLocalServicePortalException
public void addSmallImage(long entryId,
ImageSelector imageSelector)
throws PortalException
addSmallImage in interface BlogsEntryLocalServicePortalException
public void checkEntries()
throws PortalException
checkEntries in interface BlogsEntryLocalServicePortalExceptionpublic BlogsEntry createBlogsEntry(long entryId)
createBlogsEntry in interface BlogsEntryLocalServiceentryId - the primary key for the new blogs entry
public BlogsEntry deleteBlogsEntry(BlogsEntry blogsEntry)
deleteBlogsEntry in interface BlogsEntryLocalServiceblogsEntry - the blogs entry
public BlogsEntry deleteBlogsEntry(long entryId)
throws PortalException
deleteBlogsEntry in interface BlogsEntryLocalServiceentryId - the primary key of the blogs entry
PortalException - if a blogs entry with the primary key could not be found
public void deleteEntries(long groupId)
throws PortalException
deleteEntries in interface BlogsEntryLocalServicePortalException
public BlogsEntry deleteEntry(BlogsEntry entry)
throws PortalException
deleteEntry in interface BlogsEntryLocalServicePortalException
public void deleteEntry(long entryId)
throws PortalException
deleteEntry in interface BlogsEntryLocalServicePortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface BlogsEntryLocalServicePortalExceptionpublic DynamicQuery dynamicQuery()
dynamicQuery in interface BlogsEntryLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface BlogsEntryLocalServicedynamicQuery - the dynamic query
public <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 com.liferay.portlet.blogs.model.impl.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)
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 com.liferay.portlet.blogs.model.impl.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)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface BlogsEntryLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface BlogsEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public Folder fetchAttachmentsFolder(long userId,
long groupId)
fetchAttachmentsFolder in interface BlogsEntryLocalServicepublic BlogsEntry fetchBlogsEntry(long entryId)
fetchBlogsEntry in interface BlogsEntryLocalService
public BlogsEntry fetchBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
fetchBlogsEntryByUuidAndGroupId in interface BlogsEntryLocalServiceuuid - the blogs entry's UUIDgroupId - the primary key of the group
null 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 com.liferay.portlet.blogs.model.impl.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)
public List<BlogsEntry> getBlogsEntriesByUuidAndCompanyId(String uuid,
long companyId)
getBlogsEntriesByUuidAndCompanyId in interface BlogsEntryLocalServiceuuid - the UUID of the blogs entriescompanyId - the primary key of the company
public List<BlogsEntry> getBlogsEntriesByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<BlogsEntry> orderByComparator)
getBlogsEntriesByUuidAndCompanyId in interface BlogsEntryLocalServiceuuid - 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 BlogsEntryLocalServiceentryId - the primary key of the blogs entry
PortalException - if a blogs entry with the primary key could not be found
public BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
throws PortalException
getBlogsEntryByUuidAndGroupId in interface BlogsEntryLocalServiceuuid - the blogs entry's UUIDgroupId - the primary key of the group
PortalException - if a matching blogs entry could not be found
public 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 BlogsEntryLocalServicePortalException
public BlogsEntry getEntry(long entryId)
throws PortalException
getEntry in interface BlogsEntryLocalServicePortalException
public BlogsEntry getEntry(long groupId,
String urlTitle)
throws PortalException
getEntry in interface BlogsEntryLocalServicePortalExceptionpublic 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> 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 List<BlogsEntry> getGroupsEntries(long companyId,
long groupId,
Date displayDate,
QueryDefinition<BlogsEntry> queryDefinition)
getGroupsEntries in interface BlogsEntryLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface BlogsEntryLocalServicepublic List<BlogsEntry> getNoAssetEntries()
getNoAssetEntries in interface BlogsEntryLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier 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 PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface BlogsEntryLocalServicePortalException
public void moveEntriesToTrash(long groupId,
long userId)
throws PortalException
moveEntriesToTrash in interface BlogsEntryLocalServicePortalException
public BlogsEntry moveEntryToTrash(long userId,
BlogsEntry entry)
throws PortalException
moveEntryToTrash in interface BlogsEntryLocalServiceuserId - the primary key of the user moving the blogs entryentry - the blogs entry to be moved
PortalException
public BlogsEntry moveEntryToTrash(long userId,
long entryId)
throws PortalException
moveEntryToTrash in interface BlogsEntryLocalServiceuserId - the primary key of the user moving the blogs entryentryId - the primary key of the blogs entry to be moved
PortalException
public BlogsEntry restoreEntryFromTrash(long userId,
long entryId)
throws PortalException
restoreEntryFromTrash in interface BlogsEntryLocalServiceuserId - the primary key of the user restoring the blogs entryentryId - the primary key of the blogs entry to be restored
PortalException
public void subscribe(long userId,
long groupId)
throws PortalException
subscribe in interface BlogsEntryLocalServicePortalException
public void unsubscribe(long userId,
long groupId)
throws PortalException
unsubscribe in interface BlogsEntryLocalServicePortalException
public void updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds,
Double priority)
throws PortalException
updateAsset in interface BlogsEntryLocalServicePortalExceptionpublic BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
updateBlogsEntry in interface BlogsEntryLocalServiceblogsEntry - the blogs entry
public BlogsEntry updateEntry(long userId,
long entryId,
String title,
String content,
ServiceContext serviceContext)
throws PortalException
updateEntry in interface BlogsEntryLocalServicePortalException
@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 BlogsEntryLocalServicePortalException
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 BlogsEntryLocalServicePortalException
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 BlogsEntryLocalServicePortalException
public void updateEntryResources(BlogsEntry entry,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException
updateEntryResources in interface BlogsEntryLocalServicePortalException
public void updateEntryResources(BlogsEntry entry,
ModelPermissions modelPermissions)
throws PortalException
updateEntryResources in interface BlogsEntryLocalServicePortalException
@Deprecated
public BlogsEntry updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext)
throws PortalException
updateStatus(long, long,
int, ServiceContext, Map)
updateStatus in interface BlogsEntryLocalServicePortalException
public BlogsEntry updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
throws PortalException
updateStatus in interface BlogsEntryLocalServicePortalExceptionpublic BlogsEntryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<BlogsEntryLocalService>public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService)
setWrappedService in interface ServiceWrapper<BlogsEntryLocalService>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||