public class MBBanServiceUtil
extends java.lang.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 java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static MBBanService |
getService() |
public static MBBan addBan(long banUserId, ServiceContext serviceContext) throws PortalException
PortalException
public static void deleteBan(long banUserId, ServiceContext serviceContext) throws PortalException
PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static MBBanService getService()