Class MicroblogsEntryServiceUtil

java.lang.Object
com.liferay.microblogs.service.MicroblogsEntryServiceUtil

public class MicroblogsEntryServiceUtil extends Object
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 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

      public static String 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

      public static MicroblogsEntryService getService()