com.liferay.portlet.blogs.service
Interface BlogsEntryService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface BlogsEntryService
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.BlogsEntryServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
BlogsEntryServiceUtil
Method Summary |
BlogsEntry |
addEntry(java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
|
void |
deleteEntry(long entryId)
|
java.util.List<BlogsEntry> |
getCompanyEntries(long companyId,
int max)
|
java.lang.String |
getCompanyEntriesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
|
BlogsEntry |
getEntry(long entryId)
|
BlogsEntry |
getEntry(long groupId,
java.lang.String urlTitle)
|
java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
int max)
|
java.lang.String |
getGroupEntriesRSS(long groupId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
|
java.util.List<BlogsEntry> |
getOrganizationEntries(long organizationId,
int max)
|
java.lang.String |
getOrganizationEntriesRSS(long organizationId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
|
BlogsEntry |
updateEntry(long entryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
|
addEntry
BlogsEntry addEntry(java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEntry
void deleteEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanyEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getCompanyEntries(long companyId,
int max)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanyEntriesRSS
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String getCompanyEntriesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
BlogsEntry getEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
BlogsEntry getEntry(long groupId,
java.lang.String urlTitle)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getGroupEntries(long groupId,
int max)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupEntriesRSS
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String getGroupEntriesRSS(long groupId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getOrganizationEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BlogsEntry> getOrganizationEntries(long organizationId,
int max)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getOrganizationEntriesRSS
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String getOrganizationEntriesRSS(long organizationId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateEntry
BlogsEntry updateEntry(long entryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException