Class MBSuspiciousActivityServiceUtil

java.lang.Object
com.liferay.message.boards.service.MBSuspiciousActivityServiceUtil

public class MBSuspiciousActivityServiceUtil extends Object
Provides the remote service utility for MBSuspiciousActivity. This utility wraps com.liferay.message.boards.service.impl.MBSuspiciousActivityServiceImpl 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

    • MBSuspiciousActivityServiceUtil

      public MBSuspiciousActivityServiceUtil()
  • Method Details

    • addOrUpdateMessageSuspiciousActivity

      public static MBSuspiciousActivity addOrUpdateMessageSuspiciousActivity(long messageId, String reason) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateThreadSuspiciousActivity

      public static MBSuspiciousActivity addOrUpdateThreadSuspiciousActivity(long threadId, String reason) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteSuspiciousActivity

      public static MBSuspiciousActivity deleteSuspiciousActivity(long suspiciousActivityId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getMessageSuspiciousActivities

      public static List<MBSuspiciousActivity> getMessageSuspiciousActivities(long messageId)
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getSuspiciousActivity

      public static MBSuspiciousActivity getSuspiciousActivity(long suspiciousActivityId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getThreadSuspiciousActivities

      public static List<MBSuspiciousActivity> getThreadSuspiciousActivities(long threadId)
    • updateValidated

      public static MBSuspiciousActivity updateValidated(long suspiciousActivityId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static MBSuspiciousActivityService getService()