Class MBSuspiciousActivityServiceUtil
java.lang.Object
com.liferay.message.boards.service.MBSuspiciousActivityServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MBSuspiciousActivity
addOrUpdateMessageSuspiciousActivity
(long messageId, String reason) static MBSuspiciousActivity
addOrUpdateThreadSuspiciousActivity
(long threadId, String reason) static MBSuspiciousActivity
deleteSuspiciousActivity
(long suspiciousActivityId) static List<MBSuspiciousActivity>
getMessageSuspiciousActivities
(long messageId) static String
Returns the OSGi service identifier.static MBSuspiciousActivityService
static MBSuspiciousActivity
getSuspiciousActivity
(long suspiciousActivityId) static List<MBSuspiciousActivity>
getThreadSuspiciousActivities
(long threadId) static MBSuspiciousActivity
updateValidated
(long suspiciousActivityId)
-
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
-
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
-
updateValidated
public static MBSuspiciousActivity updateValidated(long suspiciousActivityId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-