@ProviderType
public class MBBanServiceUtil
extends Object
com.liferay.portlet.messageboards.service.impl.MBBanServiceImpl 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.MBBanService| Constructor and Description |
|---|
MBBanServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static MBBan |
addBan(long banUserId,
ServiceContext serviceContext) |
static void |
deleteBan(long banUserId,
ServiceContext serviceContext) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static MBBanService |
getService() |
public static MBBan addBan(long banUserId, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteBan(long banUserId,
ServiceContext serviceContext)
throws PortalException
PortalExceptionpublic static String getOSGiServiceIdentifier()
public static MBBanService getService()