Package com.liferay.microblogs.service
Interface MicroblogsEntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
MicroblogsEntryServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface MicroblogsEntryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for MicroblogsEntry. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddMicroblogsEntry
(long userId, String content, int type, long parentMicroblogsEntryId, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteMicroblogsEntry
(long microblogsEntryId) getMicroblogsEntries
(int start, int end) getMicroblogsEntries
(String assetTagName, int start, int end) int
int
getMicroblogsEntriesCount
(String assetTagName) getMicroblogsEntry
(long microblogsEntryId) Returns the OSGi service identifier.getUserMicroblogsEntries
(long microblogsEntryUserId, int start, int end) getUserMicroblogsEntries
(long microblogsEntryUserId, int type, int start, int end) int
getUserMicroblogsEntriesCount
(long microblogsEntryUserId) int
getUserMicroblogsEntriesCount
(long microblogsEntryUserId, int type) updateMicroblogsEntry
(long microblogsEntryId, String content, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addMicroblogsEntry
MicroblogsEntry addMicroblogsEntry(long userId, String content, int type, long parentMicroblogsEntryId, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteMicroblogsEntry
MicroblogsEntry deleteMicroblogsEntry(long microblogsEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMicroblogsEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<MicroblogsEntry> getMicroblogsEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMicroblogsEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<MicroblogsEntry> getMicroblogsEntries(String assetTagName, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMicroblogsEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getMicroblogsEntriesCount() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMicroblogsEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getMicroblogsEntriesCount(String assetTagName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMicroblogsEntry
@Transactional(propagation=SUPPORTS, readOnly=true) MicroblogsEntry getMicroblogsEntry(long microblogsEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getUserMicroblogsEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<MicroblogsEntry> getUserMicroblogsEntries(long microblogsEntryUserId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserMicroblogsEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<MicroblogsEntry> getUserMicroblogsEntries(long microblogsEntryUserId, int type, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserMicroblogsEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getUserMicroblogsEntriesCount(long microblogsEntryUserId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserMicroblogsEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getUserMicroblogsEntriesCount(long microblogsEntryUserId, int type) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateMicroblogsEntry
MicroblogsEntry updateMicroblogsEntry(long microblogsEntryId, String content, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-