@ProviderType
public class MBBanServiceUtil
extends java.lang.Object
com.liferay.portlet.messageboards.service.impl.MBBanServiceImpl and is the
primary 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,
com.liferay.portlet.messageboards.service.base.MBBanServiceBaseImpl,
com.liferay.portlet.messageboards.service.impl.MBBanServiceImpl| 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 java.lang.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 java.lang.String getOSGiServiceIdentifier()
public static MBBanService getService()