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,
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,
ServiceContext serviceContext) |
public static MicroblogsEntry addMicroblogsEntry(long userId, java.lang.String content, int type, long parentMicroblogsEntryId, int socialRelationType, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static MicroblogsEntry deleteMicroblogsEntry(long microblogsEntryId) throws PortalException
PortalExceptionpublic static java.util.List<MicroblogsEntry> getMicroblogsEntries(int start, int end) throws PortalException
PortalExceptionpublic static java.util.List<MicroblogsEntry> getMicroblogsEntries(java.lang.String assetTagName, int start, int end) throws PortalException
PortalExceptionpublic static int getMicroblogsEntriesCount()
throws PortalException
PortalExceptionpublic static int getMicroblogsEntriesCount(java.lang.String assetTagName)
throws PortalException
PortalExceptionpublic static MicroblogsEntry getMicroblogsEntry(long microblogsEntryId) throws PortalException
PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<MicroblogsEntry> getUserMicroblogsEntries(long microblogsEntryUserId, int start, int end) throws PortalException
PortalExceptionpublic static java.util.List<MicroblogsEntry> getUserMicroblogsEntries(long microblogsEntryUserId, int type, int start, int end) throws PortalException
PortalExceptionpublic static int getUserMicroblogsEntriesCount(long microblogsEntryUserId)
throws PortalException
PortalExceptionpublic static int getUserMicroblogsEntriesCount(long microblogsEntryUserId,
int type)
throws PortalException
PortalExceptionpublic static MicroblogsEntry updateMicroblogsEntry(long microblogsEntryId, java.lang.String content, int socialRelationType, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static MicroblogsEntryService getService()