Package com.liferay.microblogs.service
Class MicroblogsEntryServiceUtil
java.lang.Object
com.liferay.microblogs.service.MicroblogsEntryServiceUtil
Provides the remote service utility for MicroblogsEntry. This utility wraps
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MicroblogsEntryaddMicroblogsEntry(long userId, String content, int type, long parentMicroblogsEntryId, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static MicroblogsEntrydeleteMicroblogsEntry(long microblogsEntryId) static List<MicroblogsEntry>getMicroblogsEntries(int start, int end) static List<MicroblogsEntry>getMicroblogsEntries(String assetTagName, int start, int end) static intstatic intgetMicroblogsEntriesCount(String assetTagName) static MicroblogsEntrygetMicroblogsEntry(long microblogsEntryId) static StringReturns the OSGi service identifier.static MicroblogsEntryServicestatic List<MicroblogsEntry>getUserMicroblogsEntries(long microblogsEntryUserId, int start, int end) static List<MicroblogsEntry>getUserMicroblogsEntries(long microblogsEntryUserId, int type, int start, int end) static intgetUserMicroblogsEntriesCount(long microblogsEntryUserId) static intgetUserMicroblogsEntriesCount(long microblogsEntryUserId, int type) static MicroblogsEntryupdateMicroblogsEntry(long microblogsEntryId, String content, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
MicroblogsEntryServiceUtil
public MicroblogsEntryServiceUtil()
-
-
Method Details
-
addMicroblogsEntry
public static 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
public static MicroblogsEntry deleteMicroblogsEntry(long microblogsEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMicroblogsEntries
public static List<MicroblogsEntry> getMicroblogsEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMicroblogsEntries
public static List<MicroblogsEntry> getMicroblogsEntries(String assetTagName, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMicroblogsEntriesCount
public static int getMicroblogsEntriesCount() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMicroblogsEntriesCount
public static int getMicroblogsEntriesCount(String assetTagName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMicroblogsEntry
public static MicroblogsEntry getMicroblogsEntry(long microblogsEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getUserMicroblogsEntries
public static List<MicroblogsEntry> getUserMicroblogsEntries(long microblogsEntryUserId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserMicroblogsEntries
public static 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
public static int getUserMicroblogsEntriesCount(long microblogsEntryUserId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserMicroblogsEntriesCount
public static int getUserMicroblogsEntriesCount(long microblogsEntryUserId, int type) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateMicroblogsEntry
public static 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
-
getService
-