com.liferay.portlet.blogs.service
Interface BlogsEntryLocalService
- All Known Implementing Classes:
- BlogsEntryLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface BlogsEntryLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
BlogsEntryLocalServiceUtil
- Generated:
Method Summary |
BlogsEntry |
addBlogsEntry(BlogsEntry blogsEntry)
|
BlogsEntry |
addEntry(java.lang.String uuid,
long userId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
|
void |
addEntryResources(BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(long entryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
BlogsEntry |
createBlogsEntry(long entryId)
|
void |
deleteBlogsEntry(BlogsEntry blogsEntry)
|
void |
deleteBlogsEntry(long entryId)
|
void |
deleteEntries(long groupId)
|
void |
deleteEntry(BlogsEntry entry)
|
void |
deleteEntry(long entryId)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List<BlogsEntry> |
getBlogsEntries(int start,
int end)
|
int |
getBlogsEntriesCount()
|
BlogsEntry |
getBlogsEntry(long entryId)
|
java.util.List<BlogsEntry> |
getCompanyEntries(long companyId,
int status,
int start,
int end)
|
java.util.List<BlogsEntry> |
getCompanyEntries(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getCompanyEntriesCount(long companyId,
int status)
|
BlogsEntry[] |
getEntriesPrevAndNext(long entryId)
|
BlogsEntry |
getEntry(long entryId)
|
BlogsEntry |
getEntry(long groupId,
java.lang.String urlTitle)
|
java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end)
|
java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupEntriesCount(long groupId,
int status)
|
java.util.List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end)
|
java.util.List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupUserEntriesCount(long groupId,
long userId,
int status)
|
java.util.List<BlogsEntry> |
getNoAssetEntries()
|
java.util.List<BlogsEntry> |
getOrganizationEntries(long organizationId,
int status,
int start,
int end)
|
int |
getOrganizationEntriesCount(long organizationId,
int status)
|
void |
updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
|
BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry)
|
BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry,
boolean merge)
|
BlogsEntry |
updateEntry(long userId,
long entryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
|
void |
updateEntryResources(BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
BlogsEntry |
updateWorkflowStatus(long userId,
long entryId,
java.lang.String[] trackbacks,
boolean pingOldTrackbaks,
ServiceContext serviceContext)
|
addBlogsEntry
BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createBlogsEntry
BlogsEntry createBlogsEntry(long entryId)
deleteBlogsEntry
void deleteBlogsEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteBlogsEntry
void deleteBlogsEntry(BlogsEntry blogsEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getBlogsEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
BlogsEntry getBlogsEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getBlogsEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getBlogsEntries(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getBlogsEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getBlogsEntriesCount()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateBlogsEntry
BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateBlogsEntry
BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addEntry
BlogsEntry addEntry(java.lang.String uuid,
long userId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addEntryResources
void addEntryResources(BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addEntryResources
void addEntryResources(BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addEntryResources
void addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addEntryResources
void addEntryResources(long entryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteEntries
void deleteEntries(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteEntry
void deleteEntry(BlogsEntry entry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteEntry
void deleteEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCompanyEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getCompanyEntries(long companyId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getCompanyEntries(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCompanyEntriesCount(long companyId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEntriesPrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
BlogsEntry[] getEntriesPrevAndNext(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
BlogsEntry getEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
BlogsEntry getEntry(long groupId,
java.lang.String urlTitle)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getGroupEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getGroupEntriesCount(long groupId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupUserEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupUserEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupUserEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getGroupUserEntriesCount(long groupId,
long userId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getNoAssetEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getNoAssetEntries()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getOrganizationEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getOrganizationEntries(long organizationId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getOrganizationEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getOrganizationEntriesCount(long organizationId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAsset
void updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateEntry
BlogsEntry updateEntry(long userId,
long entryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateEntryResources
void updateEntryResources(BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateWorkflowStatus
BlogsEntry updateWorkflowStatus(long userId,
long entryId,
java.lang.String[] trackbacks,
boolean pingOldTrackbaks,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException