public class MicroblogsEntryServiceUtil
extends java.lang.Object
com.liferay.microblogs.service.impl.MicroblogsEntryServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.MicroblogsEntryService| Constructor and Description |
|---|
MicroblogsEntryServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static MicroblogsEntry |
addMicroblogsEntry(long userId,
java.lang.String content,
int type,
long parentMicroblogsEntryId,
int socialRelationType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static MicroblogsEntry |
deleteMicroblogsEntry(long microblogsEntryId) |
static java.util.List<MicroblogsEntry> |
getMicroblogsEntries(int start,
int end) |
static java.util.List<MicroblogsEntry> |
getMicroblogsEntries(java.lang.String assetTagName,
int start,
int end) |
static int |
getMicroblogsEntriesCount() |
static int |
getMicroblogsEntriesCount(java.lang.String assetTagName) |
static MicroblogsEntry |
getMicroblogsEntry(long microblogsEntryId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static MicroblogsEntryService |
getService() |
static java.util.List<MicroblogsEntry> |
getUserMicroblogsEntries(long microblogsEntryUserId,
int start,
int end) |
static java.util.List<MicroblogsEntry> |
getUserMicroblogsEntries(long microblogsEntryUserId,
int type,
int start,
int end) |
static int |
getUserMicroblogsEntriesCount(long microblogsEntryUserId) |
static int |
getUserMicroblogsEntriesCount(long microblogsEntryUserId,
int type) |
static MicroblogsEntry |
updateMicroblogsEntry(long microblogsEntryId,
java.lang.String content,
int socialRelationType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static MicroblogsEntry addMicroblogsEntry(long userId, java.lang.String content, int type, long parentMicroblogsEntryId, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static MicroblogsEntry deleteMicroblogsEntry(long microblogsEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<MicroblogsEntry> getMicroblogsEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<MicroblogsEntry> getMicroblogsEntries(java.lang.String assetTagName, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getMicroblogsEntriesCount()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getMicroblogsEntriesCount(java.lang.String assetTagName)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static MicroblogsEntry getMicroblogsEntry(long microblogsEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<MicroblogsEntry> getUserMicroblogsEntries(long microblogsEntryUserId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<MicroblogsEntry> getUserMicroblogsEntries(long microblogsEntryUserId, int type, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getUserMicroblogsEntriesCount(long microblogsEntryUserId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getUserMicroblogsEntriesCount(long microblogsEntryUserId,
int type)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static MicroblogsEntry updateMicroblogsEntry(long microblogsEntryId, java.lang.String content, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static MicroblogsEntryService getService()